|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Novell Archives Archived content from Novell openSUSE support forums |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hello,
I have a desktop and a laptop connected using a Linksys router. Both computers are using SUSE 9.3 with KDE 3.5 and kernel 2.6.11.4-21.10-default. I have created a NFS share on my desktop. Here is my /etc/exports: / 192.168.5.*(rw,root_squash,sync) I mount the share on my laptop. Here is my /etc/fstab entry: Desktop:/ /Desktop nfs defaults,intr,hard,rsize=8192,wsize=8192,noauto,us er 0 0 As you can see, my desktop is called "Desktop" (original I know ).On my laptop, when I copy files from the /Desktop, the transfer is very fast. However, when I copy files to the /Desktop directory (mount point), the transfer is very very slow. Considerably slower than in the other direction. I checked, both systems and they have the Firewall (in Yast) turned off. I'm not quite sure where to look? I don't think it's my Desktop because I can play America's Army Operation and Doom3 online, surf the web, watch trailers, get large emails, etc. Can someone suggest a place I could look to fix this? Thank you, Alvin --- SUSE 9.3 Pro updated from supplementary repos KDE 3.5 Kernel 2.6.11.4-21.10-default |
|
|||
|
Alvin adjusted his/her tinfoil beanie to post:
> Hello, > > I have a desktop and a laptop connected using a Linksys router. Both > computers are using SUSE 9.3 with KDE 3.5 and kernel > 2.6.11.4-21.10-default. > > I have created a NFS share on my desktop. Here is my /etc/exports: > / 192.168.5.*(rw,root_squash,sync) The problem you are seeing is because you have the sync option set. This is causing a sync after *every* write to the drive to prevent data loss if you lose the nfs for whatever reason. The sync is on by default and is best left that way for your data protection, you can turn it off if you want the speed up but it could turn out messy if you lose the link or have network problems while writing, you could manually sync after you transfer data or simply umount the drive to force a sync but if it goes wrong say ta-ta to the data. Caveat Emptor. HTH Ps. This is also the same with USB sticks and such, the read is good but the write is slow due to the sync`s. -- Mark Twixt hill and high water N. Wales, UK Novell Support Forums SysOp |
|
|||
|
baskitcaise wrote:
> The problem you are seeing is because you have the sync option set. > > This is causing a sync after every write to the drive to prevent data > loss if you lose the nfs for whatever reason. I changed to async since the two systems are wired into the same router so there should be very little change I will loose the connection. I also upped my rsize and wsize to 32K as suggested in the alt.os.linux.suse newsgroup. async should be ok in my case. The only other time I used async was to have faster access to a ro NFS share to my cdrom. Like you say, I wouldn't use async in a work environment, but for my home network, it should be good enough. Thanks for the suggestion, Alvin |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|