SMP+HTT performance
Ivan Voras
ivoras at geri.cc.fer.hr
Sun Apr 4 09:13:12 PDT 2004
People (me included) have been wondering what influence do HTT and SMP
have on system performance, so I made some benchmarks (bytebench 3.1):
** SMP kernel, SMP enabled
TEST BASELINE RESULT INDEX
Arithmetic Test (type = double) 2541.7 771818.7 303.7
Dhrystone 2 without register variables 22366.3 4752705.6 212.5
Execl Throughput Test 16.5 971.9 58.9
File Copy (30 seconds) 179.0 48236.0 269.5
Pipe-based Context Switching Test 1318.5 72264.1 54.8
Shell scripts (8 concurrent) 4.0 380.6 95.2
=========
SUM of 6 items 994.5
AVERAGE 165.7
** SMP kernel, SMP disabled (kern.smp.disabled=1 in loader.conf)
TEST BASELINE RESULT INDEX
Arithmetic Test (type = double) 2541.7 770832.5 303.3
Dhrystone 2 without register variables 22366.3 4722643.0 211.1
Execl Throughput Test 16.5 976.0 59.2
File Copy (30 seconds) 179.0 48385.0 270.3
Pipe-based Context Switching Test 1318.5 86409.7 65.5
Shell scripts (8 concurrent) 4.0 440.3 110.1
=========
SUM of 6 items 1019.5
AVERAGE 169.9
** UP kernel
TEST BASELINE RESULT INDEX
Arithmetic Test (type = double) 2541.7 770802.1 303.3
Dhrystone 2 without register variables 22366.3 4831707.7 216.0
Execl Throughput Test 16.5 1406.9 85.3
File Copy (30 seconds) 179.0 48395.0 270.4
Pipe-based Context Switching Test 1318.5 117582.0 89.2
Shell scripts (8 concurrent) 4.0 547.6 136.9
=========
SUM of 6 items 1101.0
AVERAGE 183.5
Processor is:
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (3000.12-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0xf29 Stepping = 9
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,C
MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Hyperthreading: 2 logical CPUs
FreeBSD is 5.2.1-release, scheduler is ULE.
So, it looks like anything that requires concurrency will suffer.
--
`\|/' .---------------.
,'Y`. _( To think.... )_________
)|._.|( ( Doesn't that involve little )
/(___)\ ""( little lightbulbs over )"
( ) ""( My head ??? )"""""""
`..-.,' """""""""""""
|"|
.--' `--.
More information about the freebsd-current
mailing list