校内服务器压力测试

Posted 俺是小程

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了校内服务器压力测试相关的知识,希望对你有一定的参考价值。

在机房乱晃的时候发现一台服务器, 找教练问过以后拿到了这个服务器的使用权(反正没人用)
在另一个小伙伴的帮助下装上了ubuntu, 跑了一下压力测试.

结果如下:

   #    #  #    #  #  #    #          #####   ######  #    #   ####   #    #
   #    #  ##   #  #   #  #           #    #  #       ##   #  #    #  #    #
   #    #  # #  #  #    ##            #####   #####   # #  #  #       ######
   #    #  #  # #  #    ##            #    #  #       #  # #  #       #    #
   #    #  #   ##  #   #  #           #    #  #       #   ##  #    #  #    #
    ####   #    #  #  #    #          #####   ######  #    #   ####   #    #

   Version 5.1.2                      Based on the Byte Magazine Unix Benchmark

   Multi-CPU version                  Version 5 revisions by Ian Smith,
                                      Sunnyvale, CA, USA
   December 22, 2007                  johantheghost at yahoo period com

Wide character in print at ./Run line 1510.
Wide character in printf at ./Run line 1541.

1 x Dhrystone 2 using register variables  1 2 3 4 5 6 7 8 9 10

1 x Double-Precision Whetstone  1 2 3 4 5 6 7 8 9 10

1 x Execl Throughput  1 2 3

1 x File Copy 1024 bufsize 2000 maxblocks  1 2 3

1 x File Copy 256 bufsize 500 maxblocks  1 2 3

1 x File Copy 4096 bufsize 8000 maxblocks  1 2 3

1 x Pipe Throughput  1 2 3 4 5 6 7 8 9 10

1 x Pipe-based Context Switching  1 2 3 4 5 6 7 8 9 10

1 x Process Creation  1 2 3

1 x System Call Overhead  1 2 3 4 5 6 7 8 9 10

1 x Shell Scripts (1 concurrent)  1 2 3

1 x Shell Scripts (8 concurrent)  1 2 3
Wide character in printf at ./Run line 1483.

4 x Dhrystone 2 using register variables  1 2 3 4 5 6 7 8 9 10

4 x Double-Precision Whetstone  1 2 3 4 5 6 7 8 9 10

4 x Execl Throughput  1 2 3

4 x File Copy 1024 bufsize 2000 maxblocks  1 2 3

4 x File Copy 256 bufsize 500 maxblocks  1 2 3

4 x File Copy 4096 bufsize 8000 maxblocks  1 2 3

4 x Pipe Throughput  1 2 3 4 5 6 7 8 9 10

4 x Pipe-based Context Switching  1 2 3 4 5 6 7 8 9 10

4 x Process Creation  1 2 3

4 x System Call Overhead  1 2 3 4 5 6 7 8 9 10

4 x Shell Scripts (1 concurrent)  1 2 3

4 x Shell Scripts (8 concurrent)  1 2 3
Wide character in printf at ./Run line 1483.

========================================================================
   BYTE UNIX Benchmarks (Version 5.1.2)

   System: whezoi_server: GNU/Linux
   OS: GNU/Linux -- 4.15.0-33-generic -- #36-Ubuntu SMP Wed Aug 15 16:00:05 UTC 2018
   Machine: x86_64 (x86_64)
   Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
   CPU 0: Intel(R) Xeon(R) CPU E31220 @ 3.10GHz (6185.5 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   CPU 1: Intel(R) Xeon(R) CPU E31220 @ 3.10GHz (6185.5 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   CPU 2: Intel(R) Xeon(R) CPU E31220 @ 3.10GHz (6185.5 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   CPU 3: Intel(R) Xeon(R) CPU E31220 @ 3.10GHz (6185.5 bogomips)
          Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel virtualization
   16:44:13 up  5:12,  3 users,  load average: 5.85, 2.03, 0.78; runlevel 5

------------------------------------------------------------------------
Benchmark Run: 四 8月 30 2018 16:44:13 - 17:12:22
4 CPUs in system; running 1 parallel copy of tests

Dhrystone 2 using register variables       37602092.3 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                     4554.2 MWIPS (9.9 s, 7 samples)
Execl Throughput                               4879.1 lps   (29.9 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks        739949.0 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          192189.3 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       2004662.4 KBps  (30.0 s, 2 samples)
Pipe Throughput                             1015884.8 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 185046.0 lps   (10.0 s, 7 samples)
Process Creation                               5327.1 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                   6849.2 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   3143.8 lpm   (60.0 s, 2 samples)
System Call Overhead                         811548.1 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0   37602092.3   3222.1
Double-Precision Whetstone                       55.0       4554.2    828.0
Execl Throughput                                 43.0       4879.1   1134.7
File Copy 1024 bufsize 2000 maxblocks          3960.0     739949.0   1868.6
File Copy 256 bufsize 500 maxblocks            1655.0     192189.3   1161.3
File Copy 4096 bufsize 8000 maxblocks          5800.0    2004662.4   3456.3
Pipe Throughput                               12440.0    1015884.8    816.6
Pipe-based Context Switching                   4000.0     185046.0    462.6
Process Creation                                126.0       5327.1    422.8
Shell Scripts (1 concurrent)                     42.4       6849.2   1615.4
Shell Scripts (8 concurrent)                      6.0       3143.8   5239.6
System Call Overhead                          15000.0     811548.1    541.0
                                                                   ========
System Benchmarks Index Score                                        1263.8

------------------------------------------------------------------------
Benchmark Run: 四 8月 30 2018 17:12:22 - 17:40:34
4 CPUs in system; running 4 parallel copies of tests

Dhrystone 2 using register variables      141831467.1 lps   (10.0 s, 7 samples)
Double-Precision Whetstone                    17142.0 MWIPS (9.9 s, 7 samples)
Execl Throughput                              17265.5 lps   (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks       1335662.5 KBps  (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks          351343.8 KBps  (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks       3832921.6 KBps  (30.0 s, 2 samples)
Pipe Throughput                             3857823.1 lps   (10.0 s, 7 samples)
Pipe-based Context Switching                 842044.3 lps   (10.0 s, 7 samples)
Process Creation                              40710.9 lps   (30.0 s, 2 samples)
Shell Scripts (1 concurrent)                  26009.6 lpm   (60.0 s, 2 samples)
Shell Scripts (8 concurrent)                   3882.4 lpm   (60.0 s, 2 samples)
System Call Overhead                        2927000.0 lps   (10.0 s, 7 samples)

System Benchmarks Index Values               BASELINE       RESULT    INDEX
Dhrystone 2 using register variables         116700.0  141831467.1  12153.5
Double-Precision Whetstone                       55.0      17142.0   3116.7
Execl Throughput                                 43.0      17265.5   4015.2
File Copy 1024 bufsize 2000 maxblocks          3960.0    1335662.5   3372.9
File Copy 256 bufsize 500 maxblocks            1655.0     351343.8   2122.9
File Copy 4096 bufsize 8000 maxblocks          5800.0    3832921.6   6608.5
Pipe Throughput                               12440.0    3857823.1   3101.1
Pipe-based Context Switching                   4000.0     842044.3   2105.1
Process Creation                                126.0      40710.9   3231.0
Shell Scripts (1 concurrent)                     42.4      26009.6   6134.3
Shell Scripts (8 concurrent)                      6.0       3882.4   6470.7
System Call Overhead                          15000.0    2927000.0   1951.3
                                                                   ========
System Benchmarks Index Score                                        3883.2

性能意外的不错呢

以上是关于校内服务器压力测试的主要内容,如果未能解决你的问题,请参考以下文章

校内测试2020-7-13校内测试

两所大学中的智能车竞赛校内赛

loadrunner如何做接口的压力测试?

18清明校内测试T1

ab命令压力测试

10.5校内测试DP概率