OK, I applied DaveM's patch to my working 2.4.2 kernel.
When the sender is a dual-processor 666MHz machine
and the receiver is a dual-processor 866MHz machine
I see only a few drops
Udp:
7658021 packets received
0 packets to unknown port received.
2948 packet receive errors
18516945 packets sent
and I get great udp bandwidth.
I can probably get these numbers (or something close)
using single processors
The only /proc defaults I changed were
echo "1048576" > /proc/sys/net/core/rmem_max
echo "1048576" > /proc/sys/net/core/wmem_max
echo "1048576" > /proc/sys/net/core/wmem_default
echo "1048576" > /proc/sys/net/core/rmem_default
echo "1048576" > /proc/sys/net/core/optmem_max
TCP still doesn't want to get above 1Gigabit/sec
and is usually much lower.
TCP STREAM TEST to rcc-t
Recv Send Send
Socket Socket Message Elapsed
Size Size Size Time Throughput
bytes bytes bytes secs. 10^6bits/sec
1048576 1048576 4194304 10.00 688.31
1048576 1048576 2097152 10.01 704.52
1048576 1048576 1048576 10.01 691.78
1048576 1048576 524288 10.00 704.24
1048576 1048576 262144 10.00 687.31
1048576 1048576 131072 10.00 682.91
1048576 1048576 65536 10.00 658.33
1048576 1048576 32768 10.01 668.97
rcc 23% udp_range rcc2-t
UDP UNIDIRECTIONAL SEND TEST to rcc2-t
Socket Message Elapsed Messages
Size Size Time Okay Errors Throughput
bytes bytes secs # # 10^6bits/sec
2097152 32768 9.65 60233 0 1635.59
2097152 9.65 59695 1620.98
2097152 16384 9.00 116904 0 1703.44
2097152 9.00 114426 1667.33
2097152 8192 10.00 215262 0 1411.22
2097152 10.00 215262 1411.22
2097152 4096 6.81 322213 0 1550.98
2097152 6.81 322189 1550.86
2097152 2048 5.54 506954 0 1499.05
2097152 5.54 506033 1496.33
2097152 1024 10.00 606952 0 497.34
2097152 10.00 606601 497.06
2097152 512 9.58 809222 0 345.97
2097152 9.58 706001 301.84
2097152 256 13.83 707528 0 104.78
2097152 13.83 707528 104.78
2097152 128 13.82 1336720 0 99.07
2097152 13.82 712852 52.83
2097152 64 8.99 730505 0 41.58
2097152 8.99 730505 41.58
2097152 32 11.00 1351319 0 31.45
2097152 11.00 740745 17.24
2097152 16 15.47 900296 0 7.45
2097152 15.47 741616 6.14
2097152 8 12.17 1317200 0 6.92
2097152 12.17 755124 3.97
2097152 4 9.00 738768 0 2.63
2097152 9.00 738768 2.63
|