Re: 2.6.24-rc7: memory leak?

2008-01-17 Thread CaT
On Thu, Jan 17, 2008 at 09:22:50PM +0900, KOSAKI Motohiro wrote: > Hi > > > > > Should all this cache usage not be counted towards the > > > > 'Cached' entry in meminfo rather then getting counted as part of used > > > > ram. > > > > > > Cached is only the page-cache, not all the other caches

Re: 2.6.24-rc7: memory leak?

2008-01-17 Thread CaT
On Thu, Jan 17, 2008 at 01:21:51PM +0100, Peter Zijlstra wrote: > > If that's the case it would seem to be somewhat of a pain to get and > > kind of out of left field as I'd say most people would expect MemFree to > > indicate the amount of memory that's no longer freely available > > (ignoring

Re: 2.6.24-rc7: memory leak?

2008-01-17 Thread KOSAKI Motohiro
Hi > > > Should all this cache usage not be counted towards the > > > 'Cached' entry in meminfo rather then getting counted as part of used > > > ram. > > > > Cached is only the page-cache, not all the other caches we have.. > > This someones confuses people, but one gets used to it. slabinfo

Re: 2.6.24-rc7: memory leak?

2008-01-17 Thread Peter Zijlstra
On Thu, 2008-01-17 at 23:14 +1100, CaT wrote: > On Thu, Jan 17, 2008 at 01:07:12PM +0100, Peter Zijlstra wrote: > > On Thu, 2008-01-17 at 22:40 +1100, CaT wrote: > > > > How much memory does: > > > > > > > > echo 3 > /proc/sys/vm/drop_caches > > > > > > > > gain you? > > > > > > 56M used

Re: 2.6.24-rc7: memory leak?

2008-01-17 Thread CaT
On Thu, Jan 17, 2008 at 01:07:12PM +0100, Peter Zijlstra wrote: > On Thu, 2008-01-17 at 22:40 +1100, CaT wrote: > > > How much memory does: > > > > > > echo 3 > /proc/sys/vm/drop_caches > > > > > > gain you? > > > > 56M used now. > > Good :-) Indeed. :) > > Should all this cache usage not

Re: 2.6.24-rc7: memory leak?

2008-01-17 Thread Peter Zijlstra
On Thu, 2008-01-17 at 22:40 +1100, CaT wrote: > On Thu, Jan 17, 2008 at 12:22:03PM +0100, Peter Zijlstra wrote: > > On Thu, 2008-01-17 at 17:34 +1100, CaT wrote: > > > cache). During the rsync the memory used grew to just shy of 1.6gig and > > > now, about 2 hours after the rsync has well and

Re: 2.6.24-rc7: memory leak?

2008-01-17 Thread CaT
On Thu, Jan 17, 2008 at 12:22:03PM +0100, Peter Zijlstra wrote: > On Thu, 2008-01-17 at 17:34 +1100, CaT wrote: > > cache). During the rsync the memory used grew to just shy of 1.6gig and > > now, about 2 hours after the rsync has well and truly finished, the used > > memory is at 1.23gig. This is

Re: 2.6.24-rc7: memory leak?

2008-01-17 Thread Pekka Enberg
Hi, On Jan 17, 2008 8:34 AM, CaT <[EMAIL PROTECTED]> wrote: > There are 75 processes on the box of which almost 47 are kernel > processes + init. Of the rest, the top 3 have an RSS of 9.4meg, 6.2meg > and 4.8meg, 7 are at around 2meg and the rest are below 2meg with the > majority below 1. So

Re: 2.6.24-rc7: memory leak?

2008-01-17 Thread Peter Zijlstra
On Thu, 2008-01-17 at 17:34 +1100, CaT wrote: > Not sure where to begin so here goes anway. Today I did an rsync backup > of a server with 2million+ files. Before doing so the used memory on the > server this was initiated from was under 200meg (excluding buffers and > cache). During the rsync

Re: 2.6.24-rc7: memory leak?

2008-01-17 Thread Pekka Enberg
Hi, On Jan 17, 2008 8:34 AM, CaT [EMAIL PROTECTED] wrote: There are 75 processes on the box of which almost 47 are kernel processes + init. Of the rest, the top 3 have an RSS of 9.4meg, 6.2meg and 4.8meg, 7 are at around 2meg and the rest are below 2meg with the majority below 1. So unless

Re: 2.6.24-rc7: memory leak?

2008-01-17 Thread Peter Zijlstra
On Thu, 2008-01-17 at 17:34 +1100, CaT wrote: Not sure where to begin so here goes anway. Today I did an rsync backup of a server with 2million+ files. Before doing so the used memory on the server this was initiated from was under 200meg (excluding buffers and cache). During the rsync the

Re: 2.6.24-rc7: memory leak?

2008-01-17 Thread CaT
On Thu, Jan 17, 2008 at 12:22:03PM +0100, Peter Zijlstra wrote: On Thu, 2008-01-17 at 17:34 +1100, CaT wrote: cache). During the rsync the memory used grew to just shy of 1.6gig and now, about 2 hours after the rsync has well and truly finished, the used memory is at 1.23gig. This is what

Re: 2.6.24-rc7: memory leak?

2008-01-17 Thread KOSAKI Motohiro
Hi Should all this cache usage not be counted towards the 'Cached' entry in meminfo rather then getting counted as part of used ram. Cached is only the page-cache, not all the other caches we have.. This someones confuses people, but one gets used to it. slabinfo allows one to

Re: 2.6.24-rc7: memory leak?

2008-01-17 Thread Peter Zijlstra
On Thu, 2008-01-17 at 22:40 +1100, CaT wrote: On Thu, Jan 17, 2008 at 12:22:03PM +0100, Peter Zijlstra wrote: On Thu, 2008-01-17 at 17:34 +1100, CaT wrote: cache). During the rsync the memory used grew to just shy of 1.6gig and now, about 2 hours after the rsync has well and truly

Re: 2.6.24-rc7: memory leak?

2008-01-17 Thread CaT
On Thu, Jan 17, 2008 at 01:07:12PM +0100, Peter Zijlstra wrote: On Thu, 2008-01-17 at 22:40 +1100, CaT wrote: How much memory does: echo 3 /proc/sys/vm/drop_caches gain you? 56M used now. Good :-) Indeed. :) Should all this cache usage not be counted towards the

Re: 2.6.24-rc7: memory leak?

2008-01-17 Thread Peter Zijlstra
On Thu, 2008-01-17 at 23:14 +1100, CaT wrote: On Thu, Jan 17, 2008 at 01:07:12PM +0100, Peter Zijlstra wrote: On Thu, 2008-01-17 at 22:40 +1100, CaT wrote: How much memory does: echo 3 /proc/sys/vm/drop_caches gain you? 56M used now. Good :-) Indeed. :)

Re: 2.6.24-rc7: memory leak?

2008-01-17 Thread CaT
On Thu, Jan 17, 2008 at 01:21:51PM +0100, Peter Zijlstra wrote: If that's the case it would seem to be somewhat of a pain to get and kind of out of left field as I'd say most people would expect MemFree to indicate the amount of memory that's no longer freely available (ignoring swapping

Re: 2.6.24-rc7: memory leak?

2008-01-17 Thread CaT
On Thu, Jan 17, 2008 at 09:22:50PM +0900, KOSAKI Motohiro wrote: Hi Should all this cache usage not be counted towards the 'Cached' entry in meminfo rather then getting counted as part of used ram. Cached is only the page-cache, not all the other caches we have.. This

2.6.24-rc7: memory leak?

2008-01-16 Thread CaT
Not sure where to begin so here goes anway. Today I did an rsync backup of a server with 2million+ files. Before doing so the used memory on the server this was initiated from was under 200meg (excluding buffers and cache). During the rsync the memory used grew to just shy of 1.6gig and now, about

2.6.24-rc7: memory leak?

2008-01-16 Thread CaT
Not sure where to begin so here goes anway. Today I did an rsync backup of a server with 2million+ files. Before doing so the used memory on the server this was initiated from was under 200meg (excluding buffers and cache). During the rsync the memory used grew to just shy of 1.6gig and now, about