#7298·juicefs

Juicefs S3 gateway performance low

Author: luluhuang-balaCreated Jul 21, 2026Updated Sep 24, 2026
Labelskind/question

我的juicefs,元数据是三节点TIKV,缓存是GPFS,后端是自研oss, 文件存储性能测试没问题。 我现在部署了juicefs s3gateway, 想要测试一下s3的性能,发现读性能只有直接后端对象的1/2,写性能只有1/3,我用文件目录warmup以后也没有任何提升,求大神指导。

juicefs gateway
--cache-dir=/gpfs/juicefs-cache/juicefs-cache/
--cache-size=1677722
--buffer-size=4096
0.0.0.0:9000
############################################################## Juicefs s3单机单并发性能 ############################################################## ./warp get --host=:9000 --bucket=x'x'x --access-key=x'x'x --secret-key=x'x'x --duration=60s --concurrent=1 --disable-sha256-payload --prefix=warp-test --list-existing --noclear --obj.size 4KiB Reqs: 15507, Errs:0, Objs:15507, Bytes: 60.6MiB

  •   GET Average: 263 Obj/s, 1050.3KiB/s; Current 260 Obj/s, 1041.8KiB/s, 3.9 ms/req, TTFB: 3.9ms

Report: GET. Concurrency: 1. Ran: 57s

  • Average: 1.03 MiB/s, 262.63 obj/s
  • Reqs: Avg: 3.8ms, 50%: 3.7ms, 90%: 4.2ms, 99%: 6.0ms, Fastest: 2.0ms, Slowest: 30.5ms, StdDev: 0.7ms
  • TTFB: Avg: 4ms, Best: 2ms, 25th: 3ms, Median: 4ms, 75th: 4ms, 90th: 4ms, 99th: 6ms, Worst: 30ms StdDev: 1ms

Throughput, split into 57 x 1s:

  • Fastest: 1242.7KiB/s, 310.67 obj/s
  • 50% Median: 1044.8KiB/s, 261.21 obj/s
  • Slowest: 969.7KiB/s, 242.41 obj/s

############################################################## 后端对象单机单并发性能 ############################################################## ./warp get --host=:80 --bucket=x'x'x --access-key=x'x'x --secret-key=x'x'x --duration=60s --concurrent=1 --disable-sha256-payload --prefix=warp-test --list-existing --noclear --obj.size 4KiB Reqs: 32938, Errs:0, Objs:32938, Bytes: 128.7MiB

  •   GET Average: 570 Obj/s, 2.2MiB/s; Current 616 Obj/s, 2.4MiB/s, 1.6 ms/req, TTFB: 1.6ms

Report: GET. Concurrency: 1. Ran: 57s

  • Average: 2.23 MiB/s, 570.33 obj/s
  • Reqs: Avg: 2.2ms, 50%: 1.9ms, 90%: 3.7ms, 99%: 6.4ms, Fastest: 1.1ms, Slowest: 33.0ms, StdDev: 1.1ms
  • TTFB: Avg: 2ms, Best: 1ms, 25th: 1ms, Median: 2ms, 75th: 2ms, 90th: 4ms, 99th: 6ms, Worst: 33ms StdDev: 1ms Throughput, split into 57 x 1s:
  • Fastest: 2.6MiB/s, 672.36 obj/s
  • 50% Median: 2.4MiB/s, 626.29 obj/s
  • Slowest: 186.9KiB/s, 46.72 obj/s