From owner-freebsd-current@FreeBSD.ORG Mon Oct 12 01:43:30 2009 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 9E8A4106566B for ; Mon, 12 Oct 2009 01:43:30 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org (thebighonker.lerctr.org [192.147.25.65]) by mx1.freebsd.org (Postfix) with ESMTP id 6EE598FC0C for ; Mon, 12 Oct 2009 01:43:30 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=lerami; d=lerctr.org; h=Received:Received:Message-ID:In-Reply-To:References:Date:Subject:From:To:User-Agent:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Priority:Importance:X-Spam-Score:X-LERCTR-Spam-Score:X-Spam-Report:X-LERCTR-Spam-Report:DomainKey-Status; b=IFsxwHqBBwz6HgBvE4qDgzzMwBPEc5ak3hE8MrUnsRoC4tuDU6OgZM9vZKt1sDwPUvxQjFTZGuzkmAHnP1MVz20dtY95HEhqdOwL8k7UjW4RmGRFcUeMARe3SOkBSbq+pEMrFneEwxWncXAFlYgWSB3VXJQVR8qWVhL2xwuedvM=; Received: from localhost.lerctr.org ([127.0.0.1]:53091 helo=webmail.lerctr.org) by thebighonker.lerctr.org with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1Mx9we-0009Oh-D6 for freebsd-current@freebsd.org; Sun, 11 Oct 2009 20:43:30 -0500 Received: from 76.205.169.61 (SquirrelMail authenticated user ler) by webmail.lerctr.org with HTTP; Sun, 11 Oct 2009 20:43:28 -0500 Message-ID: <6495ee63c0e2b33aded5d63decbaff02.squirrel@webmail.lerctr.org> In-Reply-To: <3bbf2fe10910111620p3aa5d4cbgb5db2659d8477142@mail.gmail.com> References: <6729ad0409e449f8dbda69ecd8feb618.squirrel@webmail.lerctr.org> <3bbf2fe10910111611p2f48d89cpa80350980f4f03e4@mail.gmail.com> <100658409950385d656fb5d8030af744.squirrel@webmail.lerctr.org> <3bbf2fe10910111620p3aa5d4cbgb5db2659d8477142@mail.gmail.com> Date: Sun, 11 Oct 2009 20:43:28 -0500 From: "Larry Rosenman" To: freebsd-current@freebsd.org User-Agent: SquirrelMail/1.4.20-RC2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Spam-Score: -4.4 (----) X-LERCTR-Spam-Score: -4.4 (----) X-Spam-Report: SpamScore (-4.4/5.0) ALL_TRUSTED=-1.8,BAYES_00=-2.599 X-LERCTR-Spam-Report: SpamScore (-4.4/5.0) ALL_TRUSTED=-1.8,BAYES_00=-2.599 DomainKey-Status: no signature Subject: Re: Scheduler weirdness 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, 12 Oct 2009 01:43:30 -0000 On Sun, October 11, 2009 6:20 pm, Attilio Rao wrote: > 2009/10/12 Larry Rosenman : >> >> On Sun, October 11, 2009 6:11 pm, Attilio Rao wrote: >>> 2009/10/12 Larry Rosenman : >>>> >>>> Ok, running RELENG_8 from Friday (10/9/2009). >>>> >>>> If I have 4 Folding-at-home processes running (they nice themselves) >>>> the >>>> system is slow as a dog. >>>> >>>> If I stop them, it's speedy. >>>> >>>> This is running SCHED_ULE >>>> >>>> is this expected? >>>> >>>> What can I do to help? >>> >>> Can you please produce the schedgraph output for this workload? >>> Do you know how to setup it? >> >> I'm not familiar with this. What do I need to do? > > - Recompile your kernel with the following options: > KTR > KTR_COMPILE=(KTR_SCHED) > KTR_MASK=(KTR_SCHED) > KTR_ENTRIES=262144 > > - Run the buggy workload > - When the slowness has been experienced a bit (a reasonable timeframe > is within 10/20 secs) do: sysctl debug.ktr.mask=0 > - do: ktrdump -ct > ktr.out > - send here this file along with the number and frequency of your CPUs Sent under separate cover direct to Attilio. Thanks, Attilio! > > Thanks, > Attilio > > > -- > Peace can only be achieved by understanding - A. Einstein > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 512-248-2683 E-Mail: ler@lerctr.org US Mail: 430 Valona Loop, Round Rock, TX 78681-3893