Last update at :2024-05-28,Edit by888u
UnixBench is an open source tool used to test the basic performance of Unix, BSD, and Linux systems. It is more commonly used for VPS performance testing of Linux systems. The main test items are: system calls, reading and writing, processes, graphical tests, and 2D , 3D, pipeline, computing, C library and other system benchmark performance test data are provided. Regarding how to use UnixBench to conduct benchmark testing for Linux system VPS, Snail 789 has made relevant introductions in articles on how to perform performance tests on VPS and how to use the UnixBench benchmark tool. In this article, I will introduce to you an article written by @秋水伊冰The UnixBench one-click running test script produced by the boss is very simple to use. The following simple commands can realize the one-click running test.
1. Script commands
If you want to use UnixBench to test your server performance, please use the SSH tool to connect to your server and execute the following command. The script uses UnixBench version 5.1.3 by default. Because most VPSs do not have graphics cards or integrated graphics cards, there is no need to perform graphics performance testing, so the author commented on the graphic test items. This script takes about 10-30 minutes to run the test. The higher the score after the run, the better the performance.
wget --no-check-certificate https://github.com/teddysun/across/raw/master/unixbench.shchmod +x unixbench.sh./unixbench.shSnail 789 alternative command:
wget --no-check-certificate https://github.com/wn789/unixbench/blob/master/unixbench.shchmod +x unixbench.sh./unixbench.sh2. Test effect
-------------------------------------------------- -----------------------Benchmark Run: Wed Dec 19 2018 19:50:58 - 20:19:172 CPUs in system; running 1 parallel copy of testsDhrystone 2 using register variables 21092505.4 lps (10.0 s, 7 samples)Double-Precision Whetstone 2655.9 MWIPS (9.9 s, 7 samples)Execl Throughput 845.3 lps (30.0 s, 2 samples)File Copy 1024 bufsize 2000 maxblocks 213526.5 KBps (30. 0 seconds, 2 samples)File Copy 256 bufsize 500 maxblocks 55094.0 KBps (30.0 s, 2 samples)File Copy 4096 bufsize 8000 maxblocks 669049.2 KBps (30.0 s, 2 samples)Pipe Throughput 262532.9 lps (10.0 s, 7 samples)Pipe-based Context Switching 3 2340.5 lps (10.0 s, 7 samples)Process Creation 1722.2 lps (30.0 s, 2 samples)Shell Scripts (1 concurrent) 2072.5 lpm (60.0 s, 2 samples)Shell Scripts (8 concurrent) 384.7 lpm (60.0 s, 2 samples)System Call Overhead 308320.4 lps (10.0 s, 7 samples)System Benchmarks Index Values BASELINE RESULT INDEXDhrystone 2 using register variables 116700.0 21092505.4 1807.4Double-Precision Whetstone 55.0 2655.9 482.9Execl Throughput 43.0 845.3 196.6File Copy 1024 bufsize 2000 maxblocks 3960.0 213526.5 539.2File Copy 256 bufsize 500 maxblocks 1655.0 55094.0 332.9File Copy 4096 bufsize 8000 maxblocks 5800.0 669049.2 1153.5Pipe Throughput 12440.0 262532.9 211.0Pipe-based Context Switching 4000.0 32340.5 80.9Process Cre ation 126.0 1722.2 136.7Shell Scripts (1 concurrent) 42.4 2072.5 488.8Shell Scripts (8 concurrent) 6.0 384.7 641.1System Call Overhead 15000.0 308320.4 205.5 ========System Benchmarks Index Score 363.6-------------------------------- ----------------------------------------Benchmark Run: Wed Dec 19 2018 20:19 :17 - 20:47:452 CPUs in system; running 2 parallel copies of testsDhrystone 2 using register variables 40199084.3 lps (10.0 s, 7 samples)Double-Precision Whetstone 5315.7 MWIPS (9.9 s, 7 samples)Execl Throughput 1321.4 lps (30.0 s, 2 samples)File Copy 1024 bufsize 2000 maxblocks 329910.4 KBps (30.0 s, 2 samples)File Copy 256 bufsize 500 maxblocks 89161.7 KBps (30.0 s, 2 samples)File Copy 4096 bufsize 8000 maxblocks 1131551.0 KB ps (30.0 s, 2 samples) Pipe Throughput 496906.4 lps (10.0 s, 7 samples)Pipe-based Context Switching 89894.4 lps (10.0 s, 7 samples)Process Creation 3208.2 lps (30.0 s, 2 samples)Shell Scripts (1 concurrent) 2742.8 lpm (60.0 s, 2 samples) )Shell Scripts (8 concurrent) 380.8 lpm (60.2 s, 2 samples)System Call Overhead 562093.4 lps (10.0 s, 7 samples)System Benchmarks Index Values BASELINE RESULT INDEXDhrystone 2 using register variables 116700.0 40199084.3 3444.7Double-Precision Whetstone 55 .0 5315.7 966.5Execl Throughput 43.0 1321.4 307.3File Copy 1024 bufsize 2000 maxblocks 3960.0 329910.4 833.1File Copy 256 bufsize 500 maxblocks 1655.0 89161.7 538.7File Copy 4096 bufsize 8000 maxblocks 58 00.0 1131551.0 1951.0Pipe Throughput 12440.0 496906.4 399.4Pipe-based Context Switching 4000.0 89894.4 224.7Process Creation 126.0 3208.2 254.6Shell Scripts (1 concurrent) 42.4 2742.8 646.9Shell Scripts (8 concurrent) 6.0 380.8 634.7System Call Overhead 15000.0 562093.4 374.7 ========System Benchmarks Index Score 618.8-------------------------- -------------------------------------------------- --------Recommended site search: How to query domain name registration number, free all-purpose space application, cloud server rental, free asp space application, foreign server rental price, domain name transaction pw domain name, foreign server vps, query domain name, special price space,
发表评论