LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 03-12-2006, 12:32 PM   #1
BillyGalbreath
Member
 
Registered: Nov 2005
Location: Houston Texas
Distribution: Debian Sid
Posts: 379

Rep: Reputation: 31
Is there a way to speed up NFS to the networks full speed


I use NFS a lot for my everyday needs. I have a server with Debian Sarge on it that has about 260 gb of hard drive space, so I use this to my advantage and I store all my music, photos, docs, etc etc. This saves my space on my notebook computer and other desktops.

I can FTP to the server for when I need to transfer big files quickly (~11mb/s) but I am unable to get these type of speeds through NFS (~320kb/s).

This makes for a really bad experience with NFS and is making me use FTP more and more. I just don't like the FTP login and all that crap. It takes too much time when I am in a hurry. I like how NFS mounts at boot and it never has to login or authenticate before I can transfer data.

I mount 3 directories from my server to my notebook computer. /home/billy/downloads /home/billy/music and /var/www

Here is the server's /etc/exports file:

Code:
# /etc/exports: the access control list for filesystems which may be exported
#               to NFS clients.  See exports(5).

/home/billy/downloads           192.168.1.157(rw,no_root_squash)
/home/billy/music               192.168.1.157(rw,no_root_squash)
/var/www                        192.168.1.157(rw,no_root_squash)
Here is my /etc/fstab on my notebook:

Code:
# /etc/fstab: static file system information.
#
# <file system>                      <mount point>   <type>   <options>                                       <dump>  <pass>
proc                                 /proc           proc     defaults                                        0       0
/dev/hda1                            none            swap     sw                                              0       0
/dev/hda2                            /mnt/sarge      ext3     defaults                                        0       2
/dev/hda3                            /               ext3     defaults,errors=remount-ro                      0       1
/dev/hda4                            /mnt/stuff      ext3     defaults                                        0       2
/dev/hdc                             /media/cdrom0   iso9660  ro,user,noauto                                  0       0
/dev/sda1                            /mnt/usb        vfat     rw,user,noauto                                  0       0
192.168.1.101:/home/billy/downloads  /mnt/downloads  nfs      noauto,rw,user,rsize=8192,wsize=8192,intr,sync  0       0
192.168.1.101:/home/billy/music      /mnt/music      nfs      noauto,rw,user,rsize=8192,wsize=8192,intr,sync  0       0
192.168.1.101:/var/www               /mnt/www        nfs      noauto,rw,user,rsize=8192,wsize=8192,intr,sync  0       0
Anyone know what I am doing wrong? How can I speed up my NFS transfers?
 
Old 03-12-2006, 01:17 PM   #2
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
try using no_wdelay and sync options in the exports file.

Brian1
 
Old 05-18-2006, 03:58 AM   #3
salparadise
Senior Member
 
Registered: Nov 2002
Location: Birmingham UK
Distribution: Trisquel & Freeslack
Posts: 1,706

Rep: Reputation: 83
try using no_wdelay and sync options in the exports file.

Top banana - sorted my nfs problems out at a stroke.

Many thanks. ( I know it wasn't me who asked but a little searching is always worth the effort).
 
Old 10-09-2012, 03:52 PM   #4
akash.mahakode@gmail.com
LQ Newbie
 
Registered: Oct 2012
Posts: 1

Rep: Reputation: Disabled
impact on server?

Hi,

Thanks for your trick. But I would like to know how much impact will be on server?

-akash
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
K3b won't burn at full speed njbrain Linux - Software 8 12-13-2005 09:30 AM
How do I get my CPU to run at full speed? JordanH Linux - Hardware 6 02-04-2004 06:49 PM
SLOW satellite4100x not at full speed? yuppi21 Linux - Laptop and Netbook 2 11-10-2003 07:07 AM
SLOW satellite4100x not at full speed? yuppi21 Linux - Laptop and Netbook 1 09-03-2003 04:51 AM
Need for Speed of NFS frkstein Linux - Networking 1 01-14-2003 07:46 PM


All times are GMT -5. The time now is 09:41 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration