Re: [PATCH]O18.1int

From: Con Kolivas
Date: Mon Aug 25 2003 - 05:43:43 EST


On Mon, 25 Aug 2003 20:17, Måns Rullgård wrote:
> Alex Riesen <alexander.riesen@xxxxxxxxxxxx> writes:
> >> XEmacs still spins after running a background job like make or grep.
> >> It's fine if I reverse patch-O16.2-O16.3. The spinning doesn't happen
> >> as often, or as long time as with O16.3, but it's there and it's
> >> irritating.
> >
> > another example is RXVT (an X terminal emulator). Starts spinnig after
> > it's child has exited. Not always, but annoyingly often. System is
> > almost locked while it spins (calling select).
>
> It sounds like the same bug. IMHO, it's rather bad, since a
> non-privileged process can make the system unusable for a non-zero
> amount of time.
>
> How should I do to capture some information about this thing? Do you
> know what causes it, Con?

Read my rfc on the orthogonal interactivity patches and look under priority
inversion. It may be that, in which case it happens to vanilla as well. To
capture useful information for me is quite easy. Run a reniced -11 top -d 1
-b in batch mode and reniced -11 vmstat 1 in batch mode to capture it
happening. That should be enough information to see what's going on and
doesn't need a kernel compile or any special tools. Renice -11 to make sure
the tools dont get preempted in that period.

Con

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