Strange load issues with 2.5.69/70 in both -mm and -bk trees.

Tom Sightler (ttsig@tuxyturvy.com)
01 Jun 2003 00:23:53 -0400


I'm looking for help in identifying what might be causing some very
strange issues I have recently noticed with my Dell laptop running
recent 2.5.69/70 kernels.

The symptoms are a little strange, at least to me, but I'll try to
describe them as short and completely as possible. Basically, I first
noticed an issue when I was testing a demo version of Crossover Plugin
with some web sites using heavy Shockwave content. This first noticable
symptom was that, any sound event that corresponded with screen updates
would pop and crackle. At first I thought it was a problem with my
sound card, but as I being to look at the issue I noticed that the
problem seemed to be caused by the fact that the pluginserver (wine) was
using 100% of the CPU. I simply reniced this process to -10 and
everything started working fine. Upon looking a little further it
seemed that the kernel was dynamically boosting the priority of the
process much higher than it probably should be, in the end, not leaving
enough CPU for playing the sounds without skipping.

After doing some other research I found several other programs that
cause what appear to be the same basic symptoms. For example, viewing a
PDF file from withing Mozilla using the Acrobat plugin causes my X
server (don't know what X) to get a boost and suddenly it takes 100% of
the CPU.

VMware 4 also seems to cause a similar problem, where lots of processes
get boosts leaving very little left for simple things like the
occasional sound.

Would these issues be explained by the scheduler starvation issues that
others have seen? I thought those had been mostly fixed.

I'm not 100% sure, but I don't remember seeing these problems with
2.5.68-mm2, but I have since tried 2.5.69-mm4 and today 2.5.70-mm3 as
well as 2.5.70 and they both have this same symptom.

Booting the system into 2.4.20 makes all of these symptoms go away.

It doesn't seem reasonable that I should have to play with nice values
and priorities to get things running right. Is there anything I should
look at tuning? Other things I may be doing wrong?

I've tried with preemption both enabled and disabled with no effect.

Any help or suggestions would be greatly appreciated. Overall this
system still works well, and none of these issues keep the system from
being usable. Overall performance on my laptop is much smoother and
snappier than anything I have seen with 2.4.x, but having to play with
nice levels to get these programs cooperating seems wrong as they're
pretty basic functionality.

Later,
Tom

-
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/