-
We’ve deployed JuiceFS (version 0.11.0-37 2021-03-19 6127863) on the top of two Redis 6.2.2 (one for metadata and the one for object-storage) using “--io-threads 16" and “-io-threads-do-reads yes” but found that, for the following application, JuiceFS lagging behind a standard NFS (tier2) storage. After some tuning exercises, all knob tweaking (eg. smaller block-size, larger cache-size) seems only result incremental speedup. Our next step is to try Redis cluster (with at least 3 Sentinals to guarantee the atomicity of metadata operations) or TiKV. Is there any obvious thing that we can try before deep dive into distributed database solution? Thanks! The application is to compile 140GB source code (1.2M files - avg. 113K per file) using 1250 CPUs and wrote 70GB object files (115K files - avg. 608KB per obj).
By switching source-code and object to various partitions and exhausting all combinations, we noticed that reading the 140GB source code is the bottleneck. Also, Redis config file seems implies that multiple threading might NOT help reading so much, so we’re looking into distributed database solutions. Please let us know if any obvious tuning that we can try. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 18 replies
-
Hi @myc724, thanks for your feedback. First of all, the v0.11.0 of JuiceFS is too old (latest version is v0.15.2), could you try the latest version?
You mean read the metadata or data? JuiceFS has a
If my understanding is correct, the "Redis cluster" you mentioned is this one. But JuiceFS relies on Redis transaction to guarantee atomicity, Sentinel seems helpless in this case? TiKV metadata engine is ready now in |
Beta Was this translation helpful? Give feedback.
Hi @myc724, thanks for your feedback.
First of all, the v0.11.0 of JuiceFS is too old (latest version is v0.15.2), could you try the latest version?
You mean read the metadata or data? JuiceFS has a
profile
subcommand could help you profiling your case, please refer to document for more details.If my understanding is correct, the "Redis cluster" you mentioned is this one. But JuiceFS relies on Redis transaction to guarantee atomicity, Sentinel seems helpless in this case?
TiKV metadata engine is rea…