Re: [RFC][PATCH] Per file dirty limit throttling

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Nikanth Karthikesan
Date: Monday, August 16, 2010 - 10:09 pm

On Monday 16 August 2010 16:35:42 Peter Zijlstra wrote:

Oh, nice.  Per-task limit is an elegant solution, which should help during 
most of the common cases.

But I just wonder what happens, when
1. The dirtier is multiple co-operating processes
2. Some app like a shell script, that repeatedly calls dd with seek and skip? 
People do this for data deduplication, sparse skipping etc..
3. The app dies and comes back again. Like a VM that is rebooted, and 
continues writing to a disk backed by a file on the host.

Do you think, in those cases this might still be useful?


Yes, this should be moved to the single site, inside generic 
balance_dirty_pages().


Right, this could be avoided. Some f(vm_dirty_ratio) should be used. I just 
wanted to provide a way to disable this behaviour at run-time.

Thanks
Nikanth


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC][PATCH] Per file dirty limit throttling, Nikanth Karthikesan, (Sun Aug 15, 9:19 pm)
Re: [RFC][PATCH] Per file dirty limit throttling, Peter Zijlstra, (Mon Aug 16, 4:05 am)
Re: [RFC][PATCH] Per file dirty limit throttling, Bill Davidsen, (Mon Aug 16, 9:53 am)
Re: [RFC][PATCH] Per file dirty limit throttling, Wu Fengguang, (Mon Aug 16, 7:41 pm)
Re: [RFC][PATCH] Per file dirty limit throttling, Wu Fengguang, (Mon Aug 16, 7:53 pm)
Re: [RFC][PATCH] Per file dirty limit throttling, Nikanth Karthikesan, (Mon Aug 16, 10:09 pm)
Re: [RFC][PATCH] Per file dirty limit throttling, Peter Zijlstra, (Tue Aug 17, 1:24 am)
Re: [RFC][PATCH] Per file dirty limit throttling, Nikanth Karthikesan, (Wed Aug 18, 2:22 am)
Re: [RFC][PATCH] Per file dirty limit throttling, Peter Zijlstra, (Wed Aug 18, 2:58 am)
Re: [RFC][PATCH] Per file dirty limit throttling, Balbir Singh, (Wed Aug 18, 7:08 am)
Re: [RFC][PATCH] Per file dirty limit throttling, Peter Zijlstra, (Wed Aug 18, 7:25 am)
Re: [RFC][PATCH] Per file dirty limit throttling, Balbir Singh, (Wed Aug 18, 7:48 am)
Re: [RFC][PATCH] Per file dirty limit throttling, Nikanth Karthikesan, (Mon Aug 23, 5:19 am)