Sia throughput bottleneck when uploading
BUG REPORT
There is a throughput bottleneck present when a siad
renter is uploading data to the Sia network. This occurs when using siad
on a Linux host, but could also be happening on other platforms.
The overall finding is that a renter node cannot exceed ~350mbps of throughput. Contracts have been established with 54 different hosts, and the wallet is sufficiently funded. Logs have been provided via Discord to @DavidVorick, but nothing was determined to be remarkable at the time.
The server in question has a 2Gbps network connection and this issue happens with both v1.4.2.0 and v1.4.2.1. Previous versions of siad
have yielded significantly higher upload performance.
According to @DavidVorick, bandwidth is limited by CPU, but CPU usage barely crosses 40% in this scenario:
Stack Trace or error message
N/A
Expected Behavior
Sia upload throughput is not limited
Observed Behavior
Sia upload throughput is being limited
How to reproduce it (as minimally and precisely as possible)
Spin up a new renter node using v1.4.2.1 and upload a few large files. Enable persistent network monitoring, and observe. Overall throughput will hover around 350mbps.
Environment
- Sia version: 1.4.2.1
- OS: Ubuntu Linux 18.04