Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    slow NFS

    Reply
    Wooky | # 1 | 2006-02-26, 00:36 | Report

    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?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    lon | # 2 | 2006-02-26, 09:54 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Wooky | # 3 | 2006-02-26, 20:21 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    lon | # 4 | 2006-02-27, 07:42 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
vBulletin® Version 3.8.8
Normal Logout