From owner-freebsd-current@FreeBSD.ORG Sun Jun 7 10:39:50 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 E01781065670; Sun, 7 Jun 2009 10:39:50 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from mail-fx0-f215.google.com (mail-fx0-f215.google.com [209.85.220.215]) by mx1.freebsd.org (Postfix) with ESMTP id 3E6BC8FC0C; Sun, 7 Jun 2009 10:39:49 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: by fxm11 with SMTP id 11so156148fxm.43 for ; Sun, 07 Jun 2009 03:39:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=gIZFFBV4/lJB1ctastMd9SNzmMf4fgwSaZKrh0ph3os=; b=wDduDjVWv+b5UMxKpx17I/+CJHjYc/Ozck4W/wLnwAzDHBOobyOVPeOLkSeEW8OJfv dSHCuk+/Pb8RJyQuy8wT7PnPMW1BEjgdTCvOowvV2Jqc87LnKGpTQ07Pvd+lEgXQcyQl d4wRONTKaeKMGxl1mazjl3eWvOoP+NRpV/8N4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=cRExt0iddDX6uVZaF5AE3dvzBNYYfH84h3QNBq6Y7AOx9VBMqw8IY6Z5GDqO+Yt0US pQEve57Ork0xW/cao/7fogZu2N0BYj17dtm3K0TLtQ9YfBbLATUgUwt5lSQtToFsKaSQ h+ZO4MMUeW38VK8VrwDhmp2SerbpH9pBoL1j0= MIME-Version: 1.0 Sender: asmrookie@gmail.com Received: by 10.223.108.74 with SMTP id e10mr3009805fap.35.1244371189138; Sun, 07 Jun 2009 03:39:49 -0700 (PDT) In-Reply-To: <4A2B3040.7020509@poildetroll.net> References: <951233.95131.qm@web39108.mail.mud.yahoo.com> <3c1674c90905302055g542cfadarf201cc273639977d@mail.gmail.com> <4A23919F.8050905@mail.zedat.fu-berlin.de> <4A2B3040.7020509@poildetroll.net> Date: Sun, 7 Jun 2009 12:39:49 +0200 X-Google-Sender-Auth: ec02410664f7e02e Message-ID: <3bbf2fe10906070339k663bace7qe5142702248ce6c9@mail.gmail.com> From: Attilio Rao To: Pierre Guinoiseau Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: bf , "O. Hartmann" , freebsd-current@freebsd.org, Kip Macy Subject: Re: signifanctly slowdown of FreeBSD 8.0-CURRENT/amd64 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: Sun, 07 Jun 2009 10:39:51 -0000 2009/6/7 Pierre Guinoiseau : > Hi, > > I have a similar problem, for about 3 weeks/1 month now, on a SMP box. > If i run something using much cpu for a "long" time and/or causing heavy > I/O, like compiling or watching a video, my box slows down a lot, X11 > (and any apps, X11 or not) become much less responsive, the CPU stays at > 100% load (mainly because of X11), even when the original task is ended. > If I stop X11, the system stay still very slow. The only way to get my > machine back in a usable state is to reboot it... :( Would you both be able to get a schedgraph trace of your offending workloads? In order to do that you would need to: - Recompile your kernel by just adding the following lines: options KTR options KTR_COMPILE=(KTR_SCHED) options KTR_ENTRIES=262144 options KTR_MASK=(KTR_SCHED) - Install the py-tkinter package from ports - While the new kernel is running the workload you are profiling do 'sysctl debug.ktr.mask=0' (it will disable, until restored the ability to trace, so in order to get more traces re-enable it) - Then do ktrdump -ct > ktr.out and send the output to lists, possibly specifying the frequency of your cores Thanks, Attilio -- Peace can only be achieved by understanding - A. Einstein