Git Product home page Git Product logo

Comments (7)

monthonk avatar monthonk commented on July 22, 2024 1

Thanks for the updates. For your workload, you can try spawning threads to read multiple files at the same time. That should get you close to the instance bandwidth. We will also update documentation on our side.

from mountpoint-s3.

monthonk avatar monthonk commented on July 22, 2024

Hey @karthik1900, that throughput seems really low. Can you share more about how you read data from the mounted directory? Based on our benchmark results (https://awslabs.github.io/mountpoint-s3/dev/bench/), increasing number of concurrent reads and opening a file in O_DIRECT mode might help.

from mountpoint-s3.

karthik1900 avatar karthik1900 commented on July 22, 2024

Hey @monthonk, thanks for the quick response

I am using a simple python open file

with open("myfile", "rb") as f:
    data = f.read()

Will try with the O_DIRECT mode and update here

from mountpoint-s3.

karthik1900 avatar karthik1900 commented on July 22, 2024

When I use fio to to read the file, I am getting about 22 Gb/s, I guess the issue is with my read

fio --name=read --rw=read --bs=4m --direct=1 --filename="myfile"

from mountpoint-s3.

karthik1900 avatar karthik1900 commented on July 22, 2024

Hey @monthonk

Is there a way where we can set a configuration which will allow multiple threads to read one large file (as s3 allows reading in chunks)

from mountpoint-s3.

monthonk avatar monthonk commented on July 22, 2024

Hey, we already do that in the background. In mountpoint, a file system read request could spawn multiple GetObject requests and download object parts in parallel. The bottleneck is at the FUSE interface when you are reading the file. This PR https://github.com/awslabs/mountpoint-s3/pull/834/files explains a bit about that.

from mountpoint-s3.

dannycjones avatar dannycjones commented on July 22, 2024

Hi! We merged that particular documentation change (#834), so we now have a section in troubleshooting slower throughput than expected: https://github.com/awslabs/mountpoint-s3/blob/main/doc/TROUBLESHOOTING.md#slower-throughput-than-expected

If there's any more questions here, please let us know - or we can close the issue. Thanks!

from mountpoint-s3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.