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 from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ