LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 10-16-2014, 04:46 AM   #1
Bernd_K
LQ Newbie
 
Registered: Oct 2014
Posts: 4

Rep: Reputation: Disabled
NFS-write blocks all processes


Hi All.

Most likely a simple problem - but I'm obviously unable to solve it

When my processes NFS-write to the RAID, all processes are "blocked" (don't do anything) until the write operation is completed. The reason for "don't do anything" seems to be, that all NFS-read is stopped while the NFS-write is going on.

"iostat -nkx 1" looks like this:

Code:
Device:rkB_nor/s    wkB_nor/s rkB_dir/s wkB_dir/s    rkB_svr/s    wkB_svr/s 

pr2     10232.00     10234.50      0.00      0.00     16384.00     59935.75 
pr2     57235.25     57223.15      0.00      0.00     60416.00         0.00 
pr2     56915.50     56932.60      0.00      0.00     61440.00         0.00 
pr2     67707.06     67702.07      0.00      0.00     54272.00         0.00
pr2     54517.38     54557.34      0.00      0.00     59392.00         0.00 
pr2     54597.31     54557.34      0.00      0.00     62464.00         0.00 
pr2     65770.36     65775.69      0.00      0.00     53734.65         0.00 
pr2     54517.38     54514.49      0.00      0.00     61440.00         0.00 
pr2     60912.38     60909.88      0.00      0.00     56320.00         0.00 
pr2     54517.38     54557.34      0.00      0.00     61440.00         0.00 
pr2     54597.31     54557.34      0.00      0.00     61440.00         0.00 
pr2     36371.56     36371.56      0.00      0.00     26624.00         0.00 
pr2     54517.38     54557.34      0.00      0.00     52224.00         0.00 
pr2     54597.31     54557.34      0.00      0.00     53248.00         0.00 
pr2     55716.44     55693.96      0.00      0.00     58368.00         0.00 
pr2     59473.50     59533.45      0.00      0.00     60416.00         0.00 
pr2     49149.69     49090.33      0.00      0.00     59817.82         0.00 
pr2     54517.38     54557.34      0.00      0.00     38912.00         0.00 
pr2     20304.12     20279.54      0.00      0.00     23552.00     71680.00 
pr2       639.50       694.07      0.00      0.00         0.00    105611.52 
pr2         0.00         0.00      0.00      0.00         0.00    114688.00 
pr2         0.00         0.00      0.00      0.00         0.00    115712.00 
pr2         0.00         0.00      0.00      0.00         0.00    114688.00 
pr2         0.00         0.00      0.00      0.00         0.00    114688.00 
pr2         0.00         0.00      0.00      0.00         0.00    115712.00 
pr2         0.00         0.00      0.00      0.00         0.00    114688.00 
pr2       949.75       885.45      0.00      0.00         0.00    108889.39 
pr2     44844.94     44889.90      0.00      0.00     46080.00       757.18 
pr2     60033.06     60048.05      0.00      0.00     56538.69         0.00 
pr2     55816.36     55803.87      0.00      0.00     61440.00         0.00 
pr2     72003.70     71991.21      0.00      0.00     48128.00         0.00 
pr2     54597.31     54557.34      0.00      0.00     59520.54         0.00 
pr2     54517.38     54557.34      0.00      0.00     61440.00         0.00 
pr2     54597.31     54557.34      0.00      0.00     61440.00         0.00 
pr2     56114.54     56131.86      0.00      0.00     60831.68         0.00 
pr2     54677.25     54687.24      0.00      0.00     61440.00         0.00 
pr2     58354.38     58374.36      0.00      0.00     61212.00         0.00 
pr2     66667.88     66660.38      0.00      0.00     53248.00         0.00 
pr2     54597.31     54557.34      0.00      0.00     61440.00         0.00 
pr2     65483.80     65541.26      0.00      0.00     54272.00         0.00 
pr2     55009.49     54997.00      0.00      0.00     60388.00         0.00 
pr2     55529.08     55549.46      0.00      0.00     61440.00         0.00 
pr2     60352.81     60327.44      0.00      0.00     57344.00         0.00
pr2     51879.44     51904.81      0.00      0.00     50176.00     14336.00 
pr2         0.00         0.00      0.00      0.00         0.00    114566.34 
pr2      1119.12      1088.76      0.00      0.00         0.00    104447.83 
pr2         0.00         0.00      0.00      0.00         0.00    115712.00 
pr2         0.00         0.00      0.00      0.00         0.00    114688.00 
pr2         0.00         0.00      0.00      0.00         0.00    114688.00 
pr2         0.00         0.00      0.00      0.00         0.00    115712.00 
pr2         0.00         0.00      0.00      0.00         0.00    114688.00 
pr2         0.00         0.00      0.00      0.00         0.00    114688.00 
pr2      2717.88      2700.39      0.00      0.00     13312.00     52264.20 
pr2     36371.56     36371.56      0.00      0.00     25600.00         0.00 
pr2     25722.46     25727.41      0.00      0.00     21291.09         0.00 
pr2     14948.31     14933.32      0.00      0.00     25600.00         0.00 
pr2     20943.62     21008.57      0.00      0.00     19456.00         0.00
i.e. there is no read during write. I can set the length of the "write-only period" with the dirty_xxx parameters under /proc/sys/vm, but that does not really buy me anything.

Question: how can I convince the NFS-I/O to read and write at the same time? I am never writing to any file being read at the same time, so there is no risk in simultaneous read/write.

Thanks and Cheers
Bernd
 
Old 10-23-2014, 12:49 AM   #2
Bernd_K
LQ Newbie
 
Registered: Oct 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
Hello again.

No ideas?

Does anybody know a forum specialising in network problems where I could post the question?

Thanks
Bernd
 
  


Reply



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
how to read and write a file shared by two or more processes. Joaquin Programming 9 12-11-2012 08:30 PM
Dump SDIO commands (Buffers/blocks and registers Read/Write) lightydo Linux - Hardware 0 11-06-2012 07:42 AM
EBUSY failure from write() when writing large blocks (>256k) of data... jmcdonald_mcds Linux - Kernel 8 08-27-2009 12:02 PM
NFS write problem, UID correct, rw in /etc/exports -but still cannot write polgard Linux - Networking 2 09-19-2008 03:14 AM
samba pdc blocks write permissions on windows? ferradura Linux - Server 0 10-02-2007 05:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:37 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration