Open barry-boy opened 1 year ago
juicefs测试: | Test | IOPS | BW |
---|---|---|---|
random-read-4k | 10921.502617 | 43686 | |
random-write-4k | 187.465354 | 749 | |
read-4M | 492.189378 | 2016007 | |
write-4M | 223.963532 | 917354 |
rbd 测试:
Test | IOPS | BW |
---|---|---|
random-read-4k | 68087.891211 | 272351 |
random-write-4k | 5278.986836 | 21115 |
read-4M | 529.719104 | 2169729 |
write-4M | 449.536854 | 1841302 |
cephfs 测试:
Test | IOPS | BW |
---|---|---|
random-read-4k | 67437.637491 | 269750 |
random-write-4k | 5403.166139 | 21612 |
read-4M | 739.083363 | 3027285 |
write-4M | 519.13815 | 2126389 |
juicefs
root@juicefs-test02-798f685bd4-5p872:/juicefs# juicefs bench ./ -p 4
+------------------+-----------------+--------------+
| ITEM | VALUE | COST |
+------------------+-----------------+--------------+
| Write big file | 966.22 MiB/s | 4.24 s/file |
| Read big file | 1757.63 MiB/s | 2.33 s/file |
| Write small file | 634.7 files/s | 6.30 ms/file |
| Read small file | 5366.2 files/s | 0.75 ms/file |
| Stat file | 15218.1 files/s | 0.26 ms/file |
+------------------+-----------------+--------------+
cephfs :
+------------------+------------------+--------------+
| ITEM | VALUE | COST |
+------------------+------------------+--------------+
| Write big file | 10140.41 MiB/s | 0.40 s/file |
| Read big file | 23082.57 MiB/s | 0.18 s/file |
| Write small file | 5983.9 files/s | 0.67 ms/file |
| Read small file | 44394.6 files/s | 0.09 ms/file |
| Stat file | 234011.5 files/s | 0.02 ms/file |
+------------------+------------------+--------------+
rbd:
Benchmark finished!
BlockSize: 1 MiB, BigFileSize: 1024 MiB, SmallFileSize: 128 KiB, SmallFileCount: 100, NumThreads: 4
+------------------+------------------+--------------+
| ITEM | VALUE | COST |
+------------------+------------------+--------------+
| Write big file | 5793.88 MiB/s | 0.71 s/file |
| Read big file | 22376.03 MiB/s | 0.18 s/file |
| Write small file | 6920.4 files/s | 0.58 ms/file |
| Read small file | 41343.2 files/s | 0.10 ms/file |
| Stat file | 271353.3 files/s | 0.01 ms/file |
+------------------+------------------+--------------+
juicefs分别对接ceph rgw 与 minio
ceph rgw测试
Test | IOPS | BW |
---|---|---|
random-read-4k | 34787.373754 | 139149 |
random-write-4k | 35.636739 | 142 |
read-4M | 972.090374 | 3981682 |
write-4M | 219.572531 | 899369 |
Test | IOPS | BW |
---|---|---|
random-read-4k | 4630.71231 | 18522 |
random-write-4k | 38.593851 | 154 |
read-4M | 855.972582 | 3506063 |
write-4M | 260.377861 | 1066507 |
不使用缓存盘
root@jfs-app-647458b74d-m8lvr:/juicefs# dd if=/dev/zero of=./b bs=100M count=10
10+0 records in
10+0 records out
1048576000 bytes (1.0 GB, 1000 MiB) copied, 15.4683 s, 67.8 MB/s
使用缓存盘
/juicefs # dd if=/dev/zero of=./b bs=100M count=10
10+0 records in
10+0 records out
1048576000 bytes (1000.0MB) copied, 1.997702 seconds, 500.6MB/s
ceph rgw | Test | IOPS | BW |
---|---|---|---|
random-read-4k | 9796.580228 | 39186 | |
random-write-4k | 37.437964 | 149 | |
read-4M | 402.705679 | 1649482 | |
write-4M | 126.607155 | 518582 |
juicefs :
juicefs:
cephfs:
rbd:
参考文章: