November 01, 2007

sysctl net.* settings

Optimize network performance on gentoo using a gigabit network adapter and sysctl.

BEFORE:

>> sysctl net.core.wmem_max
net.core.wmem_max = 131071
>> sysctl net.core.wmem_default
net.core.wmem_default = 101376
>> sysctl net.ipv4.tcp_window_scaling
net.ipv4.tcp_window_scaling = 1
>> sysctl net.ipv4.tcp_mem
net.ipv4.tcp_mem = 98304 131072 196608
>> sysctl net.core.rmem_max
net.core.rmem_max = 131071
>> sysctl net.core.rmem_default
net.core.rmem_default = 101376

AFTER:

>> sysctl net.core.wmem_max=8388608
net.core.wmem_max = 8388608
>> sysctl net.core.wmem_default=65536
net.core.wmem_default = 65536
>> sysctl net.core.rmem_max=8388608
net.core.rmem_max = 8388608
>> sysctl net.core.rmem_default=65536
net.core.rmem_default = 65536

Posted by Mike at 03:39 AM | Comments (0)

Stoopid Windows Filesharing Fails after setting Static IP

I changed my network settings to use a static IP and was no longer able to access my samba shares. My "Node Type" reported from ipconfig showed "Unknown".

I added a registry DWord called EnableProxy as detailed here:

http://support.microsoft.com/default.aspx?scid=kb;en-us;310570

After rebooting I can now access the samba shares, but the node type is still "Unknown". How stupid.

Posted by Mike at 03:36 AM | Comments (0)