Skip to contentSkip to conversation

sched domains kernbench improvements

DISCUSSION Con Kolivas 2 participants 5 messages Feb 28, 2004

lore
Share & tools
lore
#0 lore raw

Hi Nick

Quoted 1 line

So it is more a matter of tuning than anything fundamental

Geez I know how you feel... :-D

I tried it on the X440 with sched smt disabled

better than before but still slower than vanilla on half load; however better than vanilla on optimal and full load now! I wonder whether the worse result on half load is as relevant since this is 8x HT cpus?

Full details:

vanilla:
Average Half Load Run:
Elapsed Time 120.186
User Time 800.614
System Time 92.604
Percent CPU 742.4
Context Switches 10430.6
Sleeps 26554.6

Average Optimum Load Run:
Elapsed Time 81.67
User Time 1009.54
System Time 113.614
Percent CPU 1374.6
Context Switches 63728
Sleeps 41399.4

Average Maximum Load Run:
Elapsed Time 83.148
User Time 1014.54
System Time 123.806
Percent CPU 1368.4
Context Switches 45229.6
Sleeps 22077.6

-mm no SMT (sorry didnt do max load):
Average Half Load Run:
Elapsed Time 133.51
User Time 799.268
System Time 92.784
Percent CPU 669
Context Switches 19340.8
Sleeps 24427.4

Average Optimum Load Run:
Elapsed Time 81.486
User Time 1006.37
System Time 106.952
Percent CPU 1366.8
Context Switches 33939
Sleeps 32453.4

-mm less idle:
Average Half Load Run:
Elapsed Time 128.23
User Time 819.256
System Time 93.09
Percent CPU 713
Context Switches 18566.2
Sleeps 24663.8

Average Optimum Load Run:
Elapsed Time 79.844
User Time 1004.26
System Time 106.74
Percent CPU 1391.8
Context Switches 33718
Sleeps 33007.8

Average Maximum Load Run:
Elapsed Time 81.47
User Time 1008.32
System Time 119.652
Percent CPU 1384.4
Context Switches 31296.6
Sleeps 22667.6

Con

#1 lore raw
Quoted 6 lines · Con Kolivas

Hi Nick

Quoted 2 lines

So it is more a matter of tuning than anything fundamental

Quoted 8 lines

Geez I know how you feel... :-D

I tried it on the X440 with sched smt disabled

better than before but still slower than vanilla on half load; however better than vanilla on optimal and full load now! I wonder whether the worse result on half load is as relevant since this is 8x HT cpus?

Thanks. Yep the drop off at half load is to be expected with CONFIG_SCHED_SMT turned off.

#2 lore raw
Quoted 8 lines · Nick Piggin
Quoted 7 lines · Con Kolivas

Hi Nick

Quoted 1 line

So it is more a matter of tuning than anything fundamental

Geez I know how you feel... :-D

Quoted 8 lines
Quoted 5 lines

I tried it on the X440 with sched smt disabled

better than before but still slower than vanilla on half load; however better than vanilla on optimal and full load now! I wonder whether the worse result on half load is as relevant since this is 8x HT cpus?

Thanks. Yep the drop off at half load is to be expected with CONFIG_SCHED_SMT turned off.

Will this affect the SCHED_SMT performance and should I do a round of benchies with this enabled?

Con

#3 lore raw
Quoted 18 lines · Con Kolivas
Quoted 16 lines · Nick Piggin
Quoted 14 lines · Con Kolivas

Hi Nick

Quoted 2 lines

So it is more a matter of tuning than anything fundamental

Geez I know how you feel... :-D

I tried it on the X440 with sched smt disabled

better than before but still slower than vanilla on half load; however better than vanilla on optimal and full load now! I wonder whether the worse result on half load is as relevant since this is 8x HT cpus?

Quoted 7 lines
Quoted 3 lines

Thanks. Yep the drop off at half load is to be expected with CONFIG_SCHED_SMT turned off.

Will this affect the SCHED_SMT performance and should I do a round of benchies with this enabled?

It will as far as balancing between physical CPUs, yes. It probably doesn't make quite a big difference because it is less of a problem if one sibling goes idle than if one CPU (in the 8-way) goes idle).

But if you could do a round with SCHED_SMT enabled it would be very nice of you ;)

#4 lore raw
Quoted 10 lines · Nick Piggin
Quoted 2 lines · Con Kolivas

Will this affect the SCHED_SMT performance and should I do a round of benchies with this enabled?

It will as far as balancing between physical CPUs, yes. It probably doesn't make quite a big difference because it is less of a problem if one sibling goes idle than if one CPU (in the 8-way) goes idle).

But if you could do a round with SCHED_SMT enabled it would be very nice of you ;)

One wonders sometimes why one asks a question if one already knows the answer ;-)

better on half load

sched_SMT:
Average Half Load Run:
Elapsed Time 113.008
User Time 742.786
System Time 90.65
Percent CPU 738
Context Switches 28062.6
Sleeps 24571.8

Average Optimum Load Run:
Elapsed Time 79.278
User Time 1007.69
System Time 107.388
Percent CPU 1407
Context Switches 33355
Sleeps 32720

Average Maximum Load Run:
Elapsed Time 80.33
User Time 1009.89
System Time 121.518
Percent CPU 1408.4
Context Switches 31802.4
Sleeps 22905

sched_SMT-lessidle:
Average Half Load Run:
Elapsed Time 112.084
User Time 722.972
System Time 91.946
Percent CPU 727.2
Context Switches 13016.6
Sleeps 24991.2

Average Optimum Load Run:
Elapsed Time 79.07
User Time 1007.33
System Time 107.482
Percent CPU 1410.2
Context Switches 33007.2
Sleeps 32159.6

Average Maximum Load Run:
Elapsed Time 80.926
User Time 1010.12
System Time 121.472
Percent CPU 1399
Context Switches 31268.4
Sleeps 22479

Con