NFS and kernel cache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm copying a big chunk of data to a single file on an NFS server (in
this case, using ntfsclone to back up a NTFS partition).  Both the
client and the server are on gigabit ethernet, and both are running FC6.

I see the disk LED come on solid for several seconds, then start
flickering, then go out for a second or two.  If I watch the network
switch, it does the opposite: no traffic, then a burst of traffic.
Because of this, my total throughput is only about 200Mb/s.

My guess would be that the NFS client is letting a bunch of data queue
up, and that it doesn't start sending it until the disk has almost
filled the kernel buffers, so then the reads from the local disk stop
until the NFS client has written enough data to the server.

I also tried doing (the tr is in there to prevent a sparse file):

$ dd if=/dev/zero bs=1024k count=5000 | tr '\0' '\1' > /mnt/test/testfile

I can see the network start and stop on this.  I do get about 320Mb/s,
but that's still a long way from what it should be.

Is there anything I can adjust to smooth out the network flow (and keep
this running to fill the network as much as possible)?
-- 
Chris Adams <cmadams@xxxxxxxxxx>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux