SCHED_4BSD in RELENG_7 disturbs workflow

Josh Carroll josh.carroll at gmail.com
Tue Oct 16 15:01:29 PDT 2007


> Hi Josh, thanks for the report.  How many CPUs are in your system?  Can
> you give me the output of 'vmstat 5' over the course of one run on 4BSD
> and ULE?  Or just one of them if you can't spare the time.

Hi Jeff,

The system has a single quad-core chip, namely an Intel Core 2 Quad
Q6600. Below is the requested vmstat output. Please let me know if you
need anything else (or if I should start a separate thread on -stable,
so as not to hijack this thread). I'm not sure what you wanted to see
from the vmstat output, but I do notice that with the ULE scheduler,
the idle percentage is higher than for 4BSD. As an aside, -threads 8
seems to be optimal, despite only have 4 cores. Here are the vmstat
outputs:


4BSD:
 procs      memory      page                    disks     faults      cpu
 r b w     avm    fre   flt  re  pi  po    fr  sr ad6 ad8   in   sy
cs us sy id
 1 1 0  412348 1589544   508   0   0   0   507   0   0   0   22  694
643  3  0 97
 3 1 0  754860 1416760  8504   0   0   0    20   0   0   0   15 1339
2092 94  1  5
 6 1 0  757940 1402456   565   0   0   0     1   0   0   0   18 1081
944 98  0  2
 6 1 0  757940 1396564   188   0   0   0     3   0  15   0   45 1136
1075 96  0  4
 7 1 0  757940 1393236    30   0   0   0     1   0   1   0   21  937
851 97  0  3
 6 2 0  760192 1390756    60   0   0   1    43   0   5   0   25 1065
902 96  0  3
 5 2 0  760192 1390304     3   0   0   0   100   0   0   0   19 1365
1240 98  0  2
 4 1 0  758964 1388592    25   0   0   0    16   0   0   0   15  997
869 96  0  4
 7 1 0  758964 1386132     3   0   0   0     0   0   0   0   14  810
766 96  0  4
 5 1 0  758964 1383608     2   0   0   0     0   0   0   0   28  695
713 99  0  1
 4 1 0  758964 1380372    26   0   0   0     1   0   7   0   29  806
842 96  0  3
 7 1 0  759992 1377440    11   0   0   0     1   0   1   0   29  810
802 98  0  2
 3 1 0  759992 1375412     2   0   0   0     2   0   0   0   20  879
785 97  0  3
 4 1 0  759992 1373168     1   0   0   0     1   0   0   0   13 1032
876 95  0  5
 5 1 0  759992 1371204     2   0   0   0     0   0   0   0   21 1197
984 85  0 15
 5 1 0  759992 1367676     3   0   0   0     0   0   0   0   20 1155
897 98  0  1
 4 1 0  759992 1362272    24   0   0   0     0   0   0   0   21  826
719 98  0  2
 6 2 0  762244 1359028    58   0   0   0    43   0   1   0   23 1404
1071 96  0  4
 procs      memory      page                    disks     faults      cpu
 r b w     avm    fre   flt  re  pi  po    fr  sr ad6 ad8   in   sy
cs us sy id
 7 2 0  762244 1356036     7   0   0   0     0   0   0   0   21 1236
959 99  0  1


ULE:
 procs      memory      page                    disks     faults      cpu
 r b w     avm    fre   flt  re  pi  po    fr  sr ad6 ad8   in   sy
cs us sy id
 0 4 0  283788 1781208  2333   7  17   0  1633   0   0   0  211 4057
1702  1  1 99
 6 2 0  631152 1606120  8180   5  23   0    30   0  65   0  157  915
371336 79  0 21
 6 2 0  634228 1583908   906   0   0   0     3   0   5   0   32  566
940216 93  0  7
 6 2 0  634228 1575052   227   0   0   0     0   0   1   0   96  915
694291 94  0  6
 5 2 0  636276 1569768    54   0   0   0     0   0   1   0   79  722
984529 93  0  7
 6 2 0  636276 1565184     3   0   0   0     0   0   0   0   56  749
615641 95  0  5
 6 2 0  633024 1560904   182   0   0   0   224   0  15   0   64  892
554573 95  0  5
 6 2 0  633024 1557648     1   0   0   0     0   0   0   0   21 1046
925070 94  0  6
 8 1 0  631800 1553088    27   0   0   0    16   0   0   0   23  773
421820 96  0  3
 7 1 0  631800 1548752     3   0   0   0     0   0   0   0   27  552
714116 96  0  4
 7 1 0  631800 1543804    20   0   0   0     0   0   0   0   20  541
887702 94  0  6
 6 1 0  632824 1537948    15   0   0   0     1   0   1   0   25  590
691248 95  0  5
 7 1 0  632824 1533896     1   0   0   0     4   0   1   0   21  676
545389 95  0  5
 7 1 0  632824 1528332     2   0   0   0     0   0   0   0   23  787
637327 93  0  7
 5 1 0  632824 1525668     1   0   0   0     0   0   0   0   13  893
722130 90  0 10
 3 1 0  632824 1520008     3   0   0   0     0   0   0   0   25  897
1216075 81  0 19
 6 1 0  632824 1510980    25   0   0   0     0   0   0   0   33  932
1126821 90  0 10
 7 1 0  632824 1503956     1   0   0   0     3   0   0   0   29  804
961332 93  0  7
 procs      memory      page                    disks     faults      cpu
 r b w     avm    fre   flt  re  pi  po    fr  sr ad6 ad8   in   sy
cs us sy id
 4 2 0  635076 1498816    59   0   0   0    43   0   0   0   24 1014
1188872 91  0  9
 7 2 0  635076 1492764     7   0   0   0     0   0   1   0   28 1283
1085336 88  0 11

Thanks,
Josh


More information about the freebsd-current mailing list