RE: Why HZ on i386 is 100 ?

Davide Libenzi (davidel@xmailserver.org)
Tue, 16 Apr 2002 18:02:17 -0700 (PDT)


On Tue, 16 Apr 2002, Chen, Kenneth W wrote:

> If you change HZ to 1000, you need to change PROC_CHANGE_PENALTY
> accordingly. Otherwise, process would get preempted before its time slice
> gets expired. The net effect is more context switch than necessary, which
> could explain the 10% difference.

that might be the case. i was not running the latsched sampler during that
test, that would have helped me in detecting extra task bounces/cs

- Davide

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/