只测试了共享核心的性能:

========================================================================
   BYTE UNIX Benchmarks (Version 5.1.3)

   System: ustest: GNU/Linux
   OS: GNU/Linux -- 4.9.0-3-amd64 -- #1 SMP Debian 4.9.30-2+deb9u3 (2017-08-06)
   Machine: x86_64 (unknown)
   Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
   CPU 0: Intel(R) Xeon(R) CPU @ 2.20GHz (4400.0 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
   10:40:38 up 3 min,  1 user,  load average: 0.12, 0.10, 0.03; runlevel 5

------------------------------------------------------------------------
Benchmark Run: Tue Aug 22 2017 10:40:38 - 11:10:09
1 CPU in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       30738429.0 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     3240.2 MWIPS (15.9 s, 7 samples)
Execl Throughput                               3198.9 lps   (29.7 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        705613.7 KBps  (30.1 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          207207.2 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       1255169.0 KBps  (30.0 s, 2 samples)
Pipe Throughput                             1569910.4 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 300011.0 lps   (10.0 s, 7 samples)
Process Creation                               8305.1 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   4702.1 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                    670.8 lpm   (60.1 s, 2 samples)
System Call Overhead                        2316048.9 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   30738429.0   2634.0
Double-Precision Whetstone                       55.0       3240.2    589.1
Execl Throughput                                 43.0       3198.9    743.9
File Copy 1024 bufsize 2000 maxblocks          3960.0     705613.7   1781.9
File Copy 256 bufsize 500 maxblocks            1655.0     207207.2   1252.0
File Copy 4096 bufsize 8000 maxblocks          5800.0    1255169.0   2164.1
Pipe Throughput                               12440.0    1569910.4   1262.0
Pipe-based Context Switching                   4000.0     300011.0    750.0
Process Creation                                126.0       8305.1    659.1
Shell Scripts (1 concurrent)                     42.4       4702.1   1109.0
Shell Scripts (8 concurrent)                      6.0        670.8   1118.0
System Call Overhead                          15000.0    2316048.9   1544.0
                                                                   ========
System Benchmarks Index Score                                        1171.1

 

客观的说,性能还是不错的,但是跑个简单的博客却总是mysql崩掉,不解。

作者 听涛

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注