SCHED_ULE on desktop system
Marc Fonvieille
blackend at freebsd.org
Tue Oct 2 12:02:23 PDT 2007
On Tue, Oct 02, 2007 at 01:07:57AM -0700, Jeff Roberson wrote:
> >I tried with _4BSD and it gives the same behavior (I even downgraded
> >Xorg to 7.2). Renicing X does not really help.
> >
> >I use nvidia or nv driver (nvidia one is a bit less worse). The lag can
> >even appears with 4% of CPU usage according to top(1).
> >Thanks to your remarks and my tests, I'm now sure it's scheduler
> >independent. It seems 7-CURRENT is slower than 6.X regarding I/O :(
> >For info the box is a 1.2GHz Athlon with 1GB of RAM and swap is never
> >used.
>
> Can you try with ULE and the attached diff? sched_yield() behavior
> changed between 6.x and 7-CURRENT. This has been referenced in other bug
> reports. Please let me know if this helps.
>
Ok, I'm going to test with your patch.
I attached iostat results with 2 ports builds and firefox trying to load
(very slowly) a webpage with jerky mouse mouvements. This is with
vanilla ULE.
--
Marc
-------------- next part --------------
tin tout KB/t tps MB/s us ni sy in id
176 1933 0.00 0 0.00 58 0 41 2 0
560 1951 0.00 0 0.00 73 0 23 5 0
560 1337 2.00 1 0.00 58 0 41 2 0
152 622 0.00 0 0.00 62 0 34 4 0
272 296 2.00 1 0.00 59 0 38 2 0
344 1391 13.20 5 0.06 71 0 28 1 0
583 2781 9.73 127 1.21 52 0 44 4 0
336 883 0.00 0 0.00 87 0 10 3 0
607 628 0.00 0 0.00 70 0 27 3 0
136 2700 16.00 82 1.28 30 0 65 5 0
576 1100 33.45 11 0.36 52 0 45 4 0
424 904 16.00 7 0.11 72 0 24 4 0
576 997 0.00 0 0.00 62 0 36 2 0
208 768 0.00 0 0.00 73 0 23 3 0
544 1023 0.00 0 0.00 58 0 40 2 0
427 591 12.63 11 0.14 67 0 29 5 0
0 393 4.00 1 0.00 71 0 18 12 0
152 275 30.00 5 0.15 88 0 9 3 0
719 1019 16.00 9 0.14 45 0 52 3 0
424 514 3.82 11 0.04 82 0 16 2 0
tty ad4 cpu
tin tout KB/t tps MB/s us ni sy in id
432 43 0.00 0 0.00 97 0 1 2 0
80 357 0.00 0 0.00 84 0 14 2 0
16 43 0.00 0 0.00 91 0 4 5 0
24 298 23.02 47 1.06 84 0 15 1 0
16 514 0.00 0 0.00 77 0 21 2 0
0 936 11.33 6 0.07 49 0 47 4 0
0 514 4.00 1 0.00 85 0 13 2 0
24 236 12.00 1 0.01 83 0 15 2 0
144 1223 16.00 2 0.03 59 0 40 1 0
512 768 0.00 0 0.00 68 0 29 3 0
599 529 4.67 3 0.01 68 0 27 5 0
448 273 2.00 2 0.00 90 0 7 3 0
232 768 0.00 0 0.00 66 0 31 2 0
599 535 2.00 1 0.00 73 0 23 3 0
488 532 0.00 0 0.00 75 0 19 5 0
464 280 0.00 0 0.00 78 0 21 1 0
647 525 0.00 0 0.00 70 0 25 5 0
504 1609 35.20 5 0.17 61 0 34 5 0
623 277 15.80 69 1.06 84 0 14 2 0
344 43 15.05 397 5.83 79 0 12 9 0
tty ad4 cpu
tin tout KB/t tps MB/s us ni sy in id
72 768 16.00 7 0.11 70 0 30 0 0
8 621 0.00 0 0.00 77 0 17 6 0
0 768 64.00 2 0.12 79 0 19 2 0
0 768 5.50 4 0.02 67 0 30 3 0
512 528 16.00 3 0.05 84 0 15 2 0
488 272 64.00 2 0.12 72 0 27 2 0
456 43 2.00 2 0.00 89 0 6 5 0
575 269 12.42 24 0.29 87 0 12 2 0
184 43 10.00 2 0.02 84 0 12 4 0
216 763 0.00 0 0.00 66 0 33 1 0
304 532 8.00 5 0.04 73 0 24 3 0
584 43 0.00 0 0.00 88 0 11 2 0
512 275 64.00 2 0.12 94 0 5 2 0
384 763 64.00 4 0.25 70 0 27 4 0
520 298 16.47 17 0.27 79 0 21 0 0
496 514 23.50 8 0.18 75 0 20 5 0
528 635 38.00 4 0.15 66 0 33 1 0
464 572 12.50 12 0.15 72 0 26 2 0
384 1220 12.17 70 0.83 44 0 53 3 0
376 688 8.56 32 0.27 90 0 8 2 0
tty ad4 cpu
tin tout KB/t tps MB/s us ni sy in id
512 529 2.00 18 0.04 70 0 25 5 0
600 359 15.78 9 0.14 82 0 15 3 0
591 535 4.76 21 0.10 66 0 28 6 0
408 277 9.00 18 0.16 83 0 14 3 0
575 991 29.78 9 0.26 66 0 31 2 0
663 1042 13.38 48 0.63 39 0 58 3 0
360 1184 3.27 22 0.07 59 0 38 3 0
376 993 11.45 80 0.89 53 0 40 7 0
168 269 12.46 13 0.16 88 0 10 2 0
496 297 16.00 6 0.09 70 0 27 4 0
488 278 5.31 948 4.92 43 0 40 18 0
663 530 0.00 0 0.00 83 0 16 1 0
544 514 0.00 0 0.00 72 0 24 4 0
599 1014 12.50 4 0.05 59 0 40 1 0
703 498 0.00 0 0.00 65 0 30 5 0
528 295 16.00 1 0.02 73 0 24 2 0
416 990 16.00 5 0.08 56 0 40 4 0
88 995 5.33 3 0.02 62 0 36 2 0
440 865 48.00 6 0.28 25 0 75 0 0
575 609 64.00 2 0.12 66 0 29 5 0
tty ad4 cpu
tin tout KB/t tps MB/s us ni sy in id
528 277 64.00 4 0.25 89 0 11 0 0
496 129 38.00 7 0.26 93 0 3 4 0
687 779 9.96 53 0.52 59 0 41 1 0
416 929 4.14 57 0.23 55 0 41 5 0
240 547 3.56 9 0.03 79 0 17 4 0
288 333 3.60 5 0.02 88 0 11 1 0
296 570 9.00 2 0.02 55 0 30 15 0
160 613 6.35 251 1.56 55 0 38 7 0
240 791 5.48 340 1.82 62 0 29 9 0
0 583 6.43 69 0.43 73 0 25 2 0
8 276 0.00 0 0.00 91 0 7 2 0
32 892 4.00 7 0.03 78 0 19 3 0
0 283 9.67 6 0.06 84 0 14 2 0
0 396 20.00 2 0.04 88 0 9 2 0
152 406 0.00 0 0.00 91 0 8 1 0
719 295 38.00 3 0.11 77 0 19 4 0
488 502 16.00 129 2.01 90 0 7 3 0
320 532 0.00 0 0.00 82 0 16 2 0
200 547 15.56 9 0.14 88 0 7 5 0
120 43 4.50 4 0.02 94 0 5 2 0
tty ad4 cpu
tin tout KB/t tps MB/s us ni sy in id
607 297 12.00 1 0.01 85 0 9 5 0
512 603 8.78 618 5.30 57 0 32 11 0
599 275 16.00 2 0.03 90 0 9 2 0
743 43 0.00 0 0.00 91 0 5 3 0
496 564 0.00 0 0.00 83 0 15 2 0
256 163 16.00 2 0.03 85 0 11 4 0
416 43 0.00 0 0.00 91 0 8 1 0
607 444 15.75 8 0.12 84 0 12 3 0
320 545 0.00 0 0.00 77 0 20 2 0
0 752 16.00 1 0.02 87 0 12 2 0
0 475 0.00 0 0.00 89 0 8 3 0
0 43 0.00 0 0.00 90 0 9 1 0
1 728 7.60 5 0.04 80 0 16 5 0
More information about the freebsd-current
mailing list