how to choose ccid3 in ttcp
Hi,
I started using ttcp (ttcp_acme actually) to test DCCP in my linux box (v2.6.17.7). I did some initial tests with ccid2, but could not manage switching to ccid3. How can I make ttcp to use ccid3?
Thanks.
Burak Gorkemli
Ph.D. Candidate
Koc University
Turkey
Quoted 11 lines · On 7/27/06, [email protected] <[email protected]> wrote:
Hi,
I started using ttcp (
ttcp_acmeactually) to test DCCP in my linux box (v2.6.17.7). I did some initial tests with ccid2, but could not manage switching to ccid3. How can I make ttcp to use ccid3?Thanks.
Burak Gorkemli
Ph.D. Candidate
Koc University
Turkey
I would actually recommend using iperf as a side remark.
You need to set the default ccid to 3 as 2 is the default and ttcp doesn't allow you to chose the CCID. Here is a script I use for setup:
sudo modprobe dccp
sudo modprobe dccp_ccid3
sudo sysctl -w net.dccp.default.seq_window000
sudo sysctl -w net.dccp.default.send_ackvec=0
sudo sysctl -w net.dccp.default.rx_ccid=3
sudo sysctl -w net.dccp.default.tx_ccid=3
send_ackvec should be turned off for CCID3 and the seq_window is for connections that get out of sync (but you need a recent git tree for the fix).
CCID3 performance has some issues which I'm working on at present too.
Ian
Signature · 7 lines
Ian McDonald Web: http://wand.net.nz/~iam4 Blog: http://imcdnzl.blogspot.com WAND Network Research Group Department of Computer Science University of Waikato New Zealand