京东云2核4G内存5M带宽轻量云主机测评
很久没有关注京东云了!上一次京东云送的福利还是1024节日“漏洞”白嫖5年的服务器,去年也到期了!
前不久京东云也上线了轻量云主机!双11搞活动价格也不错!到底这波轻量云性能怎么样呢?
这里给大家踩踩坑!
账户注册
测试IP
116.196.89.230
配置说明
CPU :2核
内存 :4G
带宽 :上行 5Mbps,下行 15Mbps
流量:500G
磁盘 :40GB
虚拟 :KVM
IP :IPv4 x 1
数据中心:国内多地机房(本次测试是北京数据中心)
价格:158元/年(新用户,双11活动价格)
配置参数
CPU Model : Intel(R) Xeon(R) Gold 6148 CPU @ 2.40GHz
CPU Cores : 2 @ 2394.374 MHz
CPU Cache : 16384 KB
AES-NI : ✓ Enabled
VM-x/AMD-V : ✗ Disabled
Total Disk : 58.9 GB (1.8 GB Used)
Total Mem : 3.7 GB (227.2 MB Used)
System uptime : 0 days, 0 hour 2 min
Load average : 0.09, 0.11, 0.05
OS : CentOS Linux release 7.9.2009 (Core)
Arch : x86_64 (64 Bit)
Kernel : 3.10.0-1160.el7.x86_64
TCP CC : cubic
Virtualization : KVM
IPv4/IPv6 : ✓ Online / ✗ Offline
Organization : AS23724 IDC, China Telecommunications Corporation
Location : Beijing / CN
Region : Beijing
磁盘IO
平均IO为 66.2MB/s
I/O Speed(1st run) : 67.8 MB/s
I/O Speed(2nd run) : 65.3 MB/s
I/O Speed(3rd run) : 65.4 MB/s
I/O Speed(average) : 66.2 MB/s
网速测试
下行15Mbps,上行7Mbps
Node Name Upload Speed Download Speed Latency
Speedtest.net 7.57 Mbps 15.35 Mbps 12.38 ms
Los Angeles, US 7.60 Mbps 0.82 Mbps 265.20 ms
Dallas, US 7.14 Mbps 0.73 Mbps 313.81 ms
Montreal, CA 7.54 Mbps 1.28 Mbps 323.14 ms
Paris, FR 8.31 Mbps 16.12 Mbps 150.63 ms
Shanghai, CN 3.81 Mbps 15.26 Mbps 59.48 ms
Chongqing, CN 7.60 Mbps 7.70 Mbps 32.70 ms
Mumbai, IN 4.11 Mbps 8.23 Mbps 255.36 ms
Singapore, SG 8.36 Mbps 15.29 Mbps 98.09 m
网络延迟
国内大部分线路表现不错,但是有几个延迟偏高!
线路 | 最快节点 | 最慢节点 | 平均响应 |
电信 | 河北保定8ms | 广东汕头366ms | 41.7ms |
多线 | 河南洛阳22ms | 广东广州38ms | 28.6ms |
联通 | 北京6ms | 贵州贵阳102ms | 41.3ms |
移动 | 江苏宿迁23ms | 陕西西安32ms | 27.3ms |
其他 | 中国香港45ms | 芬兰241ms | 117.0ms |
内存压测
内存最大分配到 2080MB
就被K了????!!!!
2000MB allocated
2010MB allocated
2020MB allocated
2030MB allocated
2040MB allocated
2050MB allocated
2060MB allocated
2070MB allocated
2080MB allocated
Killed
性能测试
性能跑分为:695.2
/ 1240
========================================================================
BYTE UNIX Benchmarks (Version 5.1.3)
System: lavm-ujyqb8h0yo: GNU/Linux
OS: GNU/Linux -- 3.10.0-1160.el7.x86_64 -- #1 SMP Mon Oct 19 16:18:59 UTC 2020
Machine: x86_64 (x86_64)
Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
CPU 0: Intel(R) Xeon(R) Gold 6148 CPU @ 2.40GHz (4788.7 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
CPU 1: Intel(R) Xeon(R) Gold 6148 CPU @ 2.40GHz (4788.7 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
20:53:22 up 19 min, 2 users, load average: 0.25, 0.14, 0.15; runlevel 3
------------------------------------------------------------------------
Benchmark Run: Mon Nov 20 2023 20:53:22 - 21:21:27
2 CPUs in system; running 1 parallel copy of tests
Dhrystone 2 using register variables 36062684.5 lps (10.0 s, 7 samples)
Double-Precision Whetstone 4408.8 MWIPS (9.7 s, 7 samples)
Execl Throughput 1533.6 lps (29.9 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 351332.7 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 101196.7 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 1080783.1 KBps (30.0 s, 2 samples)
Pipe Throughput 537630.5 lps (10.0 s, 7 samples)
Pipe-based Context Switching 70090.7 lps (10.0 s, 7 samples)
Process Creation 7432.6 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 4052.8 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 755.2 lpm (60.0 s, 2 samples)
System Call Overhead 396800.2 lps (10.0 s, 7 samples)
System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 36062684.5 3090.2
Double-Precision Whetstone 55.0 4408.8 801.6
Execl Throughput 43.0 1533.6 356.7
File Copy 1024 bufsize 2000 maxblocks 3960.0 351332.7 887.2
File Copy 256 bufsize 500 maxblocks 1655.0 101196.7 611.5
File Copy 4096 bufsize 8000 maxblocks 5800.0 1080783.1 1863.4
Pipe Throughput 12440.0 537630.5 432.2
Pipe-based Context Switching 4000.0 70090.7 175.2
Process Creation 126.0 7432.6 589.9
Shell Scripts (1 concurrent) 42.4 4052.8 955.9
Shell Scripts (8 concurrent) 6.0 755.2 1258.6
System Call Overhead 15000.0 396800.2 264.5
========
System Benchmarks Index Score 695.0
------------------------------------------------------------------------
Benchmark Run: Mon Nov 20 2023 21:21:27 - 21:49:34
2 CPUs in system; running 2 parallel copies of tests
Dhrystone 2 using register variables 67223819.6 lps (10.0 s, 7 samples)
Double-Precision Whetstone 8557.1 MWIPS (9.7 s, 7 samples)
Execl Throughput 3605.6 lps (29.9 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 530945.8 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 158092.6 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 1553934.8 KBps (30.0 s, 2 samples)
Pipe Throughput 1015128.1 lps (10.0 s, 7 samples)
Pipe-based Context Switching 245145.5 lps (10.0 s, 7 samples)
Process Creation 14429.4 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 5557.2 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 836.6 lpm (60.1 s, 2 samples)
System Call Overhead 738078.9 lps (10.0 s, 7 samples)
System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 67223819.6 5760.4
Double-Precision Whetstone 55.0 8557.1 1555.8
Execl Throughput 43.0 3605.6 838.5
File Copy 1024 bufsize 2000 maxblocks 3960.0 530945.8 1340.8
File Copy 256 bufsize 500 maxblocks 1655.0 158092.6 955.2
File Copy 4096 bufsize 8000 maxblocks 5800.0 1553934.8 2679.2
Pipe Throughput 12440.0 1015128.1 816.0
Pipe-based Context Switching 4000.0 245145.5 612.9
Process Creation 126.0 14429.4 1145.2
Shell Scripts (1 concurrent) 42.4 5557.2 1310.7
Shell Scripts (8 concurrent) 6.0 836.6 1394.3
System Call Overhead 15000.0 738078.9 492.1
========
System Benchmarks Index Score 1240.5
======= Script description and score comparison completed! =======
DB压测
MyISAM引擎 100 并发查询时间:6.6秒
MyISAM引擎 1000并发查询时间:6.0秒
InnoDB引擎 100 并发查询时间: 0.8秒
InnoDB引擎 1000并发查询时间:1.2秒
Benchmark
Running for engine myisam
Average number of seconds to run all queries: 6.610 seconds
Minimum number of seconds to run all queries: 6.590 seconds
Maximum number of seconds to run all queries: 6.652 seconds
Number of clients running queries: 100
Average number of queries per client: 20
Benchmark
Running for engine myisam
Average number of seconds to run all queries: 6.010 seconds
Minimum number of seconds to run all queries: 5.973 seconds
Maximum number of seconds to run all queries: 6.052 seconds
Number of clients running queries: 1000
Average number of queries per client: 2
Benchmark
Running for engine innodb
Average number of seconds to run all queries: 0.796 seconds
Minimum number of seconds to run all queries: 0.587 seconds
Maximum number of seconds to run all queries: 1.424 seconds
Number of clients running queries: 100
Average number of queries per client: 20
Benchmark
Running for engine innodb
Average number of seconds to run all queries: 1.235 seconds
Minimum number of seconds to run all queries: 1.017 seconds
Maximum number of seconds to run all queries: 1.380 seconds
Number of clients running queries: 1000
Average number of queries per client: 2
并发测试
50KB静态页面测试 并发 ≈ 250,平均响应时间100毫秒
请求服务器:阿里云云服务器延迟4毫秒
This is ApacheBench, Version 2.3 <$Revision: 1430300 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking 116.196.89.230 (be patient)
Completed 100 requests
Completed 200 requests
Finished 250 requests
Server Software: nginx
Server Hostname: 116.196.89.230
Server Port: 80
Document Path: /50kb.html
Document Length: 51276 bytes
Concurrency Level: 250
Time taken for tests: 25.128 seconds
Complete requests: 250
Failed requests: 0
Write errors: 0
Total transferred: 12882000 bytes
HTML transferred: 12819000 bytes
Requests per second: 9.95 [#/sec] (mean)
Time per request: 25127.616 [ms] (mean)
Time per request: 100.510 [ms] (mean, across all concurrent requests)
Transfer rate: 500.65 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 4 5 0.5 5 8
Processing: 832 9491 5982.5 9383 25106
Waiting: 4 5605 6240.6 5617 22219
Total: 837 9496 5982.6 9388 25112
Percentage of the requests served within a certain time (ms)
50% 9388
66% 10964
75% 11537
80% 11941
90% 23995
95% 24573
98% 24659
99% 24705
100% 25112 (longest request)
最后总结
以下是马甲客观评价!本文测试大概用了2天的时间!
服务器性能:CPU 运算跑分还行,磁盘IO偏低,4G内存占用到2G多就被Kill了?数据库压测,并发压测 很一般!!
网络情况:国内下行只有15Mbps(这个有点意外),上行应该是5Mbps,但是能跑到7Mbps。
价格情况:对于新用户来说,这个价格很不错,可惜只有首年优惠。
能否建站:小流量网站可以。
工单服务:工单还是比较快的。
商家口碑:京东云尚可。
控制面板:支持中文,支持监控统计,快照,VNC,安全组,内网互通等。
一起评分
经过上面的测评,你对该款型号服务器的评价怎么样呢? 😀留个客观的评分吧!
更多云服务器评分:https://51.ruyo.net/servers-rating/