=== NCommand` is now known as NCommander [23:19] Hi... [23:20] Hmmm... where can I ask questions regarding Linux Kernel ? (Memory Swapping to be exact) ? [23:22] Hello ? [23:24] ? [23:27] might take awhile to get an answer [23:27] but someone usually does answer [23:32] Oh... [23:32] So I'd better just post it here..... [23:33] Hi, [23:33] I need to measure the time consume by the Page-Fault process. [23:33] best bet ya [23:33] I'm trying to measure the software's overhead (no including the HDD overhead). [23:33] I'm using Ubuntu 9.04 running Linux Kernel 2.6.28 [23:33] I have a small application which generates Page-Fault and then calculate the time (user mode) it is handled. [23:33] In order to deduce the IO (HDD) Time, I try to wrap the following section: [23:33] file : linux/mm/page_io.c [23:33] function: int swap_readpage() [23:34] bio = get_swap_bio(GFP_KERNEL, page_private(page), page, [23:34] end_swap_bio_read); [23:34] Is this the correct location ? [23:34] In addition, in order to time the process correctly, I couldn't decide whether I should use "gettimeoftheday()" , RDTSC (on Intel's CPU) or maybe the new Intel's HPET. [23:34] Any Suggestion ? [23:34] Thank you for your help.