[lkml]   [2001]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: No 100 HZ timer !
    On Tue, Apr 10, 2001 at 12:18:03PM +0100, Alan Cox wrote:
    > > > interrupting decrementer. (i.e just about any modern chip)
    > >
    > > Just how would you do kernel/user CPU time accounting then ? It's currently done
    > > on every timer tick, and doing it less often would make it useless.
    > On the contrary doing it less often but at the right time massively improves
    > its accuracy. You do it on reschedule. An rdtsc instruction is cheap and all
    > of a sudden you have nearly cycle accurate accounting

    Does not sound very attractive all at all on non virtual machines (I see the point on
    making system entry/context switch/interrupts slower, making add_timer slower, just to
    process a few less timer interrupts. That's like robbing the fast paths for a slow path.

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:24    [W:0.019 / U:1.328 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site