38
Intelligent NIC Getting Started Guide — NDA Required
NetXen, Inc.
Appendix B. Performance Tools and Optimization
Unidirectional: One Server to One Client
Receiver:
ntttcpr.exe -m 8,0,<Receive Side IPAddr> -a 16 -n 500000 -rb 8000000 -p 5001
-l 512k
Sender:
ntttcps.exe -m 8,0,<Receive Side IPAddr> -a 8 -n 500000 -p 5001 -l 512k
Unidirectional: One Server to One Client — Single Thread, Multiple Processors
If the system has more than one CPU, the load can be distributed across two CPUs and
port numbers.
Send Side
ntttcps -m 1,0,192.168.20.2 -n 300000 -a 6 -p 5001
ntttcps -m 1,1,192.168.20.2 -n 300000 -a 6 -p 5002
Receive Side
ntttcpr -m 1,1,192.168.20.2 -n 300000 -a 16 -rb 512000 -p 5001
ntttcpr -m 1,1,192.168.20.2 -n 300000 -a 16 -rb 512000 -p 5002
B.1.2
nttcps and ntttcpr Command Line Options
C:\NTTTCP_NEW>ntttcps
or
C:\NTTTCP_NEW>ntttcpr
ntttcps: [-l|-n|-p|-a|-t|-rb|-sb|-i|-u|-w|-x|-d|-v|-6] -m <mapping>
[mapping]
-l <Length of buffer> [default: 64K]
-n <Number of buffers> [default: 20K]
-p <Port base> [default: 5001]
-a [outstanding I/O] [default: 2]
-x [PacketArray size] [default: 1]
-t <Timeout Period> [default: 30s]
-rb <Receive buffer size> [default: 64K]
-sb <Send buffer size> [default: 0]
-i Infinite Loop [Only UDP mode]
-u UDP send/recv
-w WSARecv/WSASend
-d enable data verification
-v enable verbose mode
-6 enable IPv6 mode
-m <mapping> [mapping]
where a mapping is a session(s),processor,receiver IP set