From owner-freebsd-current@FreeBSD.ORG Sat Oct 6 18:11:06 2007 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D20A816A419 for ; Sat, 6 Oct 2007 18:11:06 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from hannah.tgi.net (hannah.tgi.net [64.34.34.36]) by mx1.freebsd.org (Postfix) with ESMTP id 9BDA513C4B0 for ; Sat, 6 Oct 2007 18:11:06 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: (qmail 19356 invoked from network); 6 Oct 2007 11:16:40 -0700 Received: from node46.244.100.208.1dial.com (HELO ?127.0.0.1?) (208.100.244.46) by gnrac.net with SMTP; 6 Oct 2007 11:16:40 -0700 Message-ID: <4707CF8D.3070303@u.washington.edu> Date: Sat, 06 Oct 2007 11:10:21 -0700 From: Garrett Cooper User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Marc Fonvieille References: <20071002165007.D587@10.0.0.1> <20071006074429.GB976@gothic.blackend.org> <20071006102113.GC976@gothic.blackend.org> <47077951.5030906@clearchain.com> <4707866F.7030605@FreeBSD.org> <20071006143141.GD976@gothic.blackend.org> In-Reply-To: <20071006143141.GD976@gothic.blackend.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Jeff Roberson , Kris Kennaway , Benjamin Close , current@FreeBSD.org Subject: Re: ULE/yielding patch for testing. 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: Sat, 06 Oct 2007 18:11:06 -0000 Marc Fonvieille wrote: > On Sat, Oct 06, 2007 at 02:58:23PM +0200, Kris Kennaway wrote: > >> Benjamin Close wrote: >> >>>> After more testing, the lag problem is caused by the use of firefox. >>>> Once I try to open a heavy webpage, both firefox and Xorg become slow, >>>> the rest is fine. By the "rest" I mean: audacious playing mp3s, wget and >>>> ncftp downloading huge (100MB) files, compiling wine and aMule running. >>>> >>>> >>> I find the lag occuring with the 4BSD scheduler as well. dailytech.com is >>> a particularly good site at lagging the system (though a great website). >>> Perhaps this isn't scheduler related? >>> > > I don't think its scheduler related, last Jeff's changes helped a bit > the things with ULE but I also noticed the lag with 4BSD. > > >> I assume you checked whether you are touching swap. >> >> > > In my case, the swap is never used: > > Mem: 272M Active, 354M Inact, 157M Wired, 28M Cache, 110M Buf, 178M Free > Swap: 2023M Total, 2023M Free > > Your problem is most likely Flash/Javascript based (I'm basing my theory on the fact that there's a lot of Ajax related stuff on the site). No matter what OS you have, if a website's slow (and it's not because you don't have OpenGL support in your X-server), slowness will remain constant. It's just the way unfortunately that browsers are designed. NoScript combined with Adblock will help quite a bit though for whitelisting domains and javascript/flash content. -Garrett