I have a question about netperf.
I am working on the TCP over ATM perfrmance measurement.
First I try to run netperf with direct connection OC-3 between two BSD
machine.
I wrote my own script to run netperf with TCP_TREAM with various window size
and segment size.automatically.
The following is my script.
#!/usr/local/bin/tcsh
set send_buffer=(8192 24576 40960 52224)
set message_size=(128 256 1024 2048 4362 8704 17408 28112 34818 43620 82224)
set i = 1
foreach buffer ($send_buffer)
set j = 1
foreach segment ($message_size)
set window = $send_buffer[$i]
set segment = $message_size[$j]
if ($i =~ 1 && $j =~ 1) then
echo The window size is $window. The segment size is $segment.
/usr/local/netperf/netperf -t TCP_STREAM -H 10.100.100.101 -l
30 -- -S $window -s $window -m $segment > nong
else
echo The window size is $window. The segment size is $segment.
/usr/local/netperf/netperf -t TCP_STREAM -H 10.100.100.101 -l
30 -- -S $window -s $window -m $segment >> nong
endif
@ j=$j + 1
end
@ i=$i + 1i
end
when I run the script, sometime I got a message "fragmentation fault (core
dumped)". I don't know how to solve this problem. If anyone has any idea,
please let me know
Also the result is quite weird. I attach the result with this message (I
ran the same eight tests .
Another question, how can I obtain TCP latency? Please give me the detail
because I am quite new for netperf.
Thank you
Akasit