JuiceFS provides a subcommand
bench to run a few basic benchmarks to evaluate how it works in your environment:
It shows JuiceFS can provide 10X more throughput than the other two. Read more details.
It shows JuiceFS can provide significantly more metadata IOPS than the other two. Read more details.
There is a virtual file called
.accesslog in the root of JuiceFS to show all the operations and the time they takes, for example:
$ cat /jfs/.accesslog
2021.01.15 08:26:11.003330 [uid:0,gid:0,pid:4403] write (17669,8666,4993160): OK <0.000010>
2021.01.15 08:26:11.003473 [uid:0,gid:0,pid:4403] write (17675,198,997439): OK <0.000014>
2021.01.15 08:26:11.003616 [uid:0,gid:0,pid:4403] write (17666,390,951582): OK <0.000006>
The last number in each line is the time (in seconds) the current operation takes. You can use this directly to debug and analyze performance issues, or try
./juicefs profile /jfs to monitor real time statistics. Please run
./juicefs profile -h or refer here to learn more about this subcommand.