Home | History | Annotate | Download | only in netperf

Lines Matching refs:remote

34 /*	rem_cpu_rate()		find the remote cpu maxrate	*/
162 rss_size_req = -1, /* requested remote socket send buffer size */
163 rsr_size_req = -1, /* requested remote socket recv buffer size */
164 rss_size, /* remote socket send buffer size */
165 rsr_size, /* remote socket recv buffer size */
198 remote_connected = 0; /* remote socket type, connected/non-connected */
337 twice the remote's SO_RCVBUF or twice our SO_SNDBUF */ \
434 -P local[,remote] Set the local/remote port for the data socket\n\
437 -S send[,recv] Set remote socket send/recv buffer sizes\n\
722 complete_addrinfos(struct addrinfo **remote,struct addrinfo **local, char remote_host[], int type, int protocol, int flags) {
724 *remote = complete_addrinfo(remote_host,
734 the remote data family info (test-specific -H or -4 or -6
735 option). if the user has not specified remote data addressing
763 (AF_INET6 == (*remote)->ai_family))) {
1272 Size Size Size Time Throughput local remote local remote\n\
1283 Local Remote Local Remote Xfered Per Per\n\
1346 /* protocols and such, we are passed the name of the remote host and */
1445 /* Tell the remote end to do a listen. The server alters the
1449 they will be passed as 0, which will indicate to the remote
1484 /* The response from the remote will contain all of the relevant
1487 The remote will have calibrated CPU if necessary, and will
1490 counter value right after the connect returns. The remote
1499 fprintf(where,"remote listen done.\n");
1517 "netperf: remote error %d",
1530 /*Connect up to the remote port on the data socket */
1541 /* extra message after the accept on the remote. If it failed, */
1656 /* The test is over. Flush the buffers to the remote end. We do a */
1658 /* remote. */
1672 /* hang a recv() off the socket to block until the remote has */
1693 /* Get the statistics from the remote end. The remote will have
1701 fprintf(where,"remote results obtained\n");
1706 "netperf: remote error %d",
1716 measured by the remote, but it should be the case that for a
1806 /* local service demand, or the remote service demand. If the */
1855 rsr_size, /* remote recvbuf size */
1861 remote_cpu_utilization, /* remote cpu */
1863 remote_service_demand, /* remote service demand */
1887 rsr_size, /* remote recvbuf size */
1969 Size Size Size Time Throughput local remote local remote\n\
1980 Local Remote Local Remote Xfered Per Per\n\
2042 /* protocols and such, we are passed the name of the remote host and */
2140 /* Tell the remote end to do a listen. The server alters the
2144 they will be passed as 0, which will indicate to the remote
2179 /* The response from the remote will contain all of the relevant
2182 The remote will have calibrated CPU if necessary, and will
2185 counter value right after the connect returns. The remote
2194 fprintf(where,"remote listen done.\n");
2212 "netperf: remote error %d",
2225 /*Connect up to the remote port on the data socket */
2236 /* extra message after the accept on the remote. If it failed, */
2366 /* The test is over. Flush the buffers to the remote end. We do a
2367 graceful release to tell the remote we have all the data. */
2398 /* Get the statistics from the remote end. The remote will have
2406 fprintf(where,"remote results obtained\n");
2411 "netperf: remote error %d",
2421 measured by the remote, but it should be the case that for a
2512 /* local service demand, or the remote service demand. If the */
2561 rsr_size, /* remote recvbuf size */
2567 remote_cpu_utilization, /* remote cpu */
2569 remote_service_demand, /* remote service demand */
2678 Size Size Size Time Throughput local remote local remote\n\
2689 Local Remote Local Remote Xfered Per Per\n\
2760 /* protocols and such, we are passed the name of the remote host and */
2873 /* Tell the remote end to do a listen. The server alters the socket */
2877 /* will indicate to the remote that no changes beyond the system's */
2911 /* The response from the remote will contain all of the relevant */
2914 /* remote will have calibrated CPU if necessary, and will have done */
2917 /* after the connect returns. The remote will grab the counter right*/
2925 fprintf(where,"remote listen done.\n");
2942 "netperf: remote error %d",
2954 /*Connect up to the remote port on the data socket */
2965 /* extra message after the accept on the remote. If it failed, */
3127 /* The test is over. Flush the buffers to the remote end. We do a */
3129 /* remote. */
3143 /* hang a recv() off the socket to block until the remote has */
3163 /* Get the statistics from the remote end. The remote will have */
3170 fprintf(where,"remote results obtained\n");
3175 "netperf: remote error %d",
3185 /* the remote, but it should be the case that for a TCP stream test, */
3270 /* local service demand, or the remote service demand. If the */
3315 rsr_size, /* remote recvbuf size */
3321 remote_cpu_utilization, /* remote cpu */
3323 remote_service_demand); /* remote service demand */
3343 rsr_size, /* remote recvbuf size */
3425 logic and we even tell the remote to do a TCP_STREAM test since for
3448 Size Size Size Time Throughput local remote local remote\n\
3458 Local Remote Local Remote Xfered Per Per\n\
3537 /* protocols and such, we are passed the name of the remote host and */
3674 /* Tell the remote end to do a listen. The server alters the
3678 they will be passed as 0, which will indicate to the remote
3717 /* The response from the remote will contain all of the relevant
3720 The remote will have calibrated CPU if necessary, and will have
3723 value right after the connect returns. The remote will grab the
3731 fprintf(where,"remote listen done.\n");
3747 "netperf: remote error %d",
3759 /*Connect up to the remote port on the data socket */
3771 extra message after the accept on the remote. If it failed,
3937 /* The test is over. Flush the buffers to the remote end. We do a
3939 remote. */
3953 /* hang a recv() off the socket to block until the remote has */
3983 /* Get the statistics from the remote end. The remote will have */
3991 fprintf(where,"remote results obtained\n");
3997 "netperf: remote error %d",
4007 /* the remote, but it should be the case that for a TCP stream test, */
4092 /* local service demand, or the remote service demand. If the */
4141 rsr_size, /* remote recvbuf size */
4147 remote_cpu_utilization, /* remote cpu */
4149 remote_service_demand); /* remote service demand */
4176 rsr_size, /* remote recvbuf size */
4290 /* If anything goes wrong, we want the remote to know about it. It */
4291 /* would be best if the error that the remote reports to the user is */
4451 /* Let's just punt. The remote will be given some information */
4617 /* If anything goes wrong, we want the remote to know about it. It
4618 would be best if the error that the remote reports to the user is
4798 /* Let's just punt. The remote will be given some information */
4867 /* hang a recv() off the socket to block until the remote has
4930 Local /Remote\n\
4936 Local /Remote\n\
4950 Local /Remote\n\
4952 Send Recv Size Size Time Rate local remote local remote\n\
4956 Local /Remote\n\
4958 Send Recv Size Size Time %-8.8s local remote local remote\n\
4972 Local Remote Local Remote Latency Rate %-8.8s/s\n\
5046 /* protocols and such, we are passed the name of the remote host and */
5140 /* Tell the remote end to do a listen. The server alters the
5144 they will be passed as 0, which will indicate to the remote
5178 /* The response from the remote will contain all of the relevant
5181 The remote will have calibrated CPU if necessary, and will
5184 counter value right after the connect returns. The remote
5193 fprintf(where,"remote listen done.\n");
5205 "netperf: remote error %d",
5218 /*Connect up to the remote port on the data socket */
5230 /* message after the accept on the remote. If it failed, we'll see it */
5429 /* Get the statistics from the remote end. The remote will have
5436 fprintf(where,"remote results obtained\n");
5440 fprintf(where,"netperf: remote error %d",
5528 service demand, or the remote service demand. If the user has
5594 remote_cpu_utilization, /* remote cpu */
5596 remote_service_demand, /* remote service demand */
5649 rss_size, /* remote recvbuf size */
5791 /* protocols and such, we are passed the name of the remote host and */
5874 /* Tell the remote end to set up the data connection. The server
5900 fprintf(where,"send_udp_stream: remote data connection done.\n");
5904 perror("send_udp_stream: error on remote");
5908 /* Place the port number returned by the remote into the sockaddr */
5924 /* We "connect" up to the remote post to allow is to use the send */
6049 /* This is a timed test, so the remote will be returning to us after */
6051 /* the remote that the test is completed, unless we decide to add a */
6059 /* Get the statistics from the remote end */
6063 fprintf(where,"send_udp_stream: remote results obtained\n");
6067 perror("send_udp_stream: error on remote");
6084 /* we asume that the remote ran for as long as we did */
6111 /* the local netlib routines. The remote calcuations need to */
6179 /* local service demand, or the remote service demand. If the */
6237 remote_cpu_utilization, /* remote cpu */
6238 remote_service_demand); /* remote service demand */
6263 rsr_size, /* remote recvbuf size */
6332 /* If anything goes wrong, we want the remote to know about it. It */
6333 /* would be best if the error that the remote reports to the user is */
6486 /* We "connect" up to the remote post to allow us to use the recv */
6492 /* Receive the first message using recvfrom to find the remote address */
6508 /* Now connect with the remote socket address */
6618 Local /Remote\n\
6632 Local /Remote\n\
6634 Send Recv Size Size Time Rate local remote local remote\n\
6687 /* protocols and such, we are passed the name of the remote host and */
6771 /* Tell the remote end to do a listen. The server alters the
6775 they will be passed as 0, which will indicate to the remote
6808 /* The response from the remote will contain all of the relevant
6811 The remote will have calibrated CPU if necessary, and will
6814 counter value right after the connect returns. The remote
6823 fprintf(where,"remote listen done.\n");
6834 "netperf: remote error %d",
6846 /* Connect up to the remote port on the data socket. This will set */
6862 /* message after the accept on the remote. If it failed, we'll see it */
7007 /* Get the statistics from the remote end. The remote will have
7015 fprintf(where,"remote results obtained\n");
7020 "netperf: remote error %d",
7030 /* measured by the remote, but it should be the case that for a */
7120 /* local service demand, or the remote service demand. If the */
7171 remote_cpu_utilization, /* remote cpu */
7173 remote_service_demand); /* remote service demand */
7205 rss_size, /* remote recvbuf size */
7284 /* If anything goes wrong, we want the remote to know about it. It */
7285 /* would be best if the error that the remote reports to the user is */
7471 /* Now, send the response to the remote */
7602 /* If anything goes wrong, we want the remote to know about it. It */
7603 /* would be best if the error that the remote reports to the user is */
7631 /* at some point, these need to come to us from the remote system */
7754 /* Let's just punt. The remote will be given some information */
7848 /* Now, send the response to the remote */
7963 /* the remote system, so in this case, we do pay attention to the */
7972 "\nThere %s %d remote %s\n",
7993 Local /Remote\n\
8007 Local /Remote\n\
8009 Send Recv Size Size Time Rate local remote local remote\n\
8023 Local Remote Local Remote\n\
8074 /* protocols and such, we are passed the name of the remote host and */
8126 /* Tell the remote end to do a listen. The server alters the
8130 passed as 0, which will indicate to the remote that no changes
8164 /* The response from the remote will contain all of the relevant
8167 The remote will have calibrated CPU if necessary, and will have
8170 value right after the connect returns. The remote will grab the
8187 fprintf(where,"remote listen done.\n");
8188 fprintf(where,"remote port is %u\n",get_port_number(remote_res));
8195 "netperf: remote error %d",
8306 /* Connect up to the remote port on the data socket */
8385 otherwise the remote netserver does it to remain just like
8458 /* Get the statistics from the remote end. The remote will have
8465 fprintf(where,"remote results obtained\n");
8470 "netperf: remote error %d",
8481 /* the remote, but it should be the case that for a TCP stream test, */
8527 "Remote CPU usage numbers based on process information only!\n");
8546 /* local service demand, or the remote service demand. If the */
8585 remote_cpu_utilization, /* remote cpu */
8587 remote_service_demand); /* remote service demand */
8619 rss_size, /* remote recvbuf size */
8704 /* If anything goes wrong, we want the remote to know about it. It */
8705 /* would be best if the error that the remote reports to the user is */
8836 fprintf(where,"telling the remote to call me at %d\n",
8891 /* accept a connection from the remote */
8970 /* Now, send the response to the remote */
9074 Local /Remote\n\
9088 Local /Remote\n\
9090 Send Recv Size Size Time Rate local remote local remote\n\
9104 Local Remote Local Remote\n\
9157 /* protocols and such, we are passed the name of the remote host and */
9219 /* Tell the remote end to do a listen. The server alters the socket */
9223 /* will indicate to the remote that no changes beyond the system's */
9256 /* The response from the remote will contain all of the relevant */
9259 /* remote will have calibrated CPU if necessary, and will have done */
9262 /* after the connect returns. The remote will grab the counter right */
9278 fprintf(where,"remote listen done.\n");
9279 fprintf(where,"remote port is %d\n",ntohs(server.sin_port));
9286 "netperf: remote error %d",
9363 /* the remote netserver's port number. One thing that I might */
9364 /* try later is to have the remote actually allocate a couple of */
9425 /* Connect up to the remote port on the data socket. Since this is */
9507 /* Get the statistics from the remote end. The remote will have */
9514 fprintf(where,"remote results obtained\n");
9519 "netperf: remote error %d",
9528 /* the remote, but it should be the case that for a TCP stream test, */
9570 fprintf(where,"Remote CPU usage numbers based on process information only!\n");
9589 /* local service demand, or the remote service demand. If the */
9628 remote_cpu_utilization, /* remote cpu */
9630 remote_service_demand); /* remote service demand */
9662 rss_size, /* remote recvbuf size */
9746 /* If anything goes wrong, we want the remote to know about it. It */
9747 /* would be best if the error that the remote reports to the user is */
9923 fprintf(where,"telling the remote to call me at %d\n",
9978 /* accept a connection from the remote */
10056 /* Now, send the response to the remote we can use sendto here to */
10146 Local /Remote\n\
10160 Local /Remote\n\
10162 Send Recv Size Size Time Rate local remote local remote\n\
10176 Local Remote Local Remote\n\
10229 /* protocols and such, we are passed the name of the remote host and */
10316 /* Tell the remote end to do a listen. The server alters the socket */
10320 /* will indicate to the remote that no changes beyond the system's */
10351 /* The response from the remote will contain all of the relevant */
10354 /* remote will have calibrated CPU if necessary, and will have done */
10357 /* after the connect returns. The remote will grab the counter right*/
10365 fprintf(where,"remote listen done.\n");
10378 "netperf: remote error %d",
10385 /*Connect up to the remote port on the data socket */
10403 /* message after the accept on the remote. If it failed, we'll see it */
10546 /* Get the statistics from the remote end. The remote will have */
10553 fprintf(where,"remote results obtained\n");
10558 "netperf: remote error %d",
10646 /* local service demand, or the remote service demand. If the */
10697 remote_cpu_utilization, /* remote cpu */
10699 remote_service_demand); /* remote service demand */
10732 rss_size, /* remote recvbuf size */
10821 /* If anything goes wrong, we want the remote to know about it. It */
10822 /* would be best if the error that the remote reports to the user is */
10850 /* at some point, these need to come to us from the remote system */
10989 /* Let's just punt. The remote will be given some information */
11091 /* Now, send the response to the remote */
11181 Local /Remote\n\
11195 Local /Remote\n\
11197 Send Recv Size Size Time Rate local remote local remote\n\
11211 Local Remote Local Remote\n\
11259 /* protocols and such, we are passed the name of the remote host and */
11297 /* Tell the remote end to do a listen. The server alters the socket */
11301 /* will indicate to the remote that no changes beyond the system's */
11334 /* The response from the remote will contain all of the relevant */
11337 /* remote will have calibrated CPU if necessary, and will have done */
11340 /* after the connect returns. The remote will grab the counter right */
11356 fprintf(where,"remote listen done.\n");
11357 fprintf(where,"remote port is %d\n",get_port_number(remote_res));
11364 "netperf: remote error %d",
11473 /* Connect up to the remote port on the data socket */
11492 /* we hang in a recv() to get the remote's close indication */
11552 /* Get the statistics from the remote end. The remote will have */
11559 fprintf(where,"remote results obtained\n");
11564 "netperf: remote error %d",
11574 /* the remote, but it should be the case that for a TCP stream test, */
11616 fprintf(where,"Remote CPU usage numbers based on process information only!\n");
11635 /* local service demand, or the remote service demand. If the */
11674 remote_cpu_utilization, /* remote cpu */
11676 remote_service_demand); /* remote service demand */
11708 rss_size, /* remote recvbuf size */
11790 /* If anything goes wrong, we want the remote to know about it. It */
11791 /* would be best if the error that the remote reports to the user is */
11922 fprintf(where,"telling the remote to call me at %d\n",
11982 /* accept a connection from the remote */
12202 /* set remote socket sizes */
12230 /* set the remote socket type*/
12243 /* set the local and remote data port numbers for the tests to
12269 /* about the remote... */
12303 the user has not specified a remote adata address, we want to