Articles

Oh my God! The Network's Slow!!!
By greenlaw
Published: December 19, 2007
Print    Email

Resources:

1) The Linux documentation project (www.tldp.org).  

 

Finding Problems:

1) For networking problems.. run wireshark.

2) for performance issues with mounts; run "dd" commands involving /dev/nul.

time dd if=/dev/zero of=/mnt/home/testfile bs=16k count=16384 //Tests Write performance
time dd if=/mnt/home/testfile of=/dev/null bs=16k //Tests read performance 

 

Problems:

1) High Latency Links..  TCP/IP & NFS both have problems with high latency.  Here's a suggestion: 

  i) set the TCP/IP Receive window to max in your protocol stack. 

  ii) Tell NFS to have a lot of transactions open at the same time.  Set rwin & twin to 8192, or more if you can!. (http://nfs.sourceforge.net/nfs-howto/ar01s05.html) 



View Comments (0)