From owner-freebsd-questions@FreeBSD.ORG Wed Apr 16 17:04:06 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 37FBA106564A for ; Wed, 16 Apr 2008 17:04:06 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (mail.computinginnovations.com [64.81.227.250]) by mx1.freebsd.org (Postfix) with ESMTP id E7B788FC1B for ; Wed, 16 Apr 2008 17:04:05 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.14.2/8.14.2) with ESMTP id m3GH3lDS057608; Wed, 16 Apr 2008 12:03:48 -0500 (CDT) (envelope-from derek@computinginnovations.com) Message-Id: <6.0.0.22.2.20080416120226.02537c70@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Wed, 16 Apr 2008 12:05:33 -0500 To: daniel.tourde@spray.se, Robert Huff From: Derek Ragona In-Reply-To: <200804161848.42454.daniel.tourde@spray.se> References: <200804152159.46589.daniel.tourde@spray.se> <8cb6106e0804151328t22ff3996o9aeb2a4c26d9f2eb@mail.gmail.com> <18437.5765.761443.586234@jerusalem.litteratus.org> <200804161848.42454.daniel.tourde@spray.se> Mime-Version: 1.0 X-Antivirus: avast! (VPS 080416-0, 04/16/2008), Outbound message X-Antivirus-Status: Clean X-Virus-Scanned: ClamAV 0.92.1/6795/Wed Apr 16 07:59:08 2008 on betty.computinginnovations.com X-Virus-Status: Clean X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: m3GH3lDS057608 X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: josh.carroll@gmail.com, freebsd-questions@freebsd.org Subject: Re: How to switch scheduler on 7.0? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Apr 2008 17:04:06 -0000 At 11:48 AM 4/16/2008, Daniel Tourde wrote: >Hi Robert, > >The expression "terrible performances" was maybe not the best way to express >myself. My intentions were not to step on anyone's toe or being nasty. Sorry >about that. > >To describe things shortly, the problem is responsiveness. I have been >running >FreeBSD since 4.7 and never experienced what I am experiencing now: >- Bad responsiveness of the desktop >- Temporary freeze (10 to 30s) >- Slow mouse (and not a very smooth movement, a kind of 'step by step') >etc. > > Daniel > > > > > I would like to switch scheduler on my FreeBSD 7.0 box but I don't > > > > know how todo that. > > > > > > You will want to use options SCHED_ULE instead of SCHED_4BSD in your > > > kernel config. > > > > Am I correct in remembering SCHED_ULE /is/ the default for 7.0+? > > If this is true, and you (the OP) do not need the machine for > > production, there are people who would be interested in hearing > > about your problems - especially if you are prepared to define (and > > document) "terrible performace" and help diagnosing the issue. > > > > > > Robert Huff It may be the X drivers you are using. X is a bit goofed up in the latest version running on 7, and the drivers seem to create interrupt storms that tie up a system. You may want to test in X and not in X performance. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.