LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   NFS Latency (https://www.linuxquestions.org/questions/linux-server-73/nfs-latency-604301/)

xonogenic 12-03-2007 11:14 PM

NFS Latency
 
Hi all
I need some input regarding some latency I am experiencing with NFS. My desktop system is running 64-bit gentoo, it has two gigs of RAM and an 80 gb HD. My server runs 32 bit Debian with approximately 1TB storage and 2 GB ram.
This is from memory, but its quite close.
Debian Box:
/etc/exports
/var/mounts/home 192.168.1.0/24(rw,no_root_squash)

Gentoo Box:
/etc/fstab
192.168.1.2:/var/mounts/home /home ....etc..

Essentially, when I try to start up a binary file like firefox for example. It takes upwards of 3 minutes to start. I really don't know why

This feels like a dumb question but if anyone has any input, I would like to hear :) Thanks in advance

As a note, this happens in both 64 bit compiled firefox and the 32 bit binary, and this is not repeated when browsing through files with thunar(on xfce4) or doing anything else that doesn't require a relatively large binary. As an example, Azureus starts quite fast.

xonogenic 12-04-2007 10:52 PM

** Solved **
 
After thinking about it, I thought that the problem had to be in my network, and after running wireshark while opening firefox, I noticed almost all the packets were dropped. Wireshark said it could have been due to UDP checksum offloading, that didn't make sense, because none of my cards do that.

At the end, the best way of solving my problem, was to force tcp by using "proto=tcp" in the fstab on the client. I hope someone finds this helpful :)

archtoad6 12-13-2007 05:56 PM

Thanks for posting your solution.


All times are GMT -5. The time now is 04:13 PM.