全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

IP归属甄别会员请立即修改密码
查看: 666|回复: 6
打印 上一主题 下一主题

[疑问] 美西 CN2 1C1G 20G 10Mbps 小鸡测试

[复制链接]
跳转到指定楼层
1#
发表于 2021-5-3 14:58:17 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 zxxx 于 2021-5-3 20:43 编辑

白票TabbyCloud的机器,闲来无事做个测试吧

1 CPU 核心
1G 內存
20 GB SSD 硬盤
10 Mbps 帶寬
1 獨立IPv4
Kvm 虛擬化

  1. [root@la1c1g ~]# cat /proc/cpuinfo
  2. processor       : 0
  3. vendor_id       : GenuineIntel
  4. cpu family      : 6
  5. model           : 58
  6. model name      : Intel Xeon E3-12xx v2 (Ivy Bridge, IBRS)
  7. stepping        : 9
  8. microcode       : 0x1
  9. cpu MHz         : 2493.988
  10. cache size      : 4096 KB
  11. physical id     : 0
  12. siblings        : 1
  13. core id         : 0
  14. cpu cores       : 1
  15. apicid          : 0
  16. initial apicid  : 0
  17. fpu             : yes
  18. fpu_exception   : yes
  19. cpuid level     : 13
  20. wp              : yes
  21. clflush size    : 64
  22. cache_alignment : 64
  23. address sizes   : 46 bits physical, 48 bits virtual
  24. power management:
复制代码

  1. [root@la1c1g ~]# free -h
  2.               total        used        free      shared  buff/cache   available
  3. Mem:           991M        124M        314M        6.7M        552M        705M
  4. Swap:          2.0G          0B        2.0G
复制代码

  1. [root@la1c1g ~]# fdisk -l

  2. Disk /dev/vda: 21.5 GB, 21474836480 bytes, 41943040 sectors
  3. Units = sectors of 1 * 512 = 512 bytes
  4. Sector size (logical/physical): 512 bytes / 512 bytes
  5. I/O size (minimum/optimal): 512 bytes / 512 bytes
  6. Disk label type: dos
  7. Disk identifier: 0x0000425c

  8.    Device Boot      Start         End      Blocks   Id  System
  9. /dev/vda1   *        2048     2099199     1048576   83  Linux
  10. /dev/vda2         2099200    41943039    19921920   8e  Linux LVM

  11. Disk /dev/mapper/centos-root: 18.2 GB, 18249416704 bytes, 35643392 sectors
  12. Units = sectors of 1 * 512 = 512 bytes
  13. Sector size (logical/physical): 512 bytes / 512 bytes
  14. I/O size (minimum/optimal): 512 bytes / 512 bytes


  15. Disk /dev/mapper/centos-swap: 2147 MB, 2147483648 bytes, 4194304 sectors
  16. Units = sectors of 1 * 512 = 512 bytes
  17. Sector size (logical/physical): 512 bytes / 512 bytes
  18. I/O size (minimum/optimal): 512 bytes / 512 bytes
复制代码

  1. [root@la1c1g ~]# fio --filename=test --rw=write --ioengine=libaio --direct=1 --blocksize=128K --size=2G --iodepth=32 --group_reporting --name=myjob
  2. myjob: (g=0): rw=write, bs=(R) 128KiB-128KiB, (W) 128KiB-128KiB, (T) 128KiB-128KiB, ioengine=libaio, iodepth=32
  3. fio-3.7
  4. Starting 1 process
  5. myjob: Laying out IO file (1 file / 2048MiB)
  6. Jobs: 1 (f=1): [W(1)][100.0%][r=0KiB/s,w=281MiB/s][r=0,w=2248 IOPS][eta 00m:00s]
  7. Run status group 0 (all jobs):
  8.   WRITE: bw=280MiB/s (293MB/s), 280MiB/s-280MiB/s (293MB/s-293MB/s), io=2048MiB (2147MB), run=7319-7319msec

  9. [root@la1c1g ~]# fio --filename=test --rw=read --ioengine=libaio --direct=1 --blocksize=128K --runtime=8 --iodepth=32 --group_reporting --name=myjob
  10. myjob: (g=0): rw=read, bs=(R) 128KiB-128KiB, (W) 128KiB-128KiB, (T) 128KiB-128KiB, ioengine=libaio, iodepth=32
  11. fio-3.7
  12. Starting 1 process
  13. Jobs: 1 (f=1): [R(1)][100.0%][r=300MiB/s,w=0KiB/s][r=2402,w=0 IOPS][eta 00m:00s]
  14. myjob: (groupid=0, jobs=1): err= 0: pid=22604: Mon May  3 09:57:00 2021

  15. Run status group 0 (all jobs):
  16.    READ: bw=301MiB/s (316MB/s), 301MiB/s-301MiB/s (316MB/s-316MB/s), io=2048MiB (2147MB), run=6803-6803msec
复制代码

  1. [root@la1c1g ~]# time dd if=/dev/zero of=1GB.bin bs=8k count=131072 && \
  2. > time dd if=1GB.bin of=/dev/null bs=8k count=131072 && \
  3. > time dd if=/dev/zero of=2GB.bin bs=16k count=131072 oflag=direct && \
  4. > time dd if=2GB.bin of=/dev/null bs=16k count=131072 iflag=direct
  5. 131072+0 records in
  6. 131072+0 records out
  7. 1073741824 bytes (1.1 GB) copied, 1.52254 s, 705 MB/s

  8. real    0m1.537s
  9. user    0m0.086s
  10. sys     0m0.758s
  11. 131072+0 records in
  12. 131072+0 records out
  13. 1073741824 bytes (1.1 GB) copied, 5.36623 s, 200 MB/s

  14. real    0m5.370s
  15. user    0m0.083s
  16. sys     0m0.452s
  17. 131072+0 records in
  18. 131072+0 records out
  19. 2147483648 bytes (2.1 GB) copied, 55.1703 s, 38.9 MB/s

  20. real    0m55.173s
  21. user    0m0.142s
  22. sys     0m5.529s
  23. 131072+0 records in
  24. 131072+0 records out
  25. 2147483648 bytes (2.1 GB) copied, 54.5821 s, 39.3 MB/s

  26. real    0m54.584s
  27. user    0m0.120s
  28. sys     0m1.973s
复制代码
2#
 楼主| 发表于 2021-5-3 19:04:08 | 只看该作者
  1. bash <(curl -Lso- https://git.io/superspeed)
复制代码


没什么惊喜,和描述的一模一样





3#
 楼主| 发表于 2021-5-3 19:19:16 | 只看该作者
  1. curl -fsL https://ilemonra.in/LemonBenchIntl | bash -s fast
复制代码


[Info] Report URL: https://paste.ubuntu.com/p/x63gnpP7d3/

4#
 楼主| 发表于 2021-5-3 19:33:30 | 只看该作者
  1. wget -qO- bench.sh | bash
复制代码


5#
 楼主| 发表于 2021-5-3 20:07:20 | 只看该作者
  1. curl -s https://raw.githubusercontent.com/masonr/yet-another-bench-script/master/yabs.sh | bash
复制代码


Full Test | https://browser.geekbench.com/v5/cpu/7706536

6#
 楼主| 发表于 2021-5-3 20:39:35 | 只看该作者
  1. wget --no-check-certificate https://github.com/zq/unixbench/raw/master/unixbench.sh
  2. chmod +x unixbench.sh
  3. ./unixbench.sh
复制代码


System Benchmarks Index Score                                         864.3

  1. ========================================================================
  2.    BYTE UNIX Benchmarks (Version 5.1.3)

  3.    System: la1c1g: GNU/Linux
  4.    OS: GNU/Linux -- 3.10.0-957.12.2.el7.x86_64 -- #1 SMP Tue May 14 21:24:32 UTC 2019
  5.    Machine: x86_64 (x86_64)
  6.    Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
  7.    CPU 0: Intel Xeon E3-12xx v2 (Ivy Bridge, IBRS) (4988.0 bogomips)
  8.           x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
  9.    20:10:03 up 11:24,  2 users,  load average: 0.52, 0.16, 0.08; runlevel 3

  10. ------------------------------------------------------------------------
  11. Benchmark Run: Mon May 03 2021 20:10:03 - 20:38:19
  12. 1 CPU in system; running 1 parallel copy of tests

  13. Dhrystone 2 using register variables       32627423.0 lps   (10.0 s, 7 samples)
  14. Double-Precision Whetstone                     4196.9 MWIPS (10.0 s, 7 samples)
  15. Execl Throughput                               2880.3 lps   (30.0 s, 2 samples)
  16. File Copy 1024 bufsize 2000 maxblocks        468701.8 KBps  (30.0 s, 2 samples)
  17. File Copy 256 bufsize 500 maxblocks          121319.2 KBps  (30.0 s, 2 samples)
  18. File Copy 4096 bufsize 8000 maxblocks       1458968.3 KBps  (30.0 s, 2 samples)
  19. Pipe Throughput                              618730.0 lps   (10.1 s, 7 samples)
  20. Pipe-based Context Switching                 153256.2 lps   (10.0 s, 7 samples)
  21. Process Creation                              10238.5 lps   (30.0 s, 2 samples)
  22. Shell Scripts (1 concurrent)                   4526.5 lpm   (60.0 s, 2 samples)
  23. Shell Scripts (8 concurrent)                    620.3 lpm   (60.1 s, 2 samples)
  24. System Call Overhead                         489182.7 lps   (10.0 s, 7 samples)

  25. System Benchmarks Index Values               BASELINE       RESULT    INDEX
  26. Dhrystone 2 using register variables         116700.0   32627423.0   2795.8
  27. Double-Precision Whetstone                       55.0       4196.9    763.1
  28. Execl Throughput                                 43.0       2880.3    669.8
  29. File Copy 1024 bufsize 2000 maxblocks          3960.0     468701.8   1183.6
  30. File Copy 256 bufsize 500 maxblocks            1655.0     121319.2    733.0
  31. File Copy 4096 bufsize 8000 maxblocks          5800.0    1458968.3   2515.5
  32. Pipe Throughput                               12440.0     618730.0    497.4
  33. Pipe-based Context Switching                   4000.0     153256.2    383.1
  34. Process Creation                                126.0      10238.5    812.6
  35. Shell Scripts (1 concurrent)                     42.4       4526.5   1067.6
  36. Shell Scripts (8 concurrent)                      6.0        620.3   1033.9
  37. System Call Overhead                          15000.0     489182.7    326.1
  38.                                                                    ========
  39. System Benchmarks Index Score                                         864.3



  40. # ========================================================= #
  41. # Script description and score comparison completed!  
  42. # For more information, please go to https://unixbench.org
  43. # ========================================================= #
复制代码
7#
 楼主| 发表于 2021-5-4 00:39:24 | 只看该作者
  1. ----------------------------------------------------------------------
  2. 广州电信
  3. traceroute to 14.215.116.1 (14.215.116.1), 30 hops max, 32 byte packets
  4. 2  *
  5. 3  192.168.207.18  0.38 ms  *  局域网
  6. 4  *
  7. 5  cn2-gia.ceranetworks.com (23.225.225.245)  0.99 ms  AS40065  美国, 加利福尼亚州, 洛杉矶, ceranetworks.com
  8. 6  59.43.182.78  170.95 ms  *  中国, 广东, 广州, chinatelecom.com.cn, 电信
  9. 7  *
  10. 8  59.43.130.109  156.07 ms  *  中国, 广东, 广州, chinatelecom.com.cn, 电信
  11. 9  *
  12. 10  *
  13. 11  121.14.50.218  153.48 ms  AS58466  中国, 广东, 广州, chinatelecom.com.cn, 电信
  14. 12  183.56.129.10  153.40 ms  AS58466  中国, 广东, 广州, chinatelecom.com.cn, 电信
  15. 13  14.215.116.1  156.49 ms  AS58466  中国, 广东, 广州, chinatelecom.com.cn, 电信

  16. ----------------------------------------------------------------------
  17. 上海电信
  18. traceroute to 101.95.120.109 (101.95.120.109), 30 hops max, 32 byte packets
  19. 1  23.224.61.1  1.63 ms  AS40065  美国, 加利福尼亚州, 洛杉矶, ceranetworks.com
  20. 2  *
  21. 3  192.168.207.18  0.67 ms  *  局域网
  22. 4  *
  23. 5  cn2-gia.ceranetworks.com (23.225.225.245)  1.04 ms  AS40065  美国, 加利福尼亚州, 洛杉矶, ceranetworks.com
  24. 6  59.43.246.237  127.12 ms  *  中国, 上海, chinatelecom.com.cn, 电信
  25. 7  59.43.187.61  128.32 ms  *  中国, 上海, chinatelecom.com.cn, 电信
  26. 8  59.43.130.209  133.59 ms  *  中国, 上海, chinatelecom.com.cn, 电信
  27. 9  61.152.24.182  130.22 ms  AS4812  中国, 上海, chinatelecom.com.cn, 电信
  28. 10  101.95.120.109  127.77 ms  AS4812  中国, 上海, chinatelecom.com.cn, 电信

  29. ----------------------------------------------------------------------
  30. 厦门电信
  31. traceroute to 117.28.254.129 (117.28.254.129), 30 hops max, 32 byte packets
  32. 1  23.224.61.1  1.32 ms  AS40065  美国, 加利福尼亚州, 洛杉矶, ceranetworks.com
  33. 2  *
  34. 3  192.168.207.18  0.77 ms  *  局域网
  35. 4  *
  36. 5  cn2-gia.ceranetworks.com (23.225.225.245)  0.91 ms  AS40065  美国, 加利福尼亚州, 洛杉矶, ceranetworks.com
  37. 6  59.43.246.233  155.64 ms  *  中国, 广东, 广州, chinatelecom.com.cn, 电信
  38. 7  59.43.187.137  156.36 ms  *  中国, 广东, 广州, chinatelecom.com.cn, 电信
  39. 8  59.43.130.161  161.41 ms  *  中国, 广东, 广州, chinatelecom.com.cn, 电信
  40. 9  59.43.19.198  171.35 ms  *  中国, 福建, 厦门, chinatelecom.com.cn, 电信
  41. 10  *
  42. 11  27.148.195.2  165.46 ms  AS133775  中国, 福建, 厦门, chinatelecom.com.cn, 电信
  43. 12  117.25.141.110  172.79 ms  AS133775  中国, 福建, 厦门, chinatelecom.com.cn, 电信
  44. 13  117.28.254.129  177.51 ms  AS4809  中国, 福建, 厦门, chinatelecom.com.cn, 电信

  45. ----------------------------------------------------------------------
  46. 重庆联通
  47. traceroute to 113.207.25.138 (113.207.25.138), 30 hops max, 32 byte packets
  48. 1  23.224.61.1  1.80 ms  AS40065  美国, 加利福尼亚州, 洛杉矶, ceranetworks.com
  49. 2  23.224.21.78  0.50 ms  AS40065  美国, 加利福尼亚州, 洛杉矶, ceranetworks.com
  50. 3  192.168.207.18  0.48 ms  *  局域网
  51. 4  *
  52. 5  cn2-gia.ceranetworks.com (23.225.225.245)  0.82 ms  AS40065  美国, 加利福尼亚州, 洛杉矶, ceranetworks.com
  53. 6  59.43.246.233  155.61 ms  *  中国, 广东, 广州, chinatelecom.com.cn, 电信
  54. 7  *
  55. 8  *
  56. 9  219.158.40.169  161.40 ms  AS4837  中国, 广东, 广州, chinaunicom.com, 联通
  57. 10  219.158.10.249  156.77 ms  AS4837  中国, 广东, 广州, chinaunicom.com, 联通
  58. 11  219.158.22.74  189.00 ms  AS4837  中国, 重庆, chinaunicom.com, 联通
  59. 12  113.207.25.138  183.55 ms  AS4837  中国, 重庆, chinaunicom.com, 联通

  60. ----------------------------------------------------------------------
  61. 成都联通
  62. traceroute to 119.6.6.6 (119.6.6.6), 30 hops max, 32 byte packets
  63. 1  23.224.61.1  1.51 ms  AS40065  美国, 加利福尼亚州, 洛杉矶, ceranetworks.com
  64. 2  23.224.21.78  0.41 ms  AS40065  美国, 加利福尼亚州, 洛杉矶, ceranetworks.com
  65. 3  192.168.207.18  0.67 ms  *  局域网
  66. 4  192.168.207.1  0.49 ms  *  局域网
  67. 5  cn2-gia.ceranetworks.com (23.225.225.245)  1.07 ms  AS40065  美国, 加利福尼亚州, 洛杉矶, ceranetworks.com
  68. 6  59.43.246.233  155.66 ms  *  中国, 广东, 广州, chinatelecom.com.cn, 电信
  69. 7  59.43.187.101  156.89 ms  *  中国, 广东, 广州, chinatelecom.com.cn, 电信
  70. 8  *
复制代码
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2025-9-25 23:59 , Processed in 0.061966 second(s), 9 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表