Changes between Version 8 and Version 9 of PlasticSlices/Experiments
- Timestamp:
- 07/11/11 15:29:00 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PlasticSlices/Experiments
v8 v9 730 730 = SteadyPerfTCP = 731 731 732 This experiment uses the iperf command to send 1 GB of data via TCP, measuring performance throughout the transfer.732 This experiment uses the iperf command to send data via TCP, measuring performance throughout the transfer. Note that it doesn't allow you to directly control the rate at which data is sent. 733 733 734 734 == Setup == … … 777 777 {{{ 778 778 server=<ipaddr> 779 nice -n 19 iperf -c $server -p <port> -t 86400779 nice -n 19 iperf -c $server -p <port> -t <time> 780 780 }}} 781 781 … … 836 836 Identify a port that you'd like to use for the connection; call it <port>, and use it below when you run the iperf server and client commands. 837 837 838 Divide 10 00 by the number of host pairs you have (the number of rows in your table); call this number <size>, and use it below when you run the iperf client command. (This is how much data (in megabytes) each client will send to the server.)839 840 Decide how fast you'd like to send data (in megabits per second); call this number <rate>, and use it below when you run the iperf client command.838 Divide 10 (megabits per second) by the number of host pairs you have (the number of rows in your table); call this number <rate>, and use it below when you run the iperf client command. (You may want to round up to the nearest integer for simplicity.) 839 840 Decide how long (in seconds) you'd like to transfer data for; call that <time>, and use it below when you run the iperf server and client commands. 841 841 842 842 On each client and server, install iperf: … … 868 868 {{{ 869 869 server=<ipaddr> 870 nice -n 19 iperf -u -c $server -p <port> - n <size>M-b <rate>M871 }}} 872 873 using the "server=<ipaddr>" line from your table, and the <port>, < size>, and <rate> values you identified earlier. That should print a few lines on your terminal immediately, including ones like870 nice -n 19 iperf -u -c $server -p <port> -t <time> -b <rate>M 871 }}} 872 873 using the "server=<ipaddr>" line from your table, and the <port>, <time>, and <rate> values you identified earlier. That should print a few lines on your terminal immediately, including ones like 874 874 875 875 {{{