Skip to content

Conversation

@ikatson
Copy link
Owner

@ikatson ikatson commented Dec 30, 2025

This is an attempt to make rqbit work better with slow disks. I'm running it on an OpenWRT router with a USB stick.

Sometimes it just blocks and loses all momentum. The Web UI also isn't responsive at those times. My theory is that the "block_in_place" calls stall the whole runtime because the disk is slow. Disk utilization is 100% when this happens, but SOME work could still be happening e.g. Web UI at least. Streaming is also pretty bad during slow disk occurences.

Also hope that it will help smooth out the download speed as it tanks during these moments. But at least averaged out across all peers should be better.

@ikatson ikatson marked this pull request as draft December 30, 2025 18:18
This is an attempt to make rqbit work better with slow disks.
I'm running it on an OpenWRT router with a USB stick.

Sometimes it just blocks and loses all momentum. The Web UI also isn't responsive at those times.
My theory is that the "block_in_place" calls stall the whole runtime because the disk is slow.
Disk utilization is 100% when this happens, but SOME work could still be happening e.g. Web UI at least.

Also hope that it will help smooth out the download speed as it tanks during these moments. But at least
averaged out across all peers should be better.
@ikatson ikatson force-pushed the block-in-place-limit branch from c46745e to 15fef90 Compare December 30, 2025 18:28
@ikatson ikatson marked this pull request as ready for review January 1, 2026 18:42
@ikatson ikatson merged commit b8558ab into main Jan 1, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants