Re: Uni-Processor vs. SMP workstations ...

From: Julian Stacey <jhs(at)jhs.muc.de>
Date: Thu, 23 Dec 1999 02:04:06 +0100

> From: Bernd Walter <ticso(at)cicely.de>
Hi,
Bernd Walter wrote:
> Wenn die load uerber 1 liegt, dann ist fuer gewoehnlich das interaktive
> arbeiten nicht mehr sooo toll.
> Ein verkleinern der Zeitscheiben wirkt hierbei oft Wunder:
> sysctl -w kern.quantum=10000

Interessant. `sysctl kern.quantum` liefert: kern.quantum: 100000
Wohin ist 100000 definiert ?
Ich sehe es nicht im freebsd/current/src/sys/sys/sysctl.h
& 3.4-RELEASE man 3 sysctl liefert nur
     More variables than these exist, and the best and likely only place to
     search for their deeper meaning is undoubtedly the source where they are
     defined.

vi -c/SYSCTL_PROC /sys/kern/kern_synch.c
liefert
        hogticks = 2 * sched_quantum;
        ............
        SYSCTL_PROC(_kern, OID_AUTO, quantum, CTLTYPE_INT|CTLFLAG_RW,
        0, sizeof sched_quantum, sysctl_kern_quantum, "I", "");
aber von wohin dieses 100000 ?

PS Ich habe eine send-pr geschikt so dass wir bekomen quantum im docu.

Julian
Julian H. Stacey http://www.freebsd.org/~jhs/ http://www.jhs.muc.de
  FreeBSD-3.4: Free system software with 2900 free packages, Linux compatible.

To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-chat" in the body of the message
Received on Thu 23 Dec 1999 - 02:31:37 CET

search this site