Re: Reproducible terrible interactivity since 2.5.64bk2

From: Mike Galbraith (efault@gmx.de)
Date: Fri Mar 28 2003 - 12:50:38 EST


At 03:16 PM 3/26/2003 +0100, Michal Schmidt wrote:
>Andrew Ebling wrote:
>>
>>I'm seeing similar on 2.5.66; xmms pauses when doing disk intensive
>>tasks.
>
>This may be a different problem. My test is not very disk intensive. It is
>more CPU intensive (bzip2 compression). The disk is only slightly used
>when running my testing script.

Greetings potential victims :)

Care to see if the attached cures your woes?

This is a mixture of Ingo's last posted plus the scheduler tuning knobs
patch (/proc/sys/sched/*). I added three new knobs to watch the effect on
different loads. max_accel_slices limits the amount of sleep_time you may
add in one activation. retard_prct_slices is a percentage of a slice to
deduct from sleep_time each activation (negative feedback for heavy context
switchers.. dang irman process_load). force_switch is there because I'm
playing :) I didn't do much to the scheduler itself, only made it switch
arrays in something closer to a square wave. With the settings as in the
patch, and running a kernel build, top and irman, irman reports worst case
response times of 150ms for NULL load, 316ms for memory_load, 414 for
io_load, and 504ms for process_load.

Anyway, it's attached if you want to play with it ;-)

         -Mike

Oh, it's against virgin 2.5.66.


-
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 : Mon Mar 31 2003 - 22:00:32 EST