process hangs on do_exit when oom happens

2012-10-17 Thread gaoqiang
I looked up nothing useful with google,so I'm here for help.. when this happens: I use memcg to limit the memory use of a process,and when the memcg cgroup was out of memory, the process was oom-killed however,it cannot really complete the exiting. here is the some information OS versio

Re: question about IO-sched

2012-07-19 Thread gaoqiang
thanks very much. 在 Wed, 18 Jul 2012 14:51:09 +0800,Corrado Zoccolo 写道: On Sun, Jul 15, 2012 at 9:08 AM, gaoqiang wrote: many thanks. but why the sys_read operation hangs on sync_page ? there are still many free memory.I mean ,the actually free memory,excluding the various kinds of

Re: question about IO-sched

2012-07-15 Thread gaoqiang
aiting for reads (as Anticipatory in old kernels, and now CFQ) can achieve higher read to write ratios. Cheers Corrado On Thu, Jul 12, 2012 at 11:01 AM, gaoqiang wrote: Hi,all I have long known that deadline is read-prefered. but a simple test gives the opposite result.