From owner-freebsd-current@FreeBSD.ORG Tue Feb 19 09:54:38 2013 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 785342E7 for ; Tue, 19 Feb 2013 09:54:38 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-wg0-f49.google.com (mail-wg0-f49.google.com [74.125.82.49]) by mx1.freebsd.org (Postfix) with ESMTP id 0FCE8D76 for ; Tue, 19 Feb 2013 09:54:37 +0000 (UTC) Received: by mail-wg0-f49.google.com with SMTP id 15so5204177wgd.28 for ; Tue, 19 Feb 2013 01:54:31 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:content-type:mime-version:subject:from:in-reply-to:date :cc:content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=9hucVFXNLVKd027vzNXvydJF12POTddTkIY4Wh/u9rY=; b=fss+WRqGwn1KYBaDUR9MKFKzJ7PJYFXjxMYxRDRA0G/zDjJIoJZhEuLCskxnN5JGGK 111RhbMnNa0nl71uJjNCm/CxPH9yBhSMxlTLwOwVi4lRF+JPL78VEFbPM4VD6wu98H/u ugIwps3HkzxlC/cvZXv3PTp4j3m91AfL+GLIixFJJhA2RC6ldg7iyV+Lu70pq5RfLacp EibAi7hEw9+aDYE54u9MXnsQS2UYbMaiwy+/dQlmDA/QyAKqttodjjI143l/ax6TrCZN 592eK2FfvX3jkqiPuQWWF49/EwzSS1oOjDMDGTFjphIj0rS5eeHDSlGm3KgGy2FBmcdY xkXg== X-Received: by 10.180.107.70 with SMTP id ha6mr11032210wib.10.1361267671339; Tue, 19 Feb 2013 01:54:31 -0800 (PST) Received: from dfleuriot-at-hi-media.com ([83.167.62.196]) by mx.google.com with ESMTPS id cf8sm14181083wib.1.2013.02.19.01.54.29 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 19 Feb 2013 01:54:30 -0800 (PST) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: system 20% busy at all times? From: Fleuriot Damien In-Reply-To: Date: Tue, 19 Feb 2013 10:54:31 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <36DD2FB4-E26A-4F03-95D9-FFD855957269@my.gd> References: To: "Eggert, Lars" X-Mailer: Apple Mail (2.1499) X-Gm-Message-State: ALoCoQn0MiljYngA8pz/+hpDItUGfmnB1La6kJVAEiWtTvw9g4U9XVPgrARuiLsia4K99Nuy9IxZ Cc: "current@freebsd.org" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Feb 2013 09:54:38 -0000 On Feb 19, 2013, at 10:44 AM, "Eggert, Lars" wrote: > Hi, >=20 > On Feb 19, 2013, at 10:40, Fleuriot Damien > wrote: >> What about reviewing top(1) ? >=20 > top shows the ~20% I mentioned: >=20 > last pid: 3176; load averages: 0.79, 0.80, 0.84 = up = 0+14:49:49 09:43:51 > 17 processes: 1 running, 16 sleeping > CPU: 0.0% user, 0.0% nice, 18.7% system, 0.0% interrupt, 81.3% idle > Mem: 32M Active, 9456K Inact, 196M Wired, 19M Buf, 15G Free > Swap:=20 >=20 Ok the ~20% is from the system itself. >=20 >> or possibly ps(1) aufx >=20 > # ps -aufx > USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND > root 10 346.8 0.0 0 64 - RL 6:54PM 2862:46.43 [idle] > root 0 64.1 0.0 0 496 - DLs 6:54PM 694:47.32 [kernel] >=20 65% of a CPU core only for the kernel... >=20 >=20 >> At least you should be able to see what takes up CPU: >> - system >> - user processes >> - interrupts >=20 > # vmstat -i > interrupt total rate > irq3: uart1 11535 0 > irq4: uart0 1227 0 > irq9: acpi0 1989762564 37379 > irq16: uhci0 uhci1+ 393 0 > cpu0:timer 32147924 603 > irq270: em4 1907258 35 > cpu3:timer 63027976 1184 > cpu2:timer 56428246 1060 > cpu1:timer 44799884 841 > Total 2188087007 41104 >=20 > So it seems that irq 9 is firing a whole lot. Why? And indeed we find your answer here, acpi0 firing up a lot of = interrupts. Don't you get any message about that in dmesg -a or /var/log/messages ? I'd expect something like "interrupt storm blabla=85 source throttled = blabla.." =46rom man 4 acpi , in /boot/loader.conf : hint.acpi.0.disabled=3D1 Set this to 1 to disable all of ACPI. If ACPI has been = disabled on your system due to a blacklist entry for your BIOS, you = can set this to 0 to re-enable ACPI for testing. Any chance you could reboot the host with ACPI disabled ? If that helps your CPU load, try setting this in /boot/loader.conf : hw.acpi.verbose=3D1 Turn on verbose debugging information about what ACPI is doing. Hoping this gets some logs :)