Joao Carlos Mendes Luis wrote:
> 
> #define quoting(Matthew Dillon)
> //     This reduces the effect an idprio seti background task has on the rest 
> of
> //     the system.
> 
>   Yeah...  I was going to ask just this.  My users complained about
> server response after starting setiathome.
> 
> // sysctl -w kern.quantum=20000
> 
>   Humm, my systems are configured with a value with 10:

WARNING:

on 3.1 or 2.2.8 it has the inverse action to that required..
(braino on my part)
so I think it needs to be set to the inverse of20mSec which is 50Hz
(i.e. set it to 50 to achieve the same result.. this is confusing
but ....)

julian


> 
> krakatoa::root [650] sysctl kern | grep quantum
> kern.quantum: 10
> 
>   This both in 3.1-stable (Early May) and 2.2.8-stable (latest).
> 
>   Are you talking about a 4.0-current setup ?
> 
> //     The default is 100,000 ( 100ms ) which, for a modern cpu, is
> //     much more chunky then it needs to be.  Reducing it to 20ms
> //     makes a big difference.  At 100000 I can feel the slow response
> //     with seti running in the background.  At 20000 it is much less
> //     pronounced.
> 
>   What are the drawbacks of this ?  More CPU time spent in context
> switches ?

yeah a TINY amount more.

> 
>                                         Jonny
> 
> --
> João Carlos Mendes Luís                 [email protected]
>   Networking Enginner                   [email protected]
> 
> To Unsubscribe: send mail to [email protected]
> with "unsubscribe freebsd-hackers" in the body of the message


To Unsubscribe: send mail to [email protected]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to