From owner-freebsd-questions@FreeBSD.ORG Thu Sep 15 15:36:20 2005 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E40DD16A41F for ; Thu, 15 Sep 2005 15:36:20 +0000 (GMT) (envelope-from atissita@btv.lv) Received: from mail.4nets.lv (126-4.zlt1.4nets.lv [217.199.126.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A31243D46 for ; Thu, 15 Sep 2005 15:36:19 +0000 (GMT) (envelope-from atissita@btv.lv) Received: from localhost (4nets.lv [127.0.0.1]) by mail.4nets.lv (Postfix) with ESMTP id 18035B3C02A for ; Thu, 15 Sep 2005 18:33:07 +0300 (EEST) Received: from mail.4nets.lv ([127.0.0.1]) by localhost (mail.4nets.lv [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 22242-01 for ; Thu, 15 Sep 2005 18:33:06 +0300 (EEST) Received: from plausha.net (unknown [217.199.123.36]) by mail.4nets.lv (Postfix) with SMTP id 918BAB3C021 for ; Thu, 15 Sep 2005 18:33:06 +0300 (EEST) Date: Thu, 15 Sep 2005 18:36:41 +0300 From: Atis To: questions@freebsd.org Message-Id: <20050915183641.6cd744a2.atissita@btv.lv> X-Mailer: Sylpheed version 2.0.0beta5 (GTK+ 2.6.9; i386-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at 4nets.lv Cc: Subject: keeping CPU usage low X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Sep 2005 15:36:21 -0000 Hi, Is there a way to make the kernel HALT the CPU regularly even when it has got runnable processes? Sort of like increasing the idle thread priority? The problem is with one my computers which has a buggy CPU. No matter how many or how powerful fans I install, when there's a CPU usage of 100% for over ~5 minutes it just overheats and crashes the system. If the CPU usage on average never exceeds, say, 80%, the system keeps functioning just fine. Therefore it'd be a shame to throw the cpu out just for this reason. So is it possible to make the kernel always keep CPU usage lower than some value? Maybe without hacking the source? Atis