Re: [RFC PATCH 0/6] Do not call ->writepage[s] from direct reclaim and use a_ops->writepages() where possible

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

On Thu, 10 Jun 2010 02:10:35 +0100
Mel Gorman <mel@csn.ul.ie> wrote:

You're right. An excuse for me is that my concern is usually the amount of
swap-out and OOM at rapid/heavy pressure comes because it's visible to
users easily. So, I use short-lived process test.


sounds nice.


I personally think this(writeback scheduling) is a job for I/O cgroup.
So, I guess what memcg can do is dirty-ratio-limiting, at most. The user has to
set well-balanced combination of memory+I/O cgroup.
Sorry for wrong mixture of story.



Because I don't use XFS, I don't have relaiable answer, now. But, at least,
memcg's memory reclaim will never be called as top of do_select(), which
uses 1000 bytes. 

We have to consider long-term fix for I/O patterns under memmcg but
please global-reclaim-update-first. We did in that way when splitting LRU
to ANON and FILE. I don't want to make memcg as a burden for updating
vmscan.c better. 

Thanks,
-Kame

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

Messages in current thread:
Re: [RFC PATCH 0/6] Do not call ->writepage[s] from direct ..., KAMEZAWA Hiroyuki, (Wed Jun 9, 6:29 pm)
Re: [PATCH 6/6] vmscan: Do not writeback pages in direct r ..., Christoph Hellwig, (Fri Jun 11, 9:25 am)
Re: [PATCH 5/6] vmscan: Write out ranges of pages contiguo ..., Christoph Hellwig, (Fri Jun 11, 9:27 am)
Re: [PATCH 6/6] vmscan: Do not writeback pages in direct r ..., Christoph Hellwig, (Fri Jun 11, 10:49 am)