TS101: improve ethernet performances
This post is using information from the SpeedGuide.net that should improve the performance of the ethernet link of the TS.
This configuration was tested and is working but I have not done any bench to check if I really get improvement. Anyway, it should not be worth. ;-)
Assuming you are using the previous post method for having .sh2 files called at startup,
create a file named /share/HDA_DATA/adminfiles/config_ethernet.sh2
add the following lines in it:
ifconfig eth0 txqueuelen 50000
echo 1 > /proc/sys/net/ipv4/tcp_rfc1337
echo 2 > /proc/sys/net/ipv4/tcp_frto
echo 1 > /proc/sys/net/ipv4/tcp_window_scaling
echo 1 > /proc/sys/net/ipv4/tcp_tw_reuse
echo 0 > /proc/sys/net/ipv4/tcp_tw_recycle
echo 1 > /proc/sys/net/ipv4/tcp_low_latency
echo 1 > /proc/sys/net/ipv4/tcp_ecn
echo 0 > /proc/sys/net/ipv4/tcp_timestamps
echo 1 > /proc/sys/net/ipv4/tcp_sack
echo 1 > /proc/sys/net/ipv4/tcp_window_scaling
This configuration was tested and is working but I have not done any bench to check if I really get improvement. Anyway, it should not be worth. ;-)
Assuming you are using the previous post method for having .sh2 files called at startup,
create a file named /share/HDA_DATA/adminfiles/config_ethernet.sh2
add the following lines in it:
ifconfig eth0 txqueuelen 50000
echo 1 > /proc/sys/net/ipv4/tcp_rfc1337
echo 2 > /proc/sys/net/ipv4/tcp_frto
echo 1 > /proc/sys/net/ipv4/tcp_window_scaling
echo 1 > /proc/sys/net/ipv4/tcp_tw_reuse
echo 0 > /proc/sys/net/ipv4/tcp_tw_recycle
echo 1 > /proc/sys/net/ipv4/tcp_low_latency
echo 1 > /proc/sys/net/ipv4/tcp_ecn
echo 0 > /proc/sys/net/ipv4/tcp_timestamps
echo 1 > /proc/sys/net/ipv4/tcp_sack
echo 1 > /proc/sys/net/ipv4/tcp_window_scaling
0 Comments:
Post a Comment
<< Home