【行業禁忌?】小雞的CPU跑分多少算合格?

不同商家對於小雞CPU的限製差別挺大的,就算是我們自己對於CPU的限製也是根據產品的定位而定的。

也沒啥好避諱的,我們的EPYC的限製是98%,KVM是95%,VDS是80%,RAM是50%,NAT小雞是30%
後麵我會逐步把各個限製下的sysbench跑分結果和宿主機的情況發出來,供大家參考

大家也可以測測看自己小雞的跑分結果,發在這裏,行業透明才有利於行業的發展
一次跑分說明不了什麽,可以有事沒事跑個分,樣本量大了就有代表性了(回複都整理到第二頁了,可以看看)

CentOS:

  1. yum install epel-release -y
  2. yum install sysbench -y
  3. sysbench cpu run

複製代碼

Ubuntu:

  1. apt-get install sysbench
  2. sysbench cpu run

複製代碼

多線程的小雞請加上線程參數進行測試(替換N為自己的核數)
–num-threads=N

另外也可以參考unixbench(比較耗時,測試更加偏向全性能):

  1. wget –no-check-certificate https://github.com/zq/unixbench/raw/master/unixbench.sh
  2. chmod +x unixbench.sh
  3. ./unixbench.sh

複製代碼

——-第二頁為各位回複匯總——–
——-其後為我們的實際測評——–

 

網友回複:

注冊 雲筏我一直印象挺好,尤其是挑剔的mjj都沒什麽撕逼的情況下(

CloudRaft 等會回來貼分數 ​​​​​​​​​​

van 先關注下

嗷嗷 推薦睿數據的服務器,G口機器不超開,ruidata.net。

laogui 我推薦UnixBench跑分,Vultr原先也是標的UnixBench跑分,現在改Geekbench的跑分了。 http://www.unixbench.org/ 1. 辣雞PR,單核1G:最開始300多分,後麵跑分500出頭。 2. 搬瓦工雙11款,雙核2G,單核881/雙核1337 3. 給同事推薦的Offer區VPS,半翻車了,跑分單核285/雙核536

403_Forbidden VDS怎麽比KVM低

micto 一時的跑分說明不了什麽

nico 挺好的啊鐵汁

gzchenjz 路過綁定

注冊 90qh [root[url=home.php?mod=space&uid=22998]@localhost[/url] ~]# sysbench cpu run sysbench 1.0.17 (using system LuaJIT 2.0.4) Running the test with following options: Number of threads: 1 Initializing random number generator from current time Prime numbers limit: 10000 Initializing worker threads… Threads started! CPU speed:     events per second:   258.71 General statistics:     total time:                          10.0010s     total number of events:              2589 Latency (ms):          min:                                    2.87          avg:                                    3.86          max:                                   11.81          95th percentile:                        4.82          sum:                                 9992.41 Threads fairness:     events (avg/stddev):           2589.0000/0.00     execution time (avg/stddev):   9.9924/0.00 複製代碼 瓦工 [root[url=home.php?mod=space&uid=16978]@host[/url] ~]# sysbench cpu run sysbench 1.0.17 (using system LuaJIT 2.0.4) Running the test with following options: Number of threads: 1 Initializing random number generator from current time Prime numbers limit: 10000 Initializing worker threads… Threads started! CPU speed:     events per second:   781.16 General statistics:     total time:                          10.0010s     total number of events:              7814 Latency (ms):          min:                                    1.21          avg:                                    1.28          max:                                    4.90          95th percentile:                        1.34          sum:                                 9989.26 Threads fairness:     events (avg/stddev):           7814.0000/0.00     execution time (avg/stddev):   9.9893/0.00 複製代碼

注冊 雲筏4核KVM # sysbench cpu run sysbench 1.0.17 (using system LuaJIT 2.0.4) Running the test with following options: Number of threads: 1 Initializing random number generator from current time Prime numbers limit: 10000 Initializing worker threads… Threads started! CPU speed:     events per second:   964.56 General statistics:     total time:                          10.0009s     total number of events:              9648 Latency (ms):          min:                                    0.93          avg:                                    1.04          max:                                    6.35          95th percentile:                        1.08          sum:                                 9993.41 Threads fairness:     events (avg/stddev):           9648.0000/0.00     execution time (avg/stddev):   9.9934/0.00 複製代碼

king51 雲筏1核NAT小雞 # sysbench cpu run sysbench 1.0.17 (using system LuaJIT 2.0.4) Running the test with following options: Number of threads: 1 Initializing random number generator from current time Prime numbers limit: 10000 Initializing worker threads… Threads started! CPU speed:     events per second:   138.45 General statistics:     total time:                          10.0106s     total number of events:              1387 Latency (ms):          min:                                    0.93          avg:                                    7.20          max:                                   38.05          95th percentile:                       10.27          sum:                                 9991.73 Threads fairness:     events (avg/stddev):           1387.0000/0.00     execution time (avg/stddev):   9.9917/0.00 複製代碼

enulann 套路雲輕量 # sysbench cpu run sysbench 1.0.17 (using system LuaJIT 2.0.4) Running the test with following options: Number of threads: 1 Initializing random number generator from current time Prime numbers limit: 10000 Initializing worker threads… Threads started! CPU speed:     events per second:   858.41 General statistics:     total time:                          10.0010s     total number of events:              8587 Latency (ms):          min:                                    1.08          avg:                                    1.16          max:                                    5.43          95th percentile:                        1.34          sum:                                 9985.90 Threads fairness:     events (avg/stddev):           8587.0000/0.00     execution time (avg/stddev):   9.9859/0.00 複製代碼

enulann 綠雲大阪 CPU speed:     events per second:   861.03 General statistics:     total time:                          10.0017s     total number of events:              8614 Latency (ms):          min:                                    1.09          avg:                                    1.16          max:                                   28.63          95th percentile:                        1.23          sum:                                 9990.83 Threads fairness:     events (avg/stddev):           8614.0000/0.00     execution time (avg/stddev):   9.9908/0.00 複製代碼 ion2019 Threads started! CPU speed:     events per second:   789.12 General statistics:     total time:                          10.0011s     total number of events:              7894 Latency (ms):          min:                                    1.16          avg:                                    1.27          max:                                   22.37          95th percentile:                        1.39          sum:                                 9993.16 Threads fairness:     events (avg/stddev):           7894.0000/0.00     execution time (avg/stddev):   9.9932/0.00 複製代碼 CC15刀 CPU speed:     events per second:   428.16 General statistics:     total time:                          10.0017s     total number of events:              4284 Latency (ms):          min:                                    1.55          avg:                                    2.33          max:                                   62.88          95th percentile:                        2.48          sum:                                 9977.21 Threads fairness:     events (avg/stddev):           4284.0000/0.00     execution time (avg/stddev):   9.9772/0.00 複製代碼 騰訊雲北京 Running the test with following options: Number of threads: 1 Initializing random number generator from current time Prime numbers limit: 10000 Initializing worker threads… Threads started! CPU speed:     events per second:   942.58 General statistics:     total time:                          10.0005s     total number of events:              9428 Latency (ms):          min:                                    1.01          avg:                                    1.06          max:                                    2.17          95th percentile:                        1.08          sum:                                 9986.02 Threads fairness:     events (avg/stddev):           9428.0000/0.00     execution time (avg/stddev):   9.9860/0.00 複製代碼 騰訊雲香港輕量 Running the test with following options: Number of threads: 1 Initializing random number generator from current time Prime numbers limit: 10000 Initializing worker threads… Threads started! CPU speed:     events per second:   906.46 General statistics:     total time:                          10.0042s     total number of events:              9070 Latency (ms):          min:                                    1.05          avg:                                    1.10          max:                                   16.86          95th percentile:                        1.18          sum:                                 9991.56複製代碼 PR7.25 Number of threads: 1 Initializing random number generator from current time Prime numbers limit: 10000 Initializing worker threads… Threads started! CPU speed:     events per second:   587.91 General statistics:     total time:                          10.0043s     total number of events:              5883 Latency (ms):          min:                                    1.36          avg:                                    1.69          max:                                   37.56          95th percentile:                        2.14          sum:                                 9945.14 複製代碼

enulann 這個命令僅僅是單線程。

Zxwax 雲筏2核kvm hetzner sysbench 1.0.17 (using system LuaJIT 2.0.4) Running the test with following options: Number of threads: 1 Initializing random number generator from current time Prime numbers limit: 10000 Initializing worker threads… Threads started! CPU speed:     events per second:   954.91 General statistics:     total time:                          10.0005s     total number of events:              9551 Latency (ms):          min:                                    0.93          avg:                                    1.05          max:                                    8.21          95th percentile:                        1.06          sum:                                 9991.46 Threads fairness:     events (avg/stddev):           9551.0000/0.00     execution time (avg/stddev):   9.9915/0.00 複製代碼 這是某mjj開的8核nat sysbench 1.0.17 (using system LuaJIT 2.0.4) Running the test with following options: Number of threads: 1 Initializing random number generator from current time Prime numbers limit: 10000 Initializing worker threads… Threads started! CPU speed:     events per second:   518.05 General statistics:     total time:                          10.0013s     total number of events:              5184 Latency (ms):          min:                                    1.78          avg:                                    1.93          max:                                    5.86          95th percentile:                        2.48          sum:                                 9989.99 Threads fairness:     events (avg/stddev):           5184.0000/0.00     execution time (avg/stddev):   9.9900/0.00 複製代碼 順帶跑了個ikoula家的r9 3900x獨服 sysbench 1.0.20 (using bundled LuaJIT 2.1.0-beta2) Running the test with following options: Number of threads: 1 Initializing random number generator from current time Prime numbers limit: 10000 Initializing worker threads… Threads started! CPU speed:     events per second:  2278.33 General statistics:     total time:                          10.0004s     total number of events:              22786 Latency (ms):          min:                                    0.43          avg:                                    0.44          max:                                    0.58          95th percentile:                        0.45          sum:                                 9998.19 Threads fairness:     events (avg/stddev):           22786.0000/0.00     execution time (avg/stddev):   9.9982/0.00 複製代碼

012 CPU speed:     events per second:  1480.20 General statistics:     total time:                          10.0005s     total number of events:              14804 Latency (ms):          min:                                    0.52          avg:                                    0.67          max:                                    8.40          95th percentile:                        1.55          sum:                                 9981.84 Threads fairness:     events (avg/stddev):           14804.0000/0.00     execution time (avg/stddev):   9.9818/0.00

yimi233 geekbench 5我覺得最起碼得跑到500分以上。

micms 雖然沒買過你家雞 但一直覺得樓主的言語很坦誠

注冊 Virmach 大水牛

注冊 頂一下

yizhuohao7 virmach家的: Running the test with following options: Number of threads: 1 Initializing random number generator from current time Prime numbers limit: 10000 Initializing worker threads… Threads started! CPU speed:     events per second:   556.06 General statistics:     total time:                          10.0017s     total number of events:              5563 Latency (ms):          min:                                    1.55          avg:                                    1.79          max:                                   31.70          95th percentile:                        1.86          sum:                                 9952.60 Threads fairness:     events (avg/stddev):           5563.0000/0.00     execution time (avg/stddev):   9.9526/0.00

2543303982 Hello, Kotlin

ApkB Geekbench 單核875/雙核1736

js攻城獅 Benchmark Run: Mon Aug 17 2020 21:50:47 – 22:19:11 1 CPU in system; running 1 parallel copy of tests Dhrystone 2 using register variables       26227414.0 lps   (10.0 s, 7 samples) Double-Precision Whetstone                     3777.1 MWIPS (9.8 s, 7 samples) Execl Throughput                               2418.2 lps   (30.0 s, 2 samples) File Copy 1024 bufsize 2000 maxblocks        194659.8 KBps  (30.0 s, 2 samples) File Copy 256 bufsize 500 maxblocks           49822.0 KBps  (30.0 s, 2 samples) File Copy 4096 bufsize 8000 maxblocks        577919.4 KBps  (30.0 s, 2 samples) Pipe Throughput                              292582.2 lps   (10.0 s, 7 samples) Pipe-based Context Switching                  64489.9 lps   (10.0 s, 7 samples) Process Creation                               5467.4 lps   (30.0 s, 2 samples) Shell Scripts (1 concurrent)                   4733.7 lpm   (60.0 s, 2 samples) Shell Scripts (8 concurrent)                    596.8 lpm   (60.1 s, 2 samples) System Call Overhead                         258623.7 lps   (10.0 s, 7 samples) System Benchmarks Index Values               BASELINE       RESULT    INDEX Dhrystone 2 using register variables         116700.0   26227414.0   2247.4 Double-Precision Whetstone                       55.0       3777.1    686.8 Execl Throughput                                 43.0       2418.2    562.4 File Copy 1024 bufsize 2000 maxblocks          3960.0     194659.8    491.6 File Copy 256 bufsize 500 maxblocks            1655.0      49822.0    301.0 File Copy 4096 bufsize 8000 maxblocks          5800.0     577919.4    996.4 Pipe Throughput                               12440.0     292582.2    235.2 Pipe-based Context Switching                   4000.0      64489.9    161.2 Process Creation                                126.0       5467.4    433.9 Shell Scripts (1 concurrent)                     42.4       4733.7   1116.4 Shell Scripts (8 concurrent)                      6.0        596.8    994.7 System Call Overhead                          15000.0     258623.7    172.4                                                                    ======== System Benchmarks Index Score                                         521.3

hcyme 辣雞PR老套餐根本沒有CPU限製,直接給100%,就看誰搶得過誰…… 新套餐統一50%,這個後續會往上調,我正在研究動態降頻方法。 比如每隔10分鍾檢測一次,最早給跑100%,如果10分鍾跑滿降頻10%,以此類推。

yem 老套餐換新套餐,降帶寬、降流量的事情,這可是馬蜂窩。

開腥小站長 老套餐回收沒多大利潤,還特別麻煩,所以商量了下直接集體升Virtualizor。 升完以後先給幾個高負載節點限製CPU,把負載降下來再說。 後續PR大概會劃分產品線,PR-V是往國際上做,走高端。 之前的那些修好負載問題,可以出一些無節操促銷。 經過測試一台母雞放280台小雞沒啥問題。

micto sysbench cpu run Unknown command: cpu. Usage:   sysbench [general-options]… –test=

[test-options]… command 為什麽我命令行每次都失敗 隻能這樣又看不到CPU分數 root@cont59:~# sysbench –num-threads=4 –test=cpu run sysbench 0.4.12:  multi-threaded system evaluation benchmark Running the test with following options: Number of threads: 4 Doing CPU performance benchmark Threads started! Done. Maximum prime number checked in CPU test: 10000 Test execution summary:     total time:                          1.6933s     total number of events:              10000     total time taken by event execution: 6.7672     per-request statistics:          min:                                  0.59ms          avg:                                  0.68ms          max:                                 16.35ms          approx.  95 percentile:               0.87ms Threads fairness:     events (avg/stddev):           2500.0000/221.02     execution time (avg/stddev):   1.6918/0.00 root@cont59:~#

注冊 回頭等印度人轉換了,我深鑽一下跑分,爭取讓PR跑得好看,表麵功夫要做好。

注冊 鑽跑分沒有用的,其他的可以用安裝lnmp一鍵包來衡量時間。 搬瓦工CN2雙十一版,安裝完全大概30分鍾。 如果是性能差點的vps,需要1個半小時,甚至更多。

開腥小站長 那還是動態降頻比較好,這個技術貌似沒幾家有,我得研究研究。 (不對啊我的職務是銷售吧……

micto 搬瓦工雙11 WARNING: –num-threads is deprecated, use –threads instead sysbench 1.0.17 (using system LuaJIT 2.1.0-beta3) Running the test with following options: Number of threads: 2 Initializing random number generator from current time Prime numbers limit: 10000 Initializing worker threads… Threads started! CPU speed:     events per second:  1134.74 General statistics:     total time:                          10.0018s     total number of events:              11353 Latency (ms):          min:                                    1.54          avg:                                    1.76          max:                                   23.80          95th percentile:                        2.03          sum:                                19976.20 Threads fairness:     events (avg/stddev):           5676.5000/78.50     execution time (avg/stddev):   9.9881/0.00 複製代碼

開腥小站長 pr第一批雞雞(三號母雞) sysbench 1.0.11 (using system LuaJIT 2.1.0-beta3) Running the test with following options: Number of threads: 2 Initializing random number generator from current time Prime numbers limit: 10000 Initializing worker threads… Threads started! CPU speed:     events per second:  1413.85 General statistics:     total time:                          10.0012s     total number of events:              14144 Latency (ms):          min:                                  1.18          avg:                                  1.41          max:                                 12.25          95th percentile:                      1.52          sum:                              19960.98 Threads fairness:     events (avg/stddev):           7072.0000/2.00     execution time (avg/stddev):   9.9805/0.00 複製代碼

麵包狗 ~# sysbench cpu run sysbench 1.0.19 (using bundled LuaJIT 2.1.0-beta2) Running the test with following options: Number of threads: 1 Initializing random number generator from current time Prime numbers limit: 10000 Initializing worker threads… Threads started! CPU speed:     events per second:  1105.90 General statistics:     total time:                          10.0001s     total number of events:              11061 Latency (ms):          min:                                    0.75          avg:                                    0.90          max:                                    3.96          95th percentile:                        1.01          sum:                                 9992.11 Threads fairness:     events (avg/stddev):           11061.0000/0.00     execution time (avg/stddev):   9.9921/0.00

麵包狗 ion2019CPU speed:     events per second:   788.60 General statistics:     total time:                          10.0006s     total number of events:              7888 Latency (ms):          min:                                    1.17          avg:                                    1.27          max:                                   24.28          95th percentile:                        1.30          sum:                                 9994.36 Threads fairness:     events (avg/stddev):           7888.0000/0.00     execution time (avg/stddev):   9.9944/0.00 複製代碼 GGC hkCPU speed:     events per second:   560.54 General statistics:     total time:                          10.0017s     total number of events:              5608 Latency (ms):          min:                                    1.41          avg:                                    1.78          max:                                   13.17          95th percentile:                        2.57          sum:                                 9986.80 複製代碼 水墨雲hk建站Threads started! CPU speed:     events per second:   699.98 General statistics:     total time:                          10.0011s     total number of events:              7003 Latency (ms):          min:                                    1.03          avg:                                    1.43          max:                                    9.63          95th percentile:                        1.96          sum:                                 9994.64 Threads fairness:     events (avg/stddev):           7003.0000/0.00     execution time (avg/stddev):   9.9946/0.00 複製代碼 套路雲上海CPU speed:     events per second:   867.17 General statistics:     total time:                          10.0007s     total number of events:              8674 Latency (ms):          min:                                    1.07          avg:                                    1.15          max:                                   71.47          95th percentile:                        1.25          sum:                                 9990.68 複製代碼

注意:本站隻對HOSTLOC帖子進行收集和歸納,並不審核其內容,若其中內容侵犯到您的權益,請聯係長站刪除!!本文由IP索引采集整理發布!!ipipn.com歡迎友情鏈接!!!

相關說明:

1、VIP會員無限製任意下載,免積分。立即前往開通>>

2、下載積分可通過日常 簽到綁定郵箱 以及 積分兌換 等途徑獲得!

3、本站資源大多存儲在雲盤,如出現鏈接失效請評論反饋,如有密碼,均為:www.ipipn.com。

4、所有站內資源僅供學習交流使用。未經原版權作者許可,禁止用於任何商業環境,否則後果自負。為尊重作者版權,請購買正版作品。

5、站內資源來源於網絡公開發表文件或網友分享,如侵犯您的權益,請聯係管理員處理。

6、本站提供的源碼、模板、軟件工具等其他資源,都不包含技術服務,請大家諒解!

7、源碼、模板等資源會隨著技術、壞境的升級而存在部分問題,還請慎重選擇。

PS.源碼均收集自網絡,如有侵犯閣下權益,請發信件至: admin@ipipn.com .


源站網 » 【行業禁忌?】小雞的CPU跑分多少算合格?

發表評論

讚助本站發展 維持服務器消耗

全站源碼免費下載 立刻讚助