Benchmark
Running with postgres backend
~ # ./juicefs bench /data
2026/05/11 16:23:48.713785 juicefs[15] <WARNING>: Failed to clean kernel caches: exit status 1 [bench@bench.go:352]
2026/05/11 16:23:48.719080 juicefs[15] <WARNING>: open stats file under mount point /data: open /data/.stats: no such file or directory [readStats@stats.go:372]
2026/05/11 16:25:26.648684 juicefs[15] <WARNING>: Failed to clean kernel caches: exit status 1 [bench@bench.go:352]
2026/05/11 16:26:30.597435 juicefs[15] <WARNING>: Failed to clean kernel caches: exit status 1 [bench@bench.go:352]
2026/05/11 16:26:37.437702 juicefs[15] <WARNING>: Failed to clean kernel caches: exit status 1 [bench@bench.go:352]
Write big blocks: 1024/1024 [==============================================================] 10.5/s used: 1m37.930190096s
Read big blocks: 1024/1024 [==============================================================] 19.9/s used: 51.357173516s
Write small blocks: 100/100 [==============================================================] 7.9/s used: 12.590027847s
Read small blocks: 100/100 [==============================================================] 14.6/s used: 6.83504654s
Stat small files: 100/100 [==============================================================] 32.9/s used: 3.043323577s
Benchmark finished!
BlockSize: 1.0 MiB, BigFileSize: 1.0 GiB, SmallFileSize: 128 KiB, SmallFileCount: 100, NumThreads: 1
+------------------+--------------+----------------+
| ITEM | VALUE | COST |
+------------------+--------------+----------------+
| Write big file | 10.46 MiB/s | 97.89 s/file |
| Read big file | 19.94 MiB/s | 51.35 s/file |
| Write small file | 7.9 files/s | 125.86 ms/file |
| Read small file | 14.6 files/s | 68.31 ms/file |
| Stat file | 33.1 files/s | 30.22 ms/file |
+------------------+--------------+----------------+