From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QrPgf-0006aC-Bb for garchives@archives.gentoo.org; Thu, 11 Aug 2011 07:28:22 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 87B4621C2F5; Thu, 11 Aug 2011 07:28:08 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id AAF5D21C025 for ; Thu, 11 Aug 2011 07:27:05 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 18F181B401C for ; Thu, 11 Aug 2011 07:27:05 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Score: -2.939 X-Spam-Level: X-Spam-Status: No, score=-2.939 required=5.5 tests=[AWL=-0.340, BAYES_00=-2.599] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ya7ThUPJonnZ for ; Thu, 11 Aug 2011 07:26:55 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by smtp.gentoo.org (Postfix) with ESMTP id 7EC0A1B400E for ; Thu, 11 Aug 2011 07:26:55 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QrPfG-0002k9-9q for gentoo-user@gentoo.org; Thu, 11 Aug 2011 09:26:50 +0200 Received: from athedsl-378805.home.otenet.gr ([79.131.31.179]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Aug 2011 09:26:50 +0200 Received: from realnc by athedsl-378805.home.otenet.gr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Aug 2011 09:26:50 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Nikos Chantziaras Subject: [gentoo-user] Re: Custom Timer Frequency (CONFIG_HZ)? Date: Thu, 11 Aug 2011 10:27:13 +0300 Organization: Lucas Barks Message-ID: References: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: athedsl-378805.home.otenet.gr User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20110705 Thunderbird/5.0 In-Reply-To: X-Archives-Salt: X-Archives-Hash: 302be0e27dfa63c1f2fbbbec5045768d On 08/11/2011 09:56 AM, Pandu Poluan wrote: > Just wondering, is it possible to specify a custom timer frequency? > E.g., HZ=500 instead of one of the canned values (100, 250, 300, > 1000). It is possible, but it's a bad idea because non-standard values can result in driver breakage. Some code assumes specific timer granularities (100Hz = 10ms, 250Hz = 4ms, etc). This usually happens with values above 1000Hz, so it might be possible to experiment with non-standard sub-1000Hz values. But why do you want a custom value anyway?