[Ti] Speed up
Loren Schooley
loren at flash.net
Thu Jul 17 13:02:40 PDT 2003
On 7/17/03 1:27 PM, "Michael Bigley" <wakinyan at fuse.net> wrote:
>> I know this is an old subject, but I have found very few who utilize and
>> take advantage of it, and that is using sysctl to boost browser and other
>> download speeds. I tested it out with different numbers and the results
>> proved accordingly. This hack works!
>
> Are these changes written to a file so they survive reboots, etc?
No. What I had to do was open /etc/rc.common, and at the bottom paste
/usr/sbin/sysctl -w net.inet.tcp.sendspace=65536 > /dev/null
/usr/sbin/sysctl -w net.inet.tcp.recvspace=65536 > /dev/null
/usr/sbin/sysctl -w kern.ipc.maxsockbuf=524288 > /dev/null
/usr/sbin/sysctl -w net.inet.tcp.delayed_ack=0 > /dev/null
/usr/sbin/sysctl -w net.inet.udp.recvspace=73728 > /dev/null
:wq!
I'm sure it can be done cleaner, but this works.
More information about the Titanium
mailing list