Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Apr 2004 12:03:39 +0200
From:      Ivan Voras <ivoras@fer.hr>
To:        current@freebsd.org
Subject:   HTT & SMP kernel
Message-ID:  <40712EFB.6090000@fer.hr>

next in thread | raw e-mail | index | archive | help
Here are my measurements regarding the usefulness of FreeBSD 5.2.1 SMP 
support with HTTP machines (bytebench 3.1):

** SMP kernel, SMP activated
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


It seems that, currently, performance will suffer on anything making use of 
concurrency (multiple processes, etc.)


-- 
Every sufficiently advanced magic is indistinguishable from technology
    - Arthur C Anticlarke



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40712EFB.6090000>