linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] memcg updates towards I/O aware memcg v2.
@ 2010-07-29  9:42 KAMEZAWA Hiroyuki
  2010-07-29  9:45 ` [PATCH 1/5] memcg id quick lookup KAMEZAWA Hiroyuki
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: KAMEZAWA Hiroyuki @ 2010-07-29  9:42 UTC (permalink / raw)
  To: linux-mm; +Cc: balbir, nishimura, vgoyal, m-ikeda, gthelen, akpm, linux-kernel

Hi, this version removes virt-array and use simple id <-> memcg table.
and removed RFC.

This set has 2+1 purposes.
 1. re-desgin struct page_cgroup and makes room for blocckio-cgroup ID.
 2. implement quick updating method for memcg's file stat.
 3. optionally? use spin_lock instead of bit_spinlock.

Plans after this.

 1. check influence of Mel's new writeback method.
    I think we'll see OOM easier. IIUC, memory cgroup needs a thread like kswapd
    to do background writeback or low-high watermark.
    (By this, we can control priority of background writeout thread priority
     by CFS. This is very good.)

 2. implementing dirty_ratio.
    Now, Greg Thelen is working on. One of biggest problems of previous trial was
    update cost of status. I think this patch set can reduce it.

 3. record blockio cgroup's ID.
    Ikeda posted one. IIUC, it requires some consideration on (swapin)readahead
    for assigning IDs. But it seemed to be good in general.

Importance is in this order in my mind. But all aboves can be done in parallel.

Beyond that, some guys has problem with file-cache-control. If it need to use
account migration, we have to take care of races.


Thanks,
-Kame

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2010-07-30  0:37 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-29  9:42 [PATCH 0/5] memcg updates towards I/O aware memcg v2 KAMEZAWA Hiroyuki
2010-07-29  9:45 ` [PATCH 1/5] memcg id quick lookup KAMEZAWA Hiroyuki
2010-07-29 18:03   ` Greg Thelen
2010-07-30  0:09     ` KAMEZAWA Hiroyuki
2010-07-29  9:46 ` [PATCH 2/5] use ID in page cgroup KAMEZAWA Hiroyuki
2010-07-29 18:31   ` Greg Thelen
2010-07-30  0:12     ` KAMEZAWA Hiroyuki
2010-07-29  9:47 ` [PATCH 3/5] low cost updates of file stat for memcg KAMEZAWA Hiroyuki
2010-07-29  9:48 ` [PATCH 4/5] memcg : generic file stat accounting KAMEZAWA Hiroyuki
2010-07-29  9:49 ` [PATCH 5/5] memcg : use spinlock in pcg instad of bit_spinlock KAMEZAWA Hiroyuki
2010-07-30  0:32 ` [PATCH 0/5] memcg updates towards I/O aware memcg v2 KAMEZAWA Hiroyuki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox