From owner-freebsd-stable@FreeBSD.ORG Tue Apr 19 21:25:03 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A2550106564A for ; Tue, 19 Apr 2011 21:25:03 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 326E48FC08 for ; Tue, 19 Apr 2011 21:25:02 +0000 (UTC) Received: by fxm11 with SMTP id 11so130849fxm.13 for ; Tue, 19 Apr 2011 14:25:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=T6m6JBgAohj68jLXpdardGWvuIVM9bHYOuNdKV/L08w=; b=SE3pbwbNQhKz6tOZz4IDOgK5F3TSogBUnspAcNuXAIp6n87maTEmNRSBbuqBjB/Gtv IVekSKDJUKP1ndxlPISwmVXBr8ATi16Z/ZUQbzErv+Uje+Q0/1UGDSP4q+uopb2V3rcp 1ssj6OkngdAi7k1GjgwNxCQeOD2wuVW15s+hs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=BgpsJ0BIuZ2nd/PrR8vIi505JEHUFj+EGOeVGB6Z8iUnGO0e2cc5875F2AFcagGLp1 C2LCvp9x840U0tRIk0ohrFu4U9XzZKCWjK51M1xP3HEHKBnJaStShrkjirazIkgfmQhN NCLGbKLjUTUxOxvayOCRYo3FgMWw29tjwuv8Y= MIME-Version: 1.0 Received: by 10.223.17.140 with SMTP id s12mr1304062faa.49.1303246851966; Tue, 19 Apr 2011 14:00:51 -0700 (PDT) Received: by 10.223.74.201 with HTTP; Tue, 19 Apr 2011 14:00:51 -0700 (PDT) In-Reply-To: References: <4DA596D3.1090803@chillt.de> Date: Tue, 19 Apr 2011 17:00:51 -0400 Message-ID: From: "illoai@gmail.com" To: Ronald Klop Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-stable@freebsd.org Subject: Re: System extremely slow under light load 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: Tue, 19 Apr 2011 21:25:03 -0000 On 16 April 2011 11:24, Ronald Klop wrote: > On Wed, 13 Apr 2011 14:28:03 +0200, Bartosz Fabianowski > wrote: > >> Hi list >> >> I am having problems with my 8.2-STABLE laptop. At times, even a very >> light load makes the system grind to a halt. Once an application is in the >> foreground, I can interact with it just fine. But when I click on a >> long-unused menu item or try to switch applications, I have to wait dozens >> of seconds or even minutes. It feels as if things were being swapped in very >> slowly. However, top says otherwise: >> >> The box has 4 GB of RAM with only 680 MB used. On top of that, 69 MB of >> swap are in used. That last number does not seem to be changing, so nothing >> is being swapped in or out. >> >> The load that seems to cause the worst problems is an import of >> OpenStreetMap data into a PostgreSQL 9 database. This does not exercise the >> CPU (a Core i7 Quad) much as CPU load hovers around the 20% mark most of the >> time and powerd is happy to reduce the operating frequency down to a few >> hundred MHz. There also does not seem to be much disk activity. >> >> So, memory, CPU and disk all seem fine. And still, whenever I try to >> switch applications, I have to wait minutes for them to appear. I am having >> a hard time figuring out what is going on. Any tips would be greatly >> appreciated. > > Just for an experiment, try to disable powerd and look if things improve. > Or just bump it to "maximum", temporarily. -- --