kahing / goofys

a high-performance, POSIX-ish Amazon S3 file system written in Go
Apache License 2.0
5.21k stars 522 forks source link

Obvious slow down than s3fs #164

Closed karltdev closed 7 years ago

karltdev commented 7 years ago

I am currently using php cms called Processwire for my project. I have used s3fs to mount the asset folder and found it slowed down the page load from 100-200ms to 300-500ms. And then I switched to goofys but the page load time became 1-5s. The settings are pretty much the same except s3fs with one more option -o use_cache=/tmp.

kahing commented 7 years ago

That's very vague. Could you dig deeper to see which operations are slower? Note that goofys does not have an ondisk cache

karltdev commented 7 years ago

I would like to find the issue out, but I have no idea how do I dig deeper right now, sorry. What I have tried is to disable the debug mode of Processwire and the page load become around 300-400ms while s3fs keeps the speed when debug mode on. If I have further findings I will report here.

kahing commented 7 years ago

How many assets are you loading? Are the assets loaded in parallel? How does goofys compare if you disable s3fs cache? Some of these questions can be answered by turning on goofys' debug log.

kahing commented 7 years ago

closing, not actionable