最近阿里云又出了个2H4G一年只要260元的活动,看上去挺不错但发现是T5实例 30%基线性能。
仔细的看了下t5实例的说明,以1H2G T5实例说明,此实例提供 10%cpu,也就是正常情况下。如果你CPu利用率大于10%,那么扣你的Cpu积分,当你积分为0时会限制Cpu利用率为10%,这时就卡的不要不要的。
如果你Cpu利用率小于10%,那么就给你涨积分,获得积分=10%-当前利用率。T5实例介绍就是突发啥的,价格相对便宜。当初有新用户活动弄了台1H2G的,一年大概100块钱左右。
腾讯云的学生机就没有这么多限制,直接给你1H,一年120块钱。
使用UnixBench进行测试,以下为测试结果:
阿里云无积分时:
System Benchmarks Index Values BASELINE RESULT INDEXDhrystone 2 using register variables 116700.0 6003054.6 514.4Double-Precision Whetstone 55.0 563.7 102.5Execl Throughput 43.0 605.8 140.9File Copy 1024 bufsize 2000 maxblocks 3960.0 72629.0 183.4File Copy 256 bufsize 500 maxblocks 1655.0 20958.2 126.6File Copy 4096 bufsize 8000 maxblocks 5800.0 175027.7 301.8Pipe Throughput 12440.0 114531.4 92.1Pipe-based Context Switching 4000.0 24812.2 62.0Process Creation 126.0 1340.1 106.4Shell Scripts (1 concurrent) 42.4 616.9 145.5Shell Scripts (8 concurrent) 6.0 78.9 131.6System Call Overhead 15000.0 88001.2 58.7 ========System Benchmarks Index Score 134.6
阿里云有积分时:
System Benchmarks Index Values BASELINE RESULT INDEXDhrystone 2 using register variables 116700.0 30698945.2 2630.6Double-Precision Whetstone 55.0 3662.7 666.0Execl Throughput 43.0 4314.6 1003.4File Copy 1024 bufsize 2000 maxblocks 3960.0 558942.2 1411.5File Copy 256 bufsize 500 maxblocks 1655.0 152852.3 923.6File Copy 4096 bufsize 8000 maxblocks 5800.0 1356080.6 2338.1Pipe Throughput 12440.0 802099.4 644.8Pipe-based Context Switching 4000.0 186312.8 465.8Process Creation 126.0 10505.1 833.7Shell Scripts (1 concurrent) 42.4 5312.7 1253.0Shell Scripts (8 concurrent) 6.0 703.9 1173.2System Call Overhead 15000.0 647612.7 431.7 ========System Benchmarks Index Score 986.7
腾讯云:
System Benchmarks Index Values BASELINE RESULT INDEXDhrystone 2 using register variables 116700.0 32390518.2 2775.5Double-Precision Whetstone 55.0 4385.5 797.4Execl Throughput 43.0 4599.8 1069.7File Copy 1024 bufsize 2000 maxblocks 3960.0 828858.7 2093.1File Copy 256 bufsize 500 maxblocks 1655.0 271369.2 1639.7File Copy 4096 bufsize 8000 maxblocks 5800.0 1616885.6 2787.7Pipe Throughput 12440.0 1782260.0 1432.7Pipe-based Context Switching 4000.0 353871.0 884.7Process Creation 126.0 16494.9 1309.1Shell Scripts (1 concurrent) 42.4 5419.6 1278.2Shell Scripts (8 concurrent) 6.0 734.2 1223.7System Call Overhead 15000.0 2698839.0 1799.2 ========System Benchmarks Index Score 1474.7
相对来说腾讯云的学生机还是挺不错的。。。。