stepleton
Veteran Member
Greetings all,
I'm trying to copy some files from a 4.2BSD machine (a Whitechapel MG-1 running 42nix 2.5, for what it's worth) over ethernet via good old-fashioned rsh.
I'm encountering a strange problem: the first ten packets seem to transfer fine, but subsequent packets are increasingly delayed. The delay climbs by an increasing, linear amount with each packet until it levels off at around 30 seconds between packets. This is, of course, very slow---it takes many minutes to download files much larger than a few dozen kilobytes.
I suspect the culprit is some form of congestion control on the Linux side. I've tried disabling various options mentioned in the ip-sysctl reference, or reverting to the old "reno" congestion control algorithm, but nothing seems to help. The problem also holds for other programs besides rsh, so it really does appear to be at the TCP level (or maybe lower?). Hoping a networking expert might have a suggestion for what to do...
( Linux TCP globals changed, for the record: )
I'm trying to copy some files from a 4.2BSD machine (a Whitechapel MG-1 running 42nix 2.5, for what it's worth) over ethernet via good old-fashioned rsh.
I'm encountering a strange problem: the first ten packets seem to transfer fine, but subsequent packets are increasingly delayed. The delay climbs by an increasing, linear amount with each packet until it levels off at around 30 seconds between packets. This is, of course, very slow---it takes many minutes to download files much larger than a few dozen kilobytes.
I suspect the culprit is some form of congestion control on the Linux side. I've tried disabling various options mentioned in the ip-sysctl reference, or reverting to the old "reno" congestion control algorithm, but nothing seems to help. The problem also holds for other programs besides rsh, so it really does appear to be at the TCP level (or maybe lower?). Hoping a networking expert might have a suggestion for what to do...
( Linux TCP globals changed, for the record: )
Code:
net.ipv4.tcp_sack = 0
net.ipv4.tcp_timestamps = 0
net.ipv4.tcp_allowed_congestion_control = reno
net.ipv4.tcp_congestion_control = reno
net.ipv4.tcp_ecn = 0
net.ipv4.tcp_slow_start_after_idle = 0