Skip to content

Commit ac01688

Browse files
authored
Update Readme with introducing new features.
1 parent ba82145 commit ac01688

File tree

1 file changed

+36
-30
lines changed

1 file changed

+36
-30
lines changed

README.md

Lines changed: 36 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,20 @@ A multiple-thread based Linux network throughput benchmark tool.
1414

1515
* Support Sender and Receiver sync mode by default. Use "-N" (no_sync) to disable the sync.
1616

17+
* Support testing with multiple clients mode (use '-M' on Receiver, and '-L' on the last Sender).
18+
19+
* Support select() by default, and epoll() (use '-e' on Receiver).
20+
21+
* Support both TCP (by default), and UDP ('-u') tests.
22+
23+
* Support pin TCP server or client port (use '-p' on Receiver or '-f' on Sender).
24+
25+
* Support test Warmup ('-W') and Cooldown ('-C').
26+
27+
* Support reporting TCP retransmit ('-R').
28+
29+
* Support writing log into XML file ('-x').
30+
1731

1832
## Getting Started
1933

@@ -51,38 +65,30 @@ Using the above parameters, the program returns results on both the sender and r
5165
Example receiver-side output from a given run (which showcases 37.66 Gbps throughput):
5266

5367
```
54-
NODE1:/home/simonxiao/ntttcp-for-linux/src # ./ntttcp -r
55-
NTTTCP for Linux 1.1.0
56-
---------------------------------------------------------
57-
13:44:25 INFO: Network activity progressing...
58-
13:45:25 INFO: Thread Time(s) Throughput
59-
13:45:25 INFO: ====== ======= ==========
60-
13:45:25 INFO: 0 60.00 1.83Gbps
61-
13:45:25 INFO: 1 60.00 2.51Gbps
62-
13:45:25 INFO: 2 60.00 2.54Gbps
63-
13:45:25 INFO: 3 60.00 1.94Gbps
64-
13:45:25 INFO: 4 60.00 1.93Gbps
65-
13:45:25 INFO: 5 60.00 2.09Gbps
66-
13:45:25 INFO: 6 60.00 2.15Gbps
67-
13:45:25 INFO: 7 60.00 3.23Gbps
68-
13:45:25 INFO: 8 60.00 1.77Gbps
69-
13:45:25 INFO: 9 60.00 3.30Gbps
70-
13:45:25 INFO: 10 60.00 2.97Gbps
71-
13:45:25 INFO: 11 60.00 3.65Gbps
72-
13:45:25 INFO: 12 60.00 1.67Gbps
73-
13:45:25 INFO: 13 60.00 1.86Gbps
74-
13:45:25 INFO: 14 60.00 1.61Gbps
75-
13:45:25 INFO: 15 60.00 2.61Gbps
68+
NODE1:/home/simonxiaoss/ntttcp-for-linux/src # ./ntttcp -s 10.0.0.1 -W 1 -t 10 -C 1
69+
NTTTCP for Linux 1.3.4
7670
---------------------------------------------------------
77-
13:45:25 INFO: test duration :60.00 seconds
78-
13:45:25 INFO: total bytes :282418471264
79-
13:45:25 INFO: throughput :37.66Gbps
80-
13:45:25 INFO: total cpu time :166.11%
81-
13:45:25 INFO: user time :39.89%
82-
13:45:25 INFO: system time :126.23%
83-
13:45:25 INFO: cpu cycles :192000045567
84-
13:45:25 INFO: cycles/byte :0.68
71+
22:36:30 INFO: Network activity progressing...
72+
22:36:30 INFO: 64 threads created
73+
22:36:31 INFO: Test warmup completed.
74+
22:36:42 INFO: Test run completed.
75+
22:36:42 INFO: 64 connections tested
76+
22:36:42 INFO: ##### Totals: #####
77+
22:36:42 INFO: test duration :10.36 seconds
78+
22:36:42 INFO: total bytes :30629953536
79+
22:36:42 INFO: throughput :23.65Gbps
80+
22:36:42 INFO: cpu cores :20
81+
22:36:42 INFO: cpu speed :2394.455MHz
82+
22:36:42 INFO: user :3.60%
83+
22:36:42 INFO: system :3.44%
84+
22:36:42 INFO: idle :91.57%
85+
22:36:42 INFO: iowait :0.00%
86+
22:36:42 INFO: softirq :1.38%
87+
22:36:42 INFO: cycles/byte :1.37
88+
22:36:42 INFO: cpu busy (all) :159.81%
8589
---------------------------------------------------------
90+
22:40:52 INFO: Test cooldown is in progress...
91+
22:40:52 INFO: Test cycle finished.
8692
```
8793

8894
# Related topics

0 commit comments

Comments
 (0)