From owner-freebsd-hackers Thu Jan 31 9:56:34 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from intranet.ru (tcms8.intranet.ru [212.164.0.135]) by hub.freebsd.org (Postfix) with ESMTP id 2814A37B405 for ; Thu, 31 Jan 2002 09:56:22 -0800 (PST) Received: from [195.151.139.2] (account ) by intranet.ru (CommuniGate Pro WebUser 3.4.8) with HTTP id 8711515 for ; Thu, 31 Jan 2002 23:56:20 +0600 From: "Eugene Panchenko" Subject: Clock Granularity (kernel option HZ) To: hackers@freebsd.org X-Mailer: CommuniGate Pro Web Mailer v.3.4.8 Date: Thu, 31 Jan 2002 23:56:20 +0600 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="KOI8-R" 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 Hello! I've seen various postings on the Net where people reported network-related and overall performance improvements caused by settig HZ kernel option to 1000 (for example), that is, reducing a tick size to 1ms for their FreeBSD and Linux systems. However, several problems seem to arise, such as some device drivers do not include HZ in calculating their timeout value, but simply assume HZ to be 100, and also some utility programs such as top or ps take timing information from the kernel in ticks, also assuming 10ms ticks, however, most of these saying were related to Linux. How safe it is to bump up HZ to, say, 1000 in FreeBSD (I use 4.5-STABLE)? What pitfals will I encounter (drivers, top/ps)? Is there are going to be [promised] performance increase? Do I really need it? Thank you. ____________________________________________________________ Сделайте себе подарок - http://ngs.ru/tovar To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message