21 Sep, 2005

1 commit

  • The problem is in the ondemand governor, there is a periodic measurement
    of the CPU usage. This CPU usage is updated by the scheduler after every
    tick (basically, by adding 1 either to "idle" or to "user" or to
    "system"). So if the frequency of the governor is too high, the stat
    will be meaningless (as mostly no number have changed).

    So this patch checks that the measurements are separated by at least 10
    ticks. It means that by default, stats will have about 5% error (20
    ticks). Of course those numbers can be argued but, IMHO, they look sane.
    The patch also includes a small clean-up to check more explictly the
    result of the conversion from ns to µs being null.

    Let's note that (on x86) this has never been really needed before 2.6.13
    because HZ was always 1000. Now that HZ can be 100, some CPU might be
    affected by this problem. For instance when HZ=100, the centrino ,which
    has a 10µs transition latency, would lead to the governor allowing to
    read stats every tick (10ms)!

    Signed-off-by: Eric Piel
    Signed-off-by: Dave Jones

    Dave Jones
     

01 Jun, 2005

10 commits


17 Apr, 2005

1 commit

  • Initial git repository build. I'm not bothering with the full history,
    even though we have it. We can create a separate "historical" git
    archive of that later if we want to, and in the meantime it's about
    3.2GB when imported into git - space that would just make the early
    git days unnecessarily complicated, when we don't have a lot of good
    infrastructure for it.

    Let it rip!

    Linus Torvalds