本帖最后由 面包狗 于 2022-1-21 14:58 编辑
119段,老套餐升配到 32/月 2C2G30G硬盘
在文件系统上使用了 ZFS 并启用了 zstd 压缩,安装过程在这里 https://qiedd.com/1386.html
压缩率
- NAME PROPERTY VALUE SOURCE
- zroot compressratio 2.20x –
- zroot/ROOT compressratio 2.25x –
- zroot/ROOT/default compressratio 2.25x –
- zroot/data compressratio 1.65x –
- zroot/data/home compressratio 1.60x –
- zroot/data/www compressratio 1.66x –
复制代码
dd 测试
- # 4k
- time dd if=/dev/random of=test bs=4k count=1048576 status=progress
-
- 4294967296 bytes (4.3 GB, 4.0 GiB) copied, 33.4941 s, 128 MB/s
-
- ________________________________________________________
- Executed in 33.50 secs fish external
- usr time 0.73 secs 278.00 micros 0.73 secs
- sys time 31.24 secs 234.00 micros 31.24 secs
复制代码
- # 64k
- time dd if=/dev/random of=test bs=64k count=65536 status=progress
-
- 4294967296 bytes (4.3 GB, 4.0 GiB) copied, 26.5634 s, 162 MB/s
-
- ________________________________________________________
- Executed in 26.57 secs fish external
- usr time 0.10 secs 528.00 micros 0.10 secs
- sys time 25.46 secs 0.00 micros 25.46 secs
复制代码
- # 256k
- time dd if=/dev/random of=test bs=256k count=16384 status=progress
-
- 4294967296 bytes (4.3 GB, 4.0 GiB) copied, 26.2403 s, 164 MB/s
-
- ________________________________________________________
- Executed in 26.24 secs fish external
- usr time 0.04 secs 318.00 micros 0.04 secs
- sys time 24.51 secs 222.00 micros 24.51 secs
复制代码
- # 1M
- time dd if=/dev/random of=test bs=1M count=4096 status=progress
-
- 4294967296 bytes (4.3 GB, 4.0 GiB) copied, 26.9812 s, 159 MB/s
-
- ________________________________________________________
- Executed in 26.98 secs fish external
- usr time 0.02 secs 323.00 micros 0.02 secs
- sys time 24.10 secs 239.00 micros 24.10 secs
复制代码
FIO 64K成绩
- # 写入
- fio –name=seqwrite –rw=write –direct=1 –ioengine=psync –bs=64k –iodepth=64 –numjobs=10 –size=1G –group_reporting
-
- 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
- …
- fio-3.28
- Starting 10 processes
- seqwrite: Laying out IO file (1 file / 1024MiB)
- seqwrite: Laying out IO file (1 file / 1024MiB)
- seqwrite: Laying out IO file (1 file / 1024MiB)
- seqwrite: Laying out IO file (1 file / 1024MiB)
- seqwrite: Laying out IO file (1 file / 1024MiB)
- seqwrite: Laying out IO file (1 file / 1024MiB)
- seqwrite: Laying out IO file (1 file / 1024MiB)
- seqwrite: Laying out IO file (1 file / 1024MiB)
- seqwrite: Laying out IO file (1 file / 1024MiB)
- seqwrite: Laying out IO file (1 file / 1024MiB)
- Jobs: 2 (f=2): [_(1),W(2),_(7)][95.6%][w=49.6MiB/s][w=794 IOPS][eta 00m:05s]
- seqwrite: (groupid=0, jobs=10): err= 0: pid=2064: Fri Jan 21 00:16:42 2022
- write: IOPS=1530, BW=95.6MiB/s (100MB/s)(10.0GiB/107081msec); 0 zone resets
- clat (usec): min=8, max=1182.3k, avg=6266.89, stdev=69800.72
- lat (usec): min=9, max=1182.3k, avg=6271.26, stdev=69800.84
- clat percentiles (usec):
- | 1.00th=[ 12], 5.00th=[ 15], 10.00th=[ 17],
- | 20.00th=[ 18], 30.00th=[ 19], 40.00th=[ 32],
- | 50.00th=[ 44], 60.00th=[ 59], 70.00th=[ 80],
- | 80.00th=[ 91], 90.00th=[ 429], 95.00th=[ 881],
- | 99.00th=[ 20579], 99.50th=[ 574620], 99.90th=[1061159],
- | 99.95th=[1149240], 99.99th=[1166017]
- bw ( KiB/s): min= 3584, max=794188, per=100.00%, avg=152999.29, stdev=12897.55, samples=1358
- iops : min= 56, max=12408, avg=2390.26, stdev=201.52, samples=1358
- lat (usec) : 10=0.94%, 20=33.73%, 50=18.15%, 100=27.47%, 250=5.09%
- lat (usec) : 500=5.79%, 750=2.95%, 1000=1.42%
- lat (msec) : 2=1.33%, 4=0.77%, 10=0.82%, 20=0.53%, 50=0.18%
- lat (msec) : 100=0.01%, 500=0.28%, 750=0.13%, 1000=0.25%, 2000=0.17%
- cpu : usr=0.07%, sys=0.66%, ctx=48740, majf=0, minf=125
- IO depths : 1=100.0%, 2=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%, >=64=0.0%
- submit : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
- complete : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
- issued rwts: total=0,163840,0,0 short=0,0,0,0 dropped=0,0,0,0
- latency : target=0, window=0, percentile=100.00%, depth=64
-
- Run status group 0 (all jobs):
- 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
复制代码
- # 读取
- fio –name=seqread –rw=read –direct=1 –ioengine=psync –bs=64k –iodepth=64 –numjobs=10 –size=1G –group_reporting
-
- 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
- …
- fio-3.28
- Starting 10 processes
- seqread: Laying out IO file (1 file / 1024MiB)
- seqread: Laying out IO file (1 file / 1024MiB)
- seqread: Laying out IO file (1 file / 1024MiB)
- seqread: Laying out IO file (1 file / 1024MiB)
- seqread: Laying out IO file (1 file / 1024MiB)
- seqread: Laying out IO file (1 file / 1024MiB)
- seqread: Laying out IO file (1 file / 1024MiB)
- seqread: Laying out IO file (1 file / 1024MiB)
- seqread: Laying out IO file (1 file / 1024MiB)
- seqread: Laying out IO file (1 file / 1024MiB)
- Jobs: 2 (f=2): [_(6),R(1),_(1),R(1),_(1)][97.5%][r=265MiB/s][r=4243 IOPS][eta 00m:01s]
- seqread: (groupid=0, jobs=10): err= 0: pid=2914: Fri Jan 21 00:18:53 2022
- read: IOPS=4191, BW=262MiB/s (275MB/s)(10.0GiB/39089msec)
- clat (usec): min=7, max=87430, avg=2321.68, stdev=9929.98
- lat (usec): min=7, max=87431, avg=2322.21, stdev=9929.98
- clat percentiles (usec):
- | 1.00th=[ 8], 5.00th=[ 8], 10.00th=[ 8], 20.00th=[ 8],
- | 30.00th=[ 9], 40.00th=[ 12], 50.00th=[ 28], 60.00th=[ 69],
- | 70.00th=[ 72], 80.00th=[ 74], 90.00th=[ 88], 95.00th=[ 7111],
- | 99.00th=[49546], 99.50th=[50070], 99.90th=[51643], 99.95th=[53216],
- | 99.99th=[79168]
- bw ( KiB/s): min=123096, max=570212, per=100.00%, avg=269605.52, stdev=5995.38, samples=753
- iops : min= 1923, max= 8906, avg=4212.24, stdev=93.66, samples=753
- lat (usec) : 10=35.83%, 20=13.40%, 50=3.20%, 100=39.33%, 250=1.40%
- lat (usec) : 500=0.09%, 750=0.04%, 1000=0.03%
- lat (msec) : 2=0.12%, 4=1.26%, 10=0.36%, 20=0.20%, 50=4.28%
- lat (msec) : 100=0.45%
- cpu : usr=0.10%, sys=1.85%, ctx=12146, majf=0, minf=283
- IO depths : 1=100.0%, 2=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%, >=64=0.0%
- submit : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
- complete : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
- issued rwts: total=163840,0,0,0 short=0,0,0,0 dropped=0,0,0,0
- latency : target=0, window=0, percentile=100.00%, depth=64
-
- Run status group 0 (all jobs):
- READ: bw=262MiB/s (275MB/s), 262MiB/s-262MiB/s (275MB/s-275MB/s), io=10.0GiB (10.7GB), run=39089-39089msec
复制代码
- ——————– A Bench.sh Script By Teddysun ——————-
- Intro : https://teddysun.com/444.html
- Version : v2022-01-01
- Usage : wget -qO- bench.sh | bash
- ———————————————————————-
- CPU Model : Intel(R) Xeon(R) CPU E5-26xx v4
- CPU Cores : 2
- CPU Frequency : 2394.446 MHz
- CPU Cache : 4096 KB
- Total Disk : 85.0 GB (1.7 GB Used)
- Total Mem : 1976 MB (167 MB Used)
- Total Swap : 0 MB (0 MB Used)
- System uptime : 0 days, 0 hour 6 min
- Load average : 0.34, 1.62, 0.99
- OS : Arch Linux
- Arch : x86_64 (64 Bit)
- Kernel : 5.16.1-arch1-1
- TCP CC : bbr
- Virtualization : KVM
- Organization : AS132203 Tencent Building, Kejizhongyi Avenue
- Location : Sham Shui Po / HK
- Region : Sham Shui Po
- ———————————————————————-
- I/O Speed(1st run) : 2.0 GB/s
- I/O Speed(2nd run) : 2.2 GB/s
- I/O Speed(3rd run) : 2.2 GB/s
- I/O Speed(average) : 2184.5 MB/s
- ———————————————————————-
- SSL_INIT
- Node Name Upload Speed Download Speed Latency
- Speedtest.net 30.92 Mbps 692.68 Mbps 1.21 ms
- Los Angeles, US 31.12 Mbps 1647.06 Mbps 153.10 ms
- Montreal, CA 29.78 Mbps 315.24 Mbps 237.16 ms
- Amsterdam, NL 30.83 Mbps 579.81 Mbps 303.70 ms
- Shanghai, CN 32.78 Mbps 1587.13 Mbps 34.95 ms
- Nanjing, CN 29.81 Mbps 1717.84 Mbps 56.82 ms
- Guangzhou, CN 2.90 Mbps 448.50 Mbps 195.47 ms
- Hongkong, CN 31.13 Mbps 1584.85 Mbps 1.39 ms
- Tokyo, JP 31.04 Mbps 744.83 Mbps 57.67 ms
- ———————————————————————-
- Finished in : 5 min 19 sec
- Timestamp : 2022-01-21 00:14:37
- ———————————————————————-
复制代码
|