maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Troubleshooting (https://talk.maemo.org/forumdisplay.php?f=6)
-   -   slow NFS (https://talk.maemo.org/showthread.php?t=1484)

Wooky 2006-02-26 00:36

slow NFS
 
I juts got my N770, and I am busy trying things. I set up an NFS server in my linux box, and I mounted it on the N770. It was extremely slowwwwww. So slow that I couldn't even copy files from it. I found little info about mounting NFS shares using the 770, but no one seems to have this kind of problem. Am I doing something foolish?

I created a dir in MyDocs:
/nfs/n770

and I mounted the NFS share like that:
mount 192.168.0.1:/home/jeff/Download/N770 /home/user/MyDocs/nfs/n770

My linux box /etc/exports entry is:
/home/jeff/Download/N770/ 192.168.0.0/8(root_squash,sync,insecure,rw)

Am I doing something wrong? I can access the share, but it is very slow. Perhaps I should create the mount point in the mmc card?

lon 2006-02-26 09:54

You need the "nolock" option. I use "-o nolock,rsize=1024,wsize=1024" and it seems to work pretty well, although I haven't really used it too heavily.

Lon

Wooky 2006-02-26 20:21

Thanks, that did the trick. I could play MP3s with no problem. Is 1024 an otimal size for reads/writes? I tried 2048 and it seemed about the same. Guess I should time some cp's to find an optimal value.

lon 2006-02-27 07:42

I used 1024 as the I/O size to avoid packet fragmentation, on the theory that packet fragmentation is just one more potential source of trouble. I don't actually know what the optimal size is, and prefer reliability to speed in this case anyway.


All times are GMT. The time now is 09:16.

vBulletin® Version 3.8.8