From owner-freebsd-stable@FreeBSD.ORG Sun Apr 29 05:17:44 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B5736106564A for ; Sun, 29 Apr 2012 05:17:44 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by mx1.freebsd.org (Postfix) with ESMTP id 3AD8A8FC0A for ; Sun, 29 Apr 2012 05:17:44 +0000 (UTC) Received: by wibhj6 with SMTP id hj6so1452548wib.13 for ; Sat, 28 Apr 2012 22:17:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=qM9+XEeGCIniAse/KnTCwe3z51zLYaxT6HGj0zRkGvY=; b=rhAI8016C+3BiyEFpgorQON2LZjTnB+rH8NOcXHwYj39ohZo37JAGm7y4INrV/xXL/ rHiBUipHVA6damq3DfRDcWyynmSHIYeDRjtH+h6OW79BvKASLiAUWw0BKxEtMBDYyJNz k9hsXcrAbvHlT0a/3GHv9mK5JxpxLjxeikdNz2piD7Kl0L4DeR79NYom/cbELJk89V6/ UiAxOkbCXfxayoef2fb2CnSPUpQBoKWx5IZ3zAxsE+VJnFCgdRQPgxNV7gDWNVbTYPtD gTZcrmnM5gMcG9G8WBJeFwtIrvuwBJqNgYthnfLWTP4+qTG0b2Dy3c8PAX7/UWcqomkg Ralw== Received: by 10.181.12.82 with SMTP id eo18mr19228302wid.2.1335676662455; Sat, 28 Apr 2012 22:17:42 -0700 (PDT) Received: from mavbook2.mavhome.dp.ua (pc.mavhome.dp.ua. [212.86.226.226]) by mx.google.com with ESMTPS id fl2sm28597348wib.2.2012.04.28.22.17.39 (version=SSLv3 cipher=OTHER); Sat, 28 Apr 2012 22:17:40 -0700 (PDT) Sender: Alexander Motin Message-ID: <4F9CCEF2.6050609@FreeBSD.org> Date: Sun, 29 Apr 2012 08:17:38 +0300 From: Alexander Motin User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.3) Gecko/20120328 Thunderbird/10.0.3 MIME-Version: 1.0 To: Oliver Pinter References: <20120427203013.GB60961@pcjas.obspm.fr> <20120427213459.GA61125@pcjas.obspm.fr> <4F9B946D.3030607@FreeBSD.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: Albert Shih , freebsd-stable@FreeBSD.org Subject: Re: High load event idl. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Apr 2012 05:17:44 -0000 On 04/29/12 01:53, Oliver Pinter wrote: > Attached the ktr file. This is on core2duo P9400 cpu ( > smbios.system.product="HP ProBook 5310m (WD792EA#ABU)" ). The workload > is only a single user boost: sh + top running, but the load average is > near 0.5. ktr shows no real load there. But it shows that you are using dummynet, that schedules its runs on every hardclock tick. I believe that load you see is the result or synchronization between dummynet calls and loadvg sampling, both of which called from hardclock. I think removing dummynet from equation, should hide this problem and also reduce you laptops power consumption. What's about fixing this, it is loadavg sampling algorithm that should be changed. Fixing dummynet to not run on every hardclock tick would also be great. > On 4/28/12, Alexander Motin wrote: >> On 04/28/12 00:34, Albert Shih wrote: >>> Le 27/04/2012 ? 22:45:40+0200, Oliver Pinter a écrit >>>>> I'm running 9-stable on all my computer. (csup yesterday). >>>>> >>>>> On my desktop everything is fine. But I've two laptop, (both are Dell). >>>>> On >>>>> both latptop I've problem about the load, event when I do nothing I got >>>>> a >>>>> load between 0.5-1. >>>>> >>>>> Here the result of a «top» on the laptop : >>>>> >>>>> last pid: 2434; load averages: 0.63, 0.67, 0.59 up 0+00:23:59 >>>>> 22:25:29 >>>>> 57 processes: 3 running, 54 sleeping >>>>> CPU: 2.7% user, 0.0% nice, 3.7% system, 1.4% interrupt, 92.2% idle >>>>> Mem: 89M Active, 92M Inact, 198M Wired, 13M Cache, 100M Buf, 3529M Free >>>>> Swap: 4096M Total, 4096M Free >>>>> >>>>> Here on the desktop : >>>>> >>>>> last pid: 61010; load averages: 0.00, 0.00, 0.00 up 2+11:02:42 >>>>> 22:29:08 >>>>> 126 processes: 1 running, 125 sleeping >>>>> CPU: % user, % nice, % system, % interrupt, % idle >>>>> Mem: 803M Active, 2874M Inact, 1901M Wired, 112M Cache, 620M Buf, 202M >>>>> Free >>>>> Swap: 6144M Total, 36M Used, 6107M Free >>>>> >>>> >>>> http://lists.freebsd.org/pipermail/freebsd-bugs/2012-April/048213.html >>> >>> What I understand of your message (I'm definitvly not a dev) is that's >>> only >>> a little problem of accounting. >>> >>> I'm not absolute sure of that because my laptop fan never stop... >>> >>> If you want any more information... >> >> Definitely, because here I don't see much. >> >> Generally, all CPU loads and load averages now calculated via sampling, >> so theoretically with spiky load numbers may vary for many reasons. I >> would start from collecting information about running processes. To find >> fast switching processes that could hide from accounting try `top -SH -m >> io -o vcsw`. To get more information about scheduler work, use >> /usr/src/tools/sched/schedgraph.py (instruction inside it). >> >> -- >> Alexander Motin >> -- Alexander Motin