From owner-freebsd-hackers Mon May 17 16:20:26 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (Postfix) with ESMTP id 8BADE151CE for ; Mon, 17 May 1999 16:20:24 -0700 (PDT) (envelope-from julian@whistle.com) Received: from current1.whistle.com (current1.whistle.com [207.76.205.22]) by alpo.whistle.com (8.9.1a/8.9.1) with SMTP id QAA99656; Mon, 17 May 1999 16:19:14 -0700 (PDT) Message-ID: <3740A3F1.446B9B3D@whistle.com> Date: Mon, 17 May 1999 16:19:13 -0700 From: Julian Elischer Organization: Whistle Communications X-Mailer: Mozilla 3.0Gold (X11; I; FreeBSD 2.2.8-STABLE i386) MIME-Version: 1.0 To: Joao Carlos Mendes Luis Cc: Matthew Dillon , dg@root.com, hackers@FreeBSD.ORG Subject: Re: Seti project / stats reset, new version available References: <199905172119.SAA14200@roma.coe.ufrj.br> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 jonny@jonny.eng.br > Networking Enginner jcml@ieee.org > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message