Releases: kylinsoong/ttcp
Releases · kylinsoong/ttcp
1.14
Add -L
to simulate the application level latency
-L enable the receive side to sleep in a random integer(one of 1, 2, 3), to simulate application level latency
An example
$ ttcp -r -L
ttcp-r: buflen=1048576, align=16384/0, port=5001 tcp
ttcp-r: socket
ttcp-r: accept from 127.0.0.1:46482
ttcp-r: worker 107133 start
ttcp-r: worker 107133, force delay 3 s
ttcp-r: worker 107133, force delay 2 s
ttcp-r: worker 107133, force delay 1 s
ttcp-r: worker 107133, stats of 127.0.0.1:46482
1048576 bytes in 6.01 real seconds = 0.17 MB/sec +++
1048576 bytes in 0.00 CPU seconds = 935.45 MB/cpu sec
4 I/O calls, msec/call = 1538.36, calls/sec = 0.67
0.0user 0.0sys 0:06real 0% 0i+0d 832maxrss 0+222pf 4+0csw
buffer address 0x7f993ba3c000
Note that the transfer rate is 0.17 MB/sec
, is a quite low receive rate
1.13-3
What's new
- re-construct bancs with 3 handler and 2 init, which handler are hold by sub-threads,
- add -d to control the debug info
- add -l to control lazy load, init wait lazy * 10 seconds after handler started
- add a ISO8583 message generator, via -t
How to run?
~]# bancs
Usage: bancs -e [-options] <host of BANCS>
bancs -b [-options] <host of CARD>
bancs -c [-options] <host of BANCS>
bancs -t [-options]
Common options:
-d enable debug logging
-l ## the length of lay time of Init wait Listener (default 8 seconds, which means once Listener init finished and 8 * 10 seconds later, the Init start)
-p ## port number to send to or listen at (default 8805/8806 9805)
Common options for -t:
-m ## specify the version of the ISO8583 standard, allowed value are 0-9
-n ## total number of message to generated
-k ## specify message kinds, different kinds means different length, 1 - 1562
1.13-2
What's new(compare with 1.13-1)
- re-construct bancs with 3 handler and 2 init, which handler are hold by sub-threads,
- add
-d
to control the debug info - add
-l
to control lazy load, init waitlazy * 10
seconds after handler started - add a ISO8583 message generator, via
-t
How to run?
After installation the commands hints can help to run, eg:
~]# rpm -qa | grep ttcp
ttcp-1.13-2.x86_64
~]# bancs
Usage: bancs -e [-options] <host of BANCS>
bancs -b [-options] <host of CARD>
bancs -c [-options] <host of BANCS>
bancs -t [-options]
Common options:
-d enable debug logging
-l ## the length of lay time of Init wait Listener (default 8 seconds, which means once Listener init finished and 8 * 10 seconds later, the Init start)
-p ## port number to send to or listen at (default 8805/8806 9805)
Common options for -t:
-m ## specify the version of the ISO8583 standard, allowed value are 0-9
-n ## total number of message to generated
-k ## specify message kinds, different kinds means different length, 1 - 1562
1.13
- Add core banking systems simulate projects
1.12
- add ttcp.conf
- add more options
1.1
- Ipv6 Support for chat and echoS
- add ttcp
- add iperf3
1.0
This release contains:
- tcp echo client server package
- tcp chat client server package