I seem to have lost your earlier emails. Did you get a max latency of
around <2 before this 0(1) scheduler patch? 2.2 with low latency patch
gets that. 2.4 with low latency patch is many many times worse. The
high latency areas of the kernel are already known. It's just a matter
of deciding how to deal with them that's the problem. It seems that it
might be a general consensus that it can't be dealt with in 2.4
mainstream.
As you've implied before though, the scheduler is much more important
than latency is to the average user. As most people would know from
2.2, audio would skip unless it was running -20 nice and the highest
priority etc. With 2.4's scheduler and preempt, well you dont have to
worry about skips and you can leave the player at a normal nice and
priority value.
i'll continue to look at them over the weekend. Right now i'm playing
with software suspend.
> See yah.
> Dieter
>
> SunWave1 dbench/latencytest0.42-png# time ./do_tests none 3 256 0 350000000
> x11perf - X11 performance program, version 1.5
> The XFree86 Project, Inc server version 40200000 on :0.0
> from SunWave1
> Thu Mar 7 03:23:44 2002
>
> Sync time adjustment is 0.1117 msecs.
>
> 3000 reps @ 1.7388 msec ( 575.0/sec): Scroll 500x500 pixels
> 3000 reps @ 1.7427 msec ( 574.0/sec): Scroll 500x500 pixels
> 3000 reps @ 1.7416 msec ( 574.0/sec): Scroll 500x500 pixels
> 3000 reps @ 1.7401 msec ( 575.0/sec): Scroll 500x500 pixels
> 3000 reps @ 1.7434 msec ( 574.0/sec): Scroll 500x500 pixels
> 15000 trep @ 1.7413 msec ( 574.0/sec): Scroll 500x500 pixels
>
> 800 reps @ 7.4185 msec ( 135.0/sec): ShmPutImage 500x500 square
> 800 reps @ 7.4216 msec ( 135.0/sec): ShmPutImage 500x500 square
> 800 reps @ 7.4239 msec ( 135.0/sec): ShmPutImage 500x500 square
> 800 reps @ 7.4210 msec ( 135.0/sec): ShmPutImage 500x500 square
> 800 reps @ 7.4219 msec ( 135.0/sec): ShmPutImage 500x500 square
> 4000 trep @ 7.4214 msec ( 135.0/sec): ShmPutImage 500x500 square
>
> fragment latency = 1.451247 ms
> cpu latency = 1.160998 ms
> 13.5ms ( 13)|
> 1MS num_time_samples=43483 num_times_within_1ms=35936 factor=82.643792
> 2MS num_time_samples=43483 num_times_within_2ms=43447 factor=99.917209
> PIXEL_PER_MS=103
> fragment latency = 1.451247 ms
> cpu latency = 1.160998 ms
> 321.2ms ( 16)|
> 1MS num_time_samples=19656 num_times_within_1ms=18006 factor=91.605617
> 2MS num_time_samples=19656 num_times_within_2ms=19563 factor=99.526862
> PIXEL_PER_MS=103
> fragment latency = 1.451247 ms
> cpu latency = 1.160998 ms
> 79.1ms ( 36)|
> 1MS num_time_samples=15681 num_times_within_1ms=11212 factor=71.500542
> 2MS num_time_samples=15681 num_times_within_2ms=15595 factor=99.451566
> PIXEL_PER_MS=103
> -rw-r--r-- 1 root root 350000000 Mär 7 03:25 tmpfile
> fragment latency = 1.451247 ms
> cpu latency = 1.160998 ms
> 147.3ms (158)|
> 1MS num_time_samples=19290 num_times_within_1ms=18423 factor=95.505443
> 2MS num_time_samples=19290 num_times_within_2ms=19030 factor=98.652151
> PIXEL_PER_MS=103
> -rw-r--r-- 1 root root 350000000 Mär 7 03:25 tmpfile
> -rw-r--r-- 1 root root 350000000 Mär 7 03:26 tmpfile2
> fragment latency = 1.451247 ms
> cpu latency = 1.160998 ms
> 484.1ms ( 64)|
> 1MS num_time_samples=14912 num_times_within_1ms=13493 factor=90.484174
> 2MS num_time_samples=14912 num_times_within_2ms=14783 factor=99.134925
> PIXEL_PER_MS=103
> -rw-r--r-- 1 root root 350000000 Mär 7 03:25 tmpfile
> -rw-r--r-- 1 root root 350000000 Mär 7 03:26 tmpfile2
> 66.180u 17.240s 3:21.28 41.4% 0+0k 0+0io 10374pf+0w
>
> -------------------------------------------------------
-
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/