From owner-freebsd-current@FreeBSD.ORG Mon Sep 17 03:52:33 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD69B16A41B for ; Mon, 17 Sep 2007 03:52:33 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.176]) by mx1.freebsd.org (Postfix) with ESMTP id ACF4213C461 for ; Mon, 17 Sep 2007 03:52:33 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so1873733waf for ; Sun, 16 Sep 2007 20:52:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=MTquC2dn3aqZ1B6rxBR+u1y9OMvPFQZ7DI2dwark03k=; b=N8VQTIb/Boj08wREHIKFt6KNyimWLx524492RYdp2bF3IVW+aeU5Z50oi1/ixi1JA1fX2nTC3zgvgit4vbcjeoyi0X4w+VGK7Q5fyHP4hXXJ7+3MCv3zxlljsBhOFQ2P7LmUjCce/5aGIVbnWvbhQS/NtF43oyNZqkZLrhS61Vc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=oZzidRl8UhXM4nIgi/bUEbBExdoJP9VCfcicsyohk5/BYG4+cyJeNV+Z3RLBC80n+13OGRSweqVI16nQjfCNdKZkxjZhkvtT9/27ZcELAGcCj8LXW72Zj0vqzIRVNxL+YnnJw+nY+LxWeFMOHwAuhxzHhU7kb3qJZn7wDvOeXO8= Received: by 10.114.66.2 with SMTP id o2mr2576387waa.1190001152978; Sun, 16 Sep 2007 20:52:32 -0700 (PDT) Received: by 10.114.13.15 with HTTP; Sun, 16 Sep 2007 20:52:32 -0700 (PDT) Message-ID: Date: Sun, 16 Sep 2007 20:52:32 -0700 From: "Kip Macy" To: freebsd-current@freebsd.org In-Reply-To: <20070917033948.GK1051@redundancy.redundancy.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070916214753.GJ1051@redundancy.redundancy.org> <20070916225019.B921C4500C@ptavv.es.net> <20070917033948.GK1051@redundancy.redundancy.org> Subject: Re: SCHED_ULE on desktop system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Mon, 17 Sep 2007 03:52:33 -0000 On 9/16/07, David E. Thiel wrote: > On Sun, Sep 16, 2007 at 03:50:19PM -0700, Kevin Oberman wrote: > > I have been seeing this for quite some time and, while the scheduler may > > make a bit of difference, I suspect pager issues. As long as I have > > available memory, interactivity is fine. If I run a big build and I see > > swap file use, things slow to a crawl. I see very slow re-draws of the > > screen and general lack of responsiveness. > > > > I run gkrellm and can tell at a glance when swap usage starts to > > increase. The linkage is clear and not terribly surprising. It may be > > that you need to add a bit more RAM. > > While I wouldn't mind adding more RAM, this happens with about 60% > memory utilization, and top verifies no swap is being used. I'll believe > that it may not be all the scheduler's fault (since I see it to some > degree regardless of scheduler), but in my case, it's not paging. > > I did actually just switch to 4BSD without PREEMPTION, and the audio > skipping and jerkiness that I was getting before is no longer happening. > Maybe something in PREEMPTION is causing problems with both schedulers? > Could you try setting kern.hz="100" Thanks. -Kip