Skip to contentSkip to conversation

renicing X

RFC Nick Piggin 2 participants 3 messages Aug 25, 2003

lore
Share & tools
lore
#0 lore raw

My scheduler patch really benefits a lot from renicing X. I think its because it nices more nicely. Any reasons why this might be a bad idea?

#1 lore raw
Quoted 3 lines · Nick Piggin

My scheduler patch really benefits a lot from renicing X. I think its because it nices more nicely. Any reasons why this might be a bad idea?

Well, not for me... Although renicing X with Con patches makes X feel horrible, with your patches is not as horrible. However, I feel X much smoother with X reniced at +0. Renicing X at -20, for example, may reduce mouse cursor jumpiness under load, but makes X feel a little jerky in general (window movement is not as smooth as with X niced at +0). This is, however, based on subjective testing, not actual numbers. But for interactivity, most of the time it's the subjective feeling of the user about the system what matters, not numbers.

And now we're talking about sched-policy-7a: under heavy load, spawning new processes still takes twice the time it takes when the system is under no load. For example, spawning a new Konsole session (not a new Konsole process, but a new session tab inside Konsole) takes approx. 1 second on my P3-700Mhz. However, with sched-policy-7a and under heavy load (the mad while true; do a=2; done loop), it takes more than 2 seconds.

In general, sched-policy-7a feels extremely smooth and responsive in general but, for me, Con patches offer the smoothest X experience I have ever felt until date. Anyways, I will keep testing your patches and I greatly encourage you to keep improving them. It's always good to have diversity :-)

#2 lore raw
Quoted 6 lines · Felipe Alfaro Solana
Quoted 4 lines · Nick Piggin

My scheduler patch really benefits a lot from renicing X. I think its because it nices more nicely. Any reasons why this might be a bad idea?

Hi Felipe,
Sorry I can't mail you directly. Some spam filter doesn't like me.

Quoted 8 lines

Well, not for me... Although renicing X with Con patches makes X feel horrible, with your patches is not as horrible. However, I feel X much smoother with X reniced at +0. Renicing X at -20, for example, may reduce mouse cursor jumpiness under load, but makes X feel a little jerky in general (window movement is not as smooth as with X niced at +0). This is, however, based on subjective testing, not actual numbers.

Hmm interesting. Might be a bug...

Quoted 4 lines

But for interactivity, most of the time it's the subjective feeling of the user about the system what matters, not numbers.

Yep

Quoted 9 lines

And now we're talking about sched-policy-7a: under heavy load, spawning new processes still takes twice the time it takes when the system is under no load. For example, spawning a new Konsole session (not a new Konsole process, but a new session tab inside Konsole) takes approx. 1 second on my P3-700Mhz. However, with sched-policy-7a and under heavy load (the mad while true; do a=2; done loop), it takes more than 2 seconds.

OK thanks. I'll try to work on this.

Quoted 7 lines

In general, sched-policy-7a feels extremely smooth and responsive in general but, for me, Con patches offer the smoothest X experience I have ever felt until date. Anyways, I will keep testing your patches and I greatly encourage you to keep improving them. It's always good to have diversity :-)

Well thats good. Thanks very much.