Re: random slow query
2009-07-01 00:11:19 GMT
On 6/30/09 2:39 PM, "Mike Ivanov" <mikei <at> activestate.com> wrote: > Scott Carey wrote: >>> 222 / 8 cores = ridiculous 27 processes per core, while the OP has 239 >> That's not rediculous at all. Modern OS's handle thousands of idle >> processes just fine. >> >> > I meant that 27 was a ridiculously small number. > >> Or you can control the behavior with the following kenrnel params: >> vm.swappiness >> vm.dirty_ratio >> vm.dirty_background ratio >> > Thanks for pointing that out! > >> Actually, no. When a process wakes up only the pages that are needed are >> accessed. For most idle processes that wake up from time to time, a small >> bit of work is done, then they go back to sleep. This initial allocation >> does NOT come from the page cache, but from the "buffers" line in top. The >> os tries to keep some ammount of free buffers not allocated to processes or >> pages available, so that allocation demands can be met without having to >> synchronously decide which buffers from page cache to eject. >> > Wait a second, I'm trying to understand that(Continue reading)> Did you mean that FS cache pages are first allocated from the buffer > pages or that process memory being paged out to swap is first written to > buffers? Could you clarify please?
> Did you mean that FS cache pages are first allocated from the buffer
> pages or that process memory being paged out to swap is first written to
> buffers? Could you clarify please?
RSS Feed