From owner-freebsd-security Sun Aug 22 4:44:10 1999 Delivered-To: freebsd-security@freebsd.org Received: from maxim.gba.oz.au (gba.tmx.com.au [203.9.155.249]) by hub.freebsd.org (Postfix) with SMTP id 4ED5614D1A for ; Sun, 22 Aug 1999 04:43:46 -0700 (PDT) (envelope-from gjb-freebsd@gba.oz.au) Received: (qmail 23440 invoked from network); 22 Aug 1999 18:23:17 +1000 Received: from alice.gba.oz.au (192.168.1.11) by maxim.gba.oz.au with SMTP; 22 Aug 1999 18:23:17 +1000 Received: (qmail 6457 invoked by uid 1001); 22 Aug 1999 18:23:16 +1000 Message-ID: <19990822082316.6456.qmail@alice.gba.oz.au> X-Posted-By: GBA-Post 1.03 20-Sep-1998 X-PGP-Fingerprint: 5A91 6942 8CEA 9DAB B95B C249 1CE1 493B 2B5A CE30 Date: Sun, 22 Aug 1999 18:23:15 +1000 From: Greg Black To: sthaug@nethelp.no Cc: andrews@TECHNOLOGIST.COM, brett@lariat.org, freebsd-security@FreeBSD.ORG Subject: Re: Securelevel 3 ant setting time References: <19990820214657.1605.qmail@alice.gba.oz.au> <50744.935188518@verdi.nethelp.no> In-reply-to: <50744.935188518@verdi.nethelp.no> of Sat, 21 Aug 1999 00:35:18 +0200 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org sthaug@nethelp.no writes: > > It may be worth noting that timed is much smaller and uses much > > less CPU than xntpd. > > That's probably true - but on today's systems it's also for the most > part completely irrelevant. No it's not irrelevant. FreeBSD proclaims that it can run happily on old slow hardware. It can. But not by wasting resources for long-running daemons. And, no matter how fast your hardware, it is still desirable that programs that run from boot to shutdown not waste memory or CPU. It doesn't really matter on a modern system if gcc is a pig since it's used in a transient manner. But it does matter if the daemons are pigs. > On a P-166 here an xntpd process which has > been running for 27 days has used all of 255 CPU seconds (ie. something > like 0.01%). It has a RSS of 476 kByte. I re-started all my timed processes 135 hours ago because of a change in network topology. Since then, the FreeBSD versions have used less than half a second of CPU which is more than 100 times less than you show for xntpd. And on the old 486-33 which is the server, the CPU has only clocked up a few seconds. -- Greg Black -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message