Messages in this thread | | | Date | Mon, 30 Jun 2008 10:10:38 +0530 | From | Balbir Singh <> | Subject | Re: [RFC 0/5] Memory controller soft limit introduction (v3) |
| |
KAMEZAWA Hiroyuki wrote: > On Mon, 30 Jun 2008 09:30:50 +0530 > Balbir Singh <balbir@linux.vnet.ibm.com> wrote: > >> KAMEZAWA Hiroyuki wrote: >>> Hmm, that is the case where "share" works well. Why soft-limit ? >>> i/o conroller doesn't support share ? (I don' know sorry.) >>> >> Share is a proportional allocation of a resource. Typically that resource is >> soft-limits, but not necessarily. If we re-use resource counters, my expectation >> is that >> >> A share implementation would under-neath use soft-limits. >> > Hmm...I don't convice at this point. (because it's future problem) > At least, please find lock-less approach to check soft-limit.
I've been looking at improving res_counter scalability. One simple approach is to convert the spin lock to rw spinlock so that reading data can happen in parallel. The next step would be to explore RCU for resource counters.
-- Warm Regards, Balbir Singh Linux Technology Center IBM, ISTL
| |