From owner-freebsd-hackers@FreeBSD.ORG Fri May 5 04:38:35 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 02C9416A402 for ; Fri, 5 May 2006 04:38:35 +0000 (UTC) (envelope-from oceanare@pacific.net.sg) Received: from smtpgate4.pacific.net.sg (smtpgate4.pacific.net.sg [203.81.36.24]) by mx1.FreeBSD.org (Postfix) with SMTP id 036B543D45 for ; Fri, 5 May 2006 04:38:33 +0000 (GMT) (envelope-from oceanare@pacific.net.sg) Received: (qmail 12071 invoked from network); 5 May 2006 04:38:32 -0000 Received: from maxwell2.pacific.net.sg (203.120.90.192) by smtpgate4.pacific.net.sg with SMTP; 5 May 2006 04:38:31 -0000 Received: from [192.168.0.107] ([210.24.122.33]) by maxwell2.pacific.net.sg with ESMTP id <20060505043830.VQIM28656.maxwell2.pacific.net.sg@[192.168.0.107]>; Fri, 5 May 2006 12:38:30 +0800 Message-ID: <445AD6B4.7050407@pacific.net.sg> Date: Fri, 05 May 2006 12:38:12 +0800 From: Erich Dollansky Organization: oceanare pte ltd User-Agent: Thunderbird 1.5.0.2 (X11/20060501) MIME-Version: 1.0 To: Eric Anderson References: <445AB56F.8090907@centtech.com> <445AC174.5050102@pacific.net.sg> <445AC46F.30702@centtech.com> <445AD048.80305@pacific.net.sg> <445AD1AC.1070902@centtech.com> <445AD300.1020808@pacific.net.sg> <445AD50B.2060107@centtech.com> In-Reply-To: <445AD50B.2060107@centtech.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: Core Duo - only one cpu being used X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 May 2006 04:38:35 -0000 Hi, Eric Anderson wrote: > Erich Dollansky wrote: >> Hi, >> >> Eric Anderson wrote: >>> >>> PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU >>> COMMAND >>> 11 root 1 171 52 0K 8K CPU1 0 0:00 99.02% >>> idle: cpu1 >>> 2653 root 1 128 0 18564K 17560K RUN 0 0:01 34.00% >>> cc1plus >> >> could it be that it is just a problem with top itself? >> >> It cannot be that CPU1 uses 99% for the idle process and 34% for the >> compiler. >> >> Play with the other sort options. You might find the the idle process >> for CPU0. > > Is this what you want: > > $ ps -auxw | grep idle > root 11 99.0 0.0 0 8 ?? RL 7:45PM 0:00.00 [idle: cpu1] > root 12 0.0 0.0 0 8 ?? RL 7:45PM 51:04.57 [idle: cpu0] > something is really wrong here. CPU1 gets 99% of the time but uses then only 0 seconds while CPU0 gets 0% of the time but uses 51 hours? This is, what I get: root 11 98.2 0.0 0 8 ?? RL 21Apr06 19013:02.26 [idle: cpu1] root 12 94.9 0.0 0 8 ?? RL 21Apr06 18456:39.99 [idle: cpu0] This is a dual-Athlon system running 6.1 RC1. Erich