On Wed, Mar 16, 2011 at 12:45:34PM +0100, Judith Flo Gaya wrote: > I made some tests with a value of 10 for the vm_dirty_ratio and indeed > the ls-hang-time has decreased a lot, from 3min avg to 1.5min. > I was wondering what is the minimum number that it is safe to use? I'm > sure that you have already dealt with the side-effects/collateral > damages of this action, I don't want to fix a problem creating another > one.. For a while, we were running with this on production NFS clients: vm/dirty_background_bytes = 1048576 vm/dirty_bytes = 2097152 which is totally crazy, but generally seemed to work for the most part, and penalized the process creating the pages instead of totally hosing everything else when somebody was just writing back a huge file. Without it, we were seeing a single "dd" able to cause the load to hit 200, simply because 200 other processes got stuck in D waiting for RPC slots due to the slowdown. With those settings, load would stay around 3-4 and latency was much better. I think I removed it when trying to figure out the other flush issues, but it seems the same problem still exists. Simon- -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html