Author Topic: When Nfs Over Wlan "hangs"  (Read 2368 times)

Seb

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
    • http://
When Nfs Over Wlan "hangs"
« on: February 28, 2006, 05:23:29 pm »
when having mounted nfs over wlan i often discovered that wlan "hangs" and with it any file activity over nfs, you couldn't even umount nfs

after hours of searching i found the solution which in my case is as follows:

the packets transmitted over wlan usually have the size of 1500 bytes (mtu i think this is called), if for nfs rsize or wsize are specified > 1500, which i think is the standard (i mean the standard is GREATER 1500) all the packets are "repackaged" in smaller packets to fit into the 1500 bytes, which leads to some kind of traffic congestion if some packets get lost (which happens regualrly with wlan), the solution is quite simple: specify rsize=1024, wsize=1024 as mount options in /etc/fstab

regards
seb

karlto

  • Sr. Member
  • ****
  • Posts: 343
    • View Profile
    • http://
When Nfs Over Wlan "hangs"
« Reply #1 on: February 28, 2006, 05:51:15 pm »
Quote
when having mounted nfs over wlan i often discovered that wlan "hangs" and with it any file activity over nfs, you couldn't even umount nfs

after hours of searching i found the solution which in my case is as follows:

the packets transmitted over wlan usually have the size of 1500 bytes (mtu i think this is called), if for nfs rsize or wsize are specified > 1500, which i think is the standard (i mean the standard is GREATER 1500) all the packets are "repackaged" in smaller packets to fit into the 1500 bytes, which leads to some kind of traffic congestion if some packets get lost (which happens regualrly with wlan), the solution is quite simple: specify rsize=1024, wsize=1024 as mount options in /etc/fstab

regards
seb
[div align=\"right\"][a href=\"index.php?act=findpost&pid=116436\"][{POST_SNAPBACK}][/a][/div]

Good work - according to what I can find, the standard nfs sizes are 4096 bytes or so (and you are right, standard ethernet mtu is 1500). With something as finicky as nfs, I'm sure that lost and out of order part packets could be a real nightmare...
SL6000-L, RC12

Xromer

  • Full Member
  • ***
  • Posts: 178
    • View Profile
    • http://
When Nfs Over Wlan "hangs"
« Reply #2 on: March 01, 2006, 11:05:06 am »
Quote
Quote
when having mounted nfs over wlan i often discovered that wlan "hangs" and with it any file activity over nfs, you couldn't even umount nfs

after hours of searching i found the solution which in my case is as follows:

the packets transmitted over wlan usually have the size of 1500 bytes (mtu i think this is called), if for nfs rsize or wsize are specified > 1500, which i think is the standard (i mean the standard is GREATER 1500) all the packets are "repackaged" in smaller packets to fit into the 1500 bytes, which leads to some kind of traffic congestion if some packets get lost (which happens regualrly with wlan), the solution is quite simple: specify rsize=1024, wsize=1024 as mount options in /etc/fstab

regards
seb
[div align=\"right\"][a href=\"index.php?act=findpost&pid=116436\"][{POST_SNAPBACK}][/a][/div]

Good work - according to what I can find, the standard nfs sizes are 4096 bytes or so (and you are right, standard ethernet mtu is 1500). With something as finicky as nfs, I'm sure that lost and out of order part packets could be a real nightmare...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=116441\"][{POST_SNAPBACK}][/a][/div]
Have somebody tried reiser with the Zauri?
Did it work?
« Last Edit: March 01, 2006, 11:05:28 am by Xromer »
[span style=\'font-size:10pt;line-height:100%\']I don't know how, but i' ll do!!!
This is how i like to live! :)[/span]

Ipaq hx4700