I have a small private swarm network, and use kubo as the first server containing the complete file. All machines are on one private network.
I used boxo to implement a custom client to download files from kubo and act as a full peer node. I’m using this client for file distribution, and I want a 100GiB file that’s only in kubo to be distributed to all clients as fast as possible.
When the size of the peers is less than 60 or so, the speed is quite normal. However, when the number of peers reaches about 150, the speed starts to drop dramatically, and it takes several times longer to transfer the file in its entirety to each peer.
I’ve tried tweaking these configurations to optimize the transfer, but none of them are of much use
- try
bitswap.MaxOutstandingBytesPerPeer
10MB 100MB 512MB 1GB - try
connmgr.NewConnManager(10, 128)
andconnmgr.NewConnManager(100, 600)
- try
dag.GetMany
to speedup
Did I miss something? I don’t know what to do about the slow distribution problem