=== NCommand` is now known as NCommander | ||
Kernel_n00b | Hi... | 23:19 |
---|---|---|
Kernel_n00b | Hmmm... where can I ask questions regarding Linux Kernel ? (Memory Swapping to be exact) ? | 23:20 |
Kernel_n00b | Hello ? | 23:22 |
Kernel_n00b | ? | 23:24 |
billybigrigger | might take awhile to get an answer | 23:27 |
billybigrigger | but someone usually does answer | 23:27 |
Kernel_n00b | Oh... | 23:32 |
Kernel_n00b | So I'd better just post it here..... | 23:32 |
Kernel_n00b | Hi, | 23:33 |
Kernel_n00b | I need to measure the time consume by the Page-Fault process. | 23:33 |
billybigrigger | best bet ya | 23:33 |
Kernel_n00b | I'm trying to measure the software's overhead (no including the HDD overhead). | 23:33 |
Kernel_n00b | I'm using Ubuntu 9.04 running Linux Kernel 2.6.28 | 23:33 |
Kernel_n00b | I have a small application which generates Page-Fault and then calculate the time (user mode) it is handled. | 23:33 |
Kernel_n00b | In order to deduce the IO (HDD) Time, I try to wrap the following section: | 23:33 |
Kernel_n00b | file : linux/mm/page_io.c | 23:33 |
Kernel_n00b | function: int swap_readpage() | 23:33 |
Kernel_n00b | bio = get_swap_bio(GFP_KERNEL, page_private(page), page, | 23:34 |
Kernel_n00b | end_swap_bio_read); | 23:34 |
Kernel_n00b | Is this the correct location ? | 23:34 |
Kernel_n00b | 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 |
Kernel_n00b | Any Suggestion ? | 23:34 |
Kernel_n00b | Thank you for your help. | 23:34 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!