Open whyrusleeping opened 5 years ago
Important note: this is a big source of pain for filecoin devs and users at the moment. not really clear what is holding the connection up -- is it bitswap perf?
This may be related to: https://github.com/ipfs/go-bitswap/issues/187
we're not parallelizing reads from disk. Given sufficient send buffers we'll be blocked on disk reads, not network writes.
For context: the nodes that the command above connects to (/ip4/138.201.67.219
et al) are our ipfs-cluster nodes. Due to the issue above, it may that they are currently unable to send data as fast as the network would allow.
Over in filecoin land we are using ipget to download snark parameters. These files are (currently) around 1.5 GB, and take quite a long time (often in the 20 minute range) using the following invocation:
Realistically, directly connecting to the peers with the data and pulling it from them on my connection should take ~30 seconds, i'm fine with a small amount of overhead, so if it took a minute it would be fine.
These files are going to get much bigger in the nearish future, even up to 100GB, and people will be required to download them. We need this process to be as fast as possible.