lkml.org 
[lkml]   [2009]   [Jun]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Patch] mm tracepoints update - use case.
KOSAKI Motohiro wrote:
>> On Wed, 2009-04-22 at 08:07 -0400, Larry Woodman wrote:

>> Attached is an example of what the mm tracepoints can be used for:
>
> I have some comment.
>
> 1. Yes, current zone_reclaim have strange behavior. I plan to fix
> some bug-like bahavior.
> 2. your scenario only use the information of "zone_reclaim called".
> function tracer already provide it.
> 3. but yes, you are going to proper direction. we definitely need
> some fine grained tracepoint in this area. we are welcome to you.
> but in my personal feeling, your tracepoint have worthless argument
> a lot. we need more good information.
> I think I can help you in this area. I hope to work together.

Sorry I am replying to a really old email, but exactly
what information do you believe would be more useful to
extract from vmscan.c with tracepoints?

What are the kinds of problems that customer systems
(which cannot be rebooted into experimental kernels)
run into, that can be tracked down with tracepoints?

I can think of a few:
- excessive CPU use in page reclaim code
- excessive reclaim latency in page reclaim code
- unbalanced memory allocation between zones/nodes
- strange balance problems between reclaiming of page
cache and swapping out process pages

I suspect we would need fairly fine grained tracepoints
to track down these kinds of problems, with filtering
and/or interpretation in userspace, but I am always
interested in easier ways of tracking down these kinds
of problems :)

What kinds of tracepoints do you believe we would need?

Or, using Larry's patch as a starting point, what do you
believe should be changed?

--
All rights reversed.


\
 
 \ /
  Last update: 2009-06-15 20:29    [from the cache]
©2003-2011 Jasper Spaans