Re: [RFC][PATCH] SCHED_ISO for interactivity

From: Christian Axelsson (smiler@lanil.mine.nu)
Date: Fri Jul 11 2003 - 18:37:37 EST


On Fri, 2003-07-11 at 16:30, Con Kolivas wrote:
> On Fri, 11 Jul 2003 22:48, Christian Axelsson wrote:
> > Ok complies and boot fine
> >
> > BUT... after loading X up and gnome-theme-manager I start clicking around
> > abit.. then gnome-theme-manager starts eating 99.9% CPU (prolly a bug in
> > the program). Problem here is that the machine stops responding to input,
> > at first I can move mouse around (but Im stuck in the current focused
> > X-client) and later it all stalls... Cant even get in via SSH.
> > Ive put on a top before repeating this showing gnome-theme-manager eating
> > all CPU-time (PRI 15/NICE 0) and load showing ~55% user ~45% system.
> >
> > Anything I can do to help debugging?
>
> Can you try this patch instead which should stop the machine from getting into
> a deadlock? I dont think I have found the problem but at least it should be
> easier to diagnose without the machine locking up.

Deadlock is gone but problem is still there.
Running processes (state R) keep running smooth until they try to access
any resource (ie. xmms keeps playing the current file but gets stuck
when trying to open next one, top keeps running with full
interactivity). Spawning new processes is impossible.
I had top running over SSH and when I exited I managed to type 1 char
then it hung up. A note is that sometimes the load is ~45% user ~55%
system instead of ~55% user and ~45% system. There are always those
values.
I tried to reproduce by creating a while(1){} loop but it runs smooth.

Any suggestions on methods to debug this?

-- 
Christian Axelsson
smiler@lanil.mine.nu


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jul 15 2003 - 22:00:43 EST