Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Jun 2009 12:39:49 +0200
From:      Attilio Rao <attilio@freebsd.org>
To:        Pierre Guinoiseau <geekounet@poildetroll.net>
Cc:        bf <bf2006a@yahoo.com>, "O. Hartmann" <ohartman@mail.zedat.fu-berlin.de>, freebsd-current@freebsd.org, Kip Macy <kmacy@freebsd.org>
Subject:   Re: signifanctly slowdown of FreeBSD 8.0-CURRENT/amd64
Message-ID:  <3bbf2fe10906070339k663bace7qe5142702248ce6c9@mail.gmail.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
2009/6/7 Pierre Guinoiseau <geekounet@poildetroll.net>:
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3bbf2fe10906070339k663bace7qe5142702248ce6c9>