linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* RFC: swaptrace tool
@ 2008-04-01  8:54 Peter Teoh
  2008-04-01  9:31 ` Peter Chubb
  2008-04-01 10:26 ` Mulyadi Santosa
  0 siblings, 2 replies; 11+ messages in thread
From: Peter Teoh @ 2008-04-01  8:54 UTC (permalink / raw)
  To: Kernel Newbies, linux-mm

Go through this:

http://linux-mm.org/LinuxMMProjects

and u find there is no swaptrace.   What I want is a visualization of
how the swap is being use.   So once the operation is started, all
swap operation will be immediately written to an area in memory,
showing how the swap is written - the destination begin offset /
destination end offset/size info, and by what process/task - and its
correspond source begin offset, and source end offset.   The data
content itself will not be recorded.   Then after some time, via
ioctl() control, it will be stopped, and all that have been written to
memory will be flushed out to a file.   This flushing to external file
only take place after the data collection has stopped, otherwise, the
swap operations itself will affect the behavior of the swap, thus
rendering the data collection invalid.

The purpose of this trace is to see/oberver how the swap is being
used, whether any algor can help to cluster the swap together so as to
enhance swap batch processing etc.

Any comment on this idea?   Will it be useful?

-- 
Regards,
Peter Teoh

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2008-04-02  8:50 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-01  8:54 RFC: swaptrace tool Peter Teoh
2008-04-01  9:31 ` Peter Chubb
2008-04-01 10:26 ` Mulyadi Santosa
2008-04-01 12:27   ` KOSAKI Motohiro
2008-04-02  1:23     ` Mulyadi Santosa
2008-04-02  2:58       ` KOSAKI Motohiro
2008-04-02  3:28         ` Peter Teoh
     [not found]           ` <47F301E2.6060403@gmail.com>
2008-04-02  5:52             ` Mulyadi Santosa
     [not found]         ` <f284c33d0804012249vb16325fpb9946487140c5905@mail.gmail.com>
2008-04-02  7:52           ` Peter Teoh
2008-04-02  7:55             ` KOSAKI Motohiro
2008-04-02  8:50               ` Peter Teoh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox