Re: [PATCH 1/1] mm: vmstat: introducing vm counter for slowpath

2015-08-13 Thread Michal Hocko
On Wed 12-08-15 20:22:10, PINTU KUMAR wrote: > > On Mon 10-08-15 15:15:06, PINTU KUMAR wrote: [...] > > > Yes, as par my analysis, I feel that this is one of the useful and > > > important interface. > > > I added it in one of our internal product and found it to be very useful. > > > Specially dur

RE: [PATCH 1/1] mm: vmstat: introducing vm counter for slowpath

2015-08-12 Thread PINTU KUMAR
.com; > mgor...@suse.de; vba...@suse.cz; js1...@gmail.com; > han...@cmpxchg.org; alexander.h.du...@redhat.com; > sasha.le...@oracle.com; c...@linux.com; fengguang...@intel.com; > c...@samsung.com; pintu_agar...@yahoo.com; pint...@outlook.com; > vishnu...@samsung.com; rohit...@samsun

Re: [PATCH 1/1] mm: vmstat: introducing vm counter for slowpath

2015-08-11 Thread Michal Hocko
On Mon 10-08-15 15:15:06, PINTU KUMAR wrote: [...] > > > Regarding trace points, I am not sure if we can attach counter to it. > > > Also trace may have more over-head and requires additional configs to > > > be enabled to debug. > > > Mostly these configs will not be enabled by default (at least i

RE: [PATCH 1/1] mm: vmstat: introducing vm counter for slowpath

2015-08-10 Thread PINTU KUMAR
.@samsung.com > Subject: Re: [PATCH 1/1] mm: vmstat: introducing vm counter for slowpath > > On Fri, 07 Aug 2015 18:16:47 +0530 PINTU KUMAR > wrote: > > > > > This is useful to know the rate of allocation success within the > > > > slowpath. > > > >

Re: [PATCH 1/1] mm: vmstat: introducing vm counter for slowpath

2015-08-07 Thread Andrew Morton
On Fri, 07 Aug 2015 18:16:47 +0530 PINTU KUMAR wrote: > > > This is useful to know the rate of allocation success within the > > > slowpath. > > > > What would be that information good for? Is a regular administrator expected > to > > consume this value or this is aimed more to kernel developers

Re: [PATCH 1/1] mm: vmstat: introducing vm counter for slowpath

2015-08-07 Thread Michal Hocko
On Fri 07-08-15 18:16:47, PINTU KUMAR wrote: [...] > > On Fri 07-08-15 12:38:54, Pintu Kumar wrote: > > > This patch add new counter slowpath_entered in /proc/vmstat to track > > > how many times the system entered into slowpath after first allocation > > > attempt is failed. > > > > This is too l

RE: [PATCH 1/1] mm: vmstat: introducing vm counter for slowpath

2015-08-07 Thread PINTU KUMAR
com > Subject: Re: [PATCH 1/1] mm: vmstat: introducing vm counter for slowpath > > On Fri 07-08-15 12:38:54, Pintu Kumar wrote: > > This patch add new counter slowpath_entered in /proc/vmstat to track > > how many times the system entered into slowpath after first allocation

Re: [PATCH 1/1] mm: vmstat: introducing vm counter for slowpath

2015-08-07 Thread Sergey Senozhatsky
On (08/07/15 12:38), Pintu Kumar wrote: > This patch add new counter slowpath_entered in /proc/vmstat to > track how many times the system entered into slowpath after > first allocation attempt is failed. > This is useful to know the rate of allocation success within > the slowpath. > This patch is

Re: [PATCH 1/1] mm: vmstat: introducing vm counter for slowpath

2015-08-07 Thread Michal Hocko
On Fri 07-08-15 12:38:54, Pintu Kumar wrote: > This patch add new counter slowpath_entered in /proc/vmstat to > track how many times the system entered into slowpath after > first allocation attempt is failed. This is too lowlevel to be exported in the regular user visible interface IMO. > This i