From owner-freebsd-hackers Thu Jan 31 16:10:58 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.webjockey.net (mail.webjockey.net [208.141.46.3]) by hub.freebsd.org (Postfix) with ESMTP id 5826337B404 for ; Thu, 31 Jan 2002 16:10:52 -0800 (PST) Received: from outloud.org (IDENT:nobody@home.webjockey.net [208.141.46.11]) (authenticated) by mail.webjockey.net (8.11.6/8.11.6) with ESMTP id g110Abx48012; Thu, 31 Jan 2002 19:10:37 -0500 (EST) (envelope-from gary@outloud.org) Received: from 208.141.46.249 (proxying for 63.68.129.181) (SquirrelMail authenticated user ancient) by test.outloud.org with HTTP; Thu, 31 Jan 2002 19:10:51 -0500 (EST) Message-ID: <3503.208.141.46.249.1012522251.squirrel@test.outloud.org> Date: Thu, 31 Jan 2002 19:10:51 -0500 (EST) Subject: Re: Clock Granularity (kernel option HZ) From: "Storms of Perfection" To: X-XheaderVersion: 1.1 X-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Q312461) In-Reply-To: <005b01c1aaaf$e38ecd70$34f820c0@ix1x1000> References: <005b01c1aaaf$e38ecd70$34f820c0@ix1x1000> X-Priority: 3 Importance: Normal X-MSMail-Priority: Normal Cc: , , , X-Mailer: SquirrelMail (version 1.2.5 [cvs]) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Ok. Since I have a limited hardware/software set at my finger tips. I can generate an attack on my machine (such as a synflood or something) to see what type of reponses I can get by setting it up and down. I think this may apply to this feature, to help the machine withstand attacks (and possibly have performance related gains/decreases) I can't really play with gig-e or NFS at this second, so I ask you to play around with the setting and keep track of what does what, and send a email to me with what settings work best in foo enviornment :) > Not knowing but wondering: > With Gigabit Ethernet and NFS in the mix, anything that gets latency > out is a very good thing :-) and would improve performance. > > MJM > > > ----- Original Message ----- > From: "Mike Silbersack" > To: "Storms of Perfection" > Cc: ; ; > Sent: Thursday, January 31, 2002 12:33 PM > Subject: Re: Clock Granularity (kernel option HZ) > > >> >> On Thu, 31 Jan 2002, Storms of Perfection wrote: >> >> > I'm going to benchmark different network senarious with different > options >> > to see what I can get, and what works best. If someone wants to help >> > me out, I could maybe write up a article about it? >> >> I don't think you'll end up seeing the performance improvements you're >> looking for. The case where HZ=1000 is really useful is when using >> dummynet; the more accurate scheduling is necessary for it to handle >> high data rate pipes properly. >> >> The TCP stack, on the other hand, is perfectly happy with 10ms >> resolution. Retransmission timeouts are only actually used when loss >> occurs on the network, and 10ms is more than accurate enough for >> retransmission. (I believe that retransmit timeouts are rounded up to >> 1 second, but don't quote me on that.) The other timed events >> (keepalive timeouts, delayed ack timeouts, etc) are also in good shape >> with 10ms accuracy. >> >> So, it's highly unlikely that you'll be able to observe a perceptable >> difference in network performance except in really convoluted cases. >> >> Mike "Silby" Silbersack >> >> >> To Unsubscribe: send mail to majordomo@FreeBSD.org >> with "unsubscribe freebsd-hackers" in the body of the message Gary Stanley Network Security Engineer PRECISIONet/Webjockey, Inc. (877) 595-8570 Tickle us, do we not laugh? Prick us, do we not bleed? Wrong us, shall we not revenge?" (Merchant of Venice II i 56-63, paraphrase) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message