嘟嘟社区

[疑问] 把博客放在腾讯云香港上了,MJJ来看看卡不卡


本帖最后由 面包狗 于 2022-1-21 14:58 编辑

119段,老套餐升配到 32/月 2C2G30G硬盘

在文件系统上使用了 ZFS 并启用了 zstd 压缩,安装过程在这里
https://qiedd.com/1386.html

压缩率

  1. NAME                PROPERTY       VALUE  SOURCE
  2. zroot               compressratio  2.20x  –
  3. zroot/ROOT          compressratio  2.25x  –
  4. zroot/ROOT/default  compressratio  2.25x  –
  5. zroot/data          compressratio  1.65x  –
  6. zroot/data/home     compressratio  1.60x  –
  7. zroot/data/www      compressratio  1.66x  –

复制代码

dd 测试

  1. # 4k
  2. time dd if=/dev/random of=test bs=4k count=1048576 status=progress
  3. 4294967296 bytes (4.3 GB, 4.0 GiB) copied, 33.4941 s, 128 MB/s
  4. ________________________________________________________
  5. Executed in   33.50 secs    fish           external
  6.    usr time    0.73 secs  278.00 micros    0.73 secs
  7.    sys time   31.24 secs  234.00 micros   31.24 secs

复制代码

  1. # 64k
  2. time dd if=/dev/random of=test bs=64k count=65536 status=progress
  3. 4294967296 bytes (4.3 GB, 4.0 GiB) copied, 26.5634 s, 162 MB/s
  4. ________________________________________________________
  5. Executed in   26.57 secs    fish           external
  6.    usr time    0.10 secs  528.00 micros    0.10 secs
  7.    sys time   25.46 secs    0.00 micros   25.46 secs

复制代码

  1. # 256k
  2. time dd if=/dev/random of=test bs=256k count=16384 status=progress
  3. 4294967296 bytes (4.3 GB, 4.0 GiB) copied, 26.2403 s, 164 MB/s
  4. ________________________________________________________
  5. Executed in   26.24 secs    fish           external
  6.    usr time    0.04 secs  318.00 micros    0.04 secs
  7.    sys time   24.51 secs  222.00 micros   24.51 secs

复制代码

  1. # 1M
  2. time dd if=/dev/random of=test bs=1M count=4096 status=progress
  3. 4294967296 bytes (4.3 GB, 4.0 GiB) copied, 26.9812 s, 159 MB/s
  4. ________________________________________________________
  5. Executed in   26.98 secs    fish           external
  6.    usr time    0.02 secs  323.00 micros    0.02 secs
  7.    sys time   24.10 secs  239.00 micros   24.10 secs

复制代码

FIO 64K成绩

  1. # 写入
  2. fio –name=seqwrite –rw=write –direct=1 –ioengine=psync –bs=64k –iodepth=64 –numjobs=10 –size=1G –group_reporting
  3. seqwrite: (g=0): rw=write, bs=(R) 64.0KiB-64.0KiB, (W) 64.0KiB-64.0KiB, (T) 64.0KiB-64.0KiB, ioengine=psync, iodepth=64

  4. fio-3.28
  5. Starting 10 processes
  6. seqwrite: Laying out IO file (1 file / 1024MiB)
  7. seqwrite: Laying out IO file (1 file / 1024MiB)
  8. seqwrite: Laying out IO file (1 file / 1024MiB)
  9. seqwrite: Laying out IO file (1 file / 1024MiB)
  10. seqwrite: Laying out IO file (1 file / 1024MiB)
  11. seqwrite: Laying out IO file (1 file / 1024MiB)
  12. seqwrite: Laying out IO file (1 file / 1024MiB)
  13. seqwrite: Laying out IO file (1 file / 1024MiB)
  14. seqwrite: Laying out IO file (1 file / 1024MiB)
  15. seqwrite: Laying out IO file (1 file / 1024MiB)
  16. Jobs: 2 (f=2): [_(1),W(2),_(7)][95.6%][w=49.6MiB/s][w=794 IOPS][eta 00m:05s]           
  17. seqwrite: (groupid=0, jobs=10): err= 0: pid=2064: Fri Jan 21 00:16:42 2022
  18.   write: IOPS=1530, BW=95.6MiB/s (100MB/s)(10.0GiB/107081msec); 0 zone resets
  19.     clat (usec): min=8, max=1182.3k, avg=6266.89, stdev=69800.72
  20.      lat (usec): min=9, max=1182.3k, avg=6271.26, stdev=69800.84
  21.     clat percentiles (usec):
  22.      |  1.00th=[     12],  5.00th=[     15], 10.00th=[     17],
  23.      | 20.00th=[     18], 30.00th=[     19], 40.00th=[     32],
  24.      | 50.00th=[     44], 60.00th=[     59], 70.00th=[     80],
  25.      | 80.00th=[     91], 90.00th=[    429], 95.00th=[    881],
  26.      | 99.00th=[  20579], 99.50th=[ 574620], 99.90th=[1061159],
  27.      | 99.95th=[1149240], 99.99th=[1166017]
  28.    bw (  KiB/s): min= 3584, max=794188, per=100.00%, avg=152999.29, stdev=12897.55, samples=1358
  29.    iops        : min=   56, max=12408, avg=2390.26, stdev=201.52, samples=1358
  30.   lat (usec)   : 10=0.94%, 20=33.73%, 50=18.15%, 100=27.47%, 250=5.09%
  31.   lat (usec)   : 500=5.79%, 750=2.95%, 1000=1.42%
  32.   lat (msec)   : 2=1.33%, 4=0.77%, 10=0.82%, 20=0.53%, 50=0.18%
  33.   lat (msec)   : 100=0.01%, 500=0.28%, 750=0.13%, 1000=0.25%, 2000=0.17%
  34.   cpu          : usr=0.07%, sys=0.66%, ctx=48740, majf=0, minf=125
  35.   IO depths    : 1=100.0%, 2=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%, >=64=0.0%
  36.      submit    : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
  37.      complete  : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
  38.      issued rwts: total=0,163840,0,0 short=0,0,0,0 dropped=0,0,0,0
  39.      latency   : target=0, window=0, percentile=100.00%, depth=64
  40. Run status group 0 (all jobs):
  41.   WRITE: bw=95.6MiB/s (100MB/s), 95.6MiB/s-95.6MiB/s (100MB/s-100MB/s), io=10.0GiB (10.7GB), run=107081-107081msec

复制代码

  1. # 读取
  2. fio –name=seqread –rw=read –direct=1 –ioengine=psync –bs=64k –iodepth=64 –numjobs=10 –size=1G –group_reporting
  3. seqread: (g=0): rw=read, bs=(R) 64.0KiB-64.0KiB, (W) 64.0KiB-64.0KiB, (T) 64.0KiB-64.0KiB, ioengine=psync, iodepth=64

  4. fio-3.28
  5. Starting 10 processes
  6. seqread: Laying out IO file (1 file / 1024MiB)
  7. seqread: Laying out IO file (1 file / 1024MiB)
  8. seqread: Laying out IO file (1 file / 1024MiB)
  9. seqread: Laying out IO file (1 file / 1024MiB)
  10. seqread: Laying out IO file (1 file / 1024MiB)
  11. seqread: Laying out IO file (1 file / 1024MiB)
  12. seqread: Laying out IO file (1 file / 1024MiB)
  13. seqread: Laying out IO file (1 file / 1024MiB)
  14. seqread: Laying out IO file (1 file / 1024MiB)
  15. seqread: Laying out IO file (1 file / 1024MiB)
  16. Jobs: 2 (f=2): [_(6),R(1),_(1),R(1),_(1)][97.5%][r=265MiB/s][r=4243 IOPS][eta 00m:01s]
  17. seqread: (groupid=0, jobs=10): err= 0: pid=2914: Fri Jan 21 00:18:53 2022
  18.   read: IOPS=4191, BW=262MiB/s (275MB/s)(10.0GiB/39089msec)
  19.     clat (usec): min=7, max=87430, avg=2321.68, stdev=9929.98
  20.      lat (usec): min=7, max=87431, avg=2322.21, stdev=9929.98
  21.     clat percentiles (usec):
  22.      |  1.00th=[    8],  5.00th=[    8], 10.00th=[    8], 20.00th=[    8],
  23.      | 30.00th=[    9], 40.00th=[   12], 50.00th=[   28], 60.00th=[   69],
  24.      | 70.00th=[   72], 80.00th=[   74], 90.00th=[   88], 95.00th=[ 7111],
  25.      | 99.00th=[49546], 99.50th=[50070], 99.90th=[51643], 99.95th=[53216],
  26.      | 99.99th=[79168]
  27.    bw (  KiB/s): min=123096, max=570212, per=100.00%, avg=269605.52, stdev=5995.38, samples=753
  28.    iops        : min= 1923, max= 8906, avg=4212.24, stdev=93.66, samples=753
  29.   lat (usec)   : 10=35.83%, 20=13.40%, 50=3.20%, 100=39.33%, 250=1.40%
  30.   lat (usec)   : 500=0.09%, 750=0.04%, 1000=0.03%
  31.   lat (msec)   : 2=0.12%, 4=1.26%, 10=0.36%, 20=0.20%, 50=4.28%
  32.   lat (msec)   : 100=0.45%
  33.   cpu          : usr=0.10%, sys=1.85%, ctx=12146, majf=0, minf=283
  34.   IO depths    : 1=100.0%, 2=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%, >=64=0.0%
  35.      submit    : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
  36.      complete  : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
  37.      issued rwts: total=163840,0,0,0 short=0,0,0,0 dropped=0,0,0,0
  38.      latency   : target=0, window=0, percentile=100.00%, depth=64
  39. Run status group 0 (all jobs):
  40.    READ: bw=262MiB/s (275MB/s), 262MiB/s-262MiB/s (275MB/s-275MB/s), io=10.0GiB (10.7GB), run=39089-39089msec

复制代码

  1. ——————– A Bench.sh Script By Teddysun ——————-
  2. Intro              : https://teddysun.com/444.html
  3. Version            : v2022-01-01
  4. Usage              : wget -qO- bench.sh | bash
  5. ———————————————————————-
  6. CPU Model          : Intel(R) Xeon(R) CPU E5-26xx v4
  7. CPU Cores          : 2
  8. CPU Frequency      : 2394.446 MHz
  9. CPU Cache          : 4096 KB
  10. Total Disk         : 85.0 GB (1.7 GB Used)
  11. Total Mem          : 1976 MB (167 MB Used)
  12. Total Swap         : 0 MB (0 MB Used)
  13. System uptime      : 0 days, 0 hour 6 min
  14. Load average       : 0.34, 1.62, 0.99
  15. OS                 : Arch Linux
  16. Arch               : x86_64 (64 Bit)
  17. Kernel             : 5.16.1-arch1-1
  18. TCP CC             : bbr
  19. Virtualization     : KVM
  20. Organization       : AS132203 Tencent Building, Kejizhongyi Avenue
  21. Location           : Sham Shui Po / HK
  22. Region             : Sham Shui Po
  23. ———————————————————————-
  24. I/O Speed(1st run) : 2.0 GB/s
  25. I/O Speed(2nd run) : 2.2 GB/s
  26. I/O Speed(3rd run) : 2.2 GB/s
  27. I/O Speed(average) : 2184.5 MB/s
  28. ———————————————————————-
  29. SSL_INIT
  30. Node Name        Upload Speed      Download Speed      Latency     
  31. Speedtest.net    30.92 Mbps        692.68 Mbps         1.21 ms     
  32. Los Angeles, US  31.12 Mbps        1647.06 Mbps        153.10 ms   
  33. Montreal, CA     29.78 Mbps        315.24 Mbps         237.16 ms   
  34. Amsterdam, NL    30.83 Mbps        579.81 Mbps         303.70 ms   
  35. Shanghai, CN     32.78 Mbps        1587.13 Mbps        34.95 ms   
  36. Nanjing, CN      29.81 Mbps        1717.84 Mbps        56.82 ms   
  37. Guangzhou, CN    2.90 Mbps         448.50 Mbps         195.47 ms   
  38. Hongkong, CN     31.13 Mbps        1584.85 Mbps        1.39 ms     
  39. Tokyo, JP        31.04 Mbps        744.83 Mbps         57.67 ms   
  40. ———————————————————————-
  41. Finished in        : 5 min 19 sec
  42. Timestamp          : 2022-01-21 00:14:37
  43. ———————————————————————-

复制代码

15s 打开,一般般
估计马上进河东,不,是黑洞
速度还行。
还挺快
3.9s
移动快,其它的不晓得
电信秒开
– -怎么撸的香港腾讯云,正价买好贵。。。

生为何故 发表于 2022-1-21 14:22
– -怎么撸的香港腾讯云,正价买好贵。。。

之前宝塔组队券上车的