Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

help to get more speedup #172

Open
vtolstov opened this issue Feb 16, 2017 · 4 comments
Open

help to get more speedup #172

vtolstov opened this issue Feb 16, 2017 · 4 comments

Comments

@vtolstov
Copy link

I have fork for httpfs that provide fuse based http client for specific site.
I'm try to measure speed and after some changes i get 297Mb file on 100Mb/s link

curl get this file to /dev/null 2-3 s
via fuse - 14-16 s

Firstly i see that each time remote file read only by 4K block. So maybe fuse have many allocations. Does it possible to have bigger block size ?

My repo is https://github.com/vtolstov/httpfs

@slhad
Copy link

slhad commented Apr 28, 2017

See #175

fuse.MaxReadahead(128*1024) (max value) did it for me as written in it

@gileshuang
Copy link

@slhad
Does is possible to set block size for different Node ?

@slhad
Copy link

slhad commented Sep 4, 2017

I did not see a way to do that in the code, nor see why you would need to do that, using #175 I get 128k and it's plenty enough to have respectable performance and reliability

@gileshuang
Copy link

@slhad
OK, thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants