Mircea Stanciu
2016-08-26 08:23:01 UTC
He guys! I started using Libtorrent inside a python script on a
Raspberry Pi3. It performs admirably while downloading, but when doing a
hash-check one of the 4 core of the CPU jumps to 100% usage, making
other programs run sluggish.
The tuning page recommends a few settings for low memory systems
http://www.rasterbar.com/products/libtorrent/tuning.html.
I ended up changing a few settings with code like:
ses = lt.session()
session_settings = ses.settings()
session_settings.optimize_hashing_for_speed = False
session_settings.download_rate_limit = 100*1000
session_settings.asio_disable_iocp = True
ses.set_settings(session_settings)
I tried other settings, but for no effect. I can see a decrees on
download speed, but still, the CPU gets maxed out. What settings could I
use to tame Libtorrent for my little Raspberry Pi3
Kind regards,
Raspberry Pi3. It performs admirably while downloading, but when doing a
hash-check one of the 4 core of the CPU jumps to 100% usage, making
other programs run sluggish.
The tuning page recommends a few settings for low memory systems
http://www.rasterbar.com/products/libtorrent/tuning.html.
I ended up changing a few settings with code like:
ses = lt.session()
session_settings = ses.settings()
session_settings.optimize_hashing_for_speed = False
session_settings.download_rate_limit = 100*1000
session_settings.asio_disable_iocp = True
ses.set_settings(session_settings)
I tried other settings, but for no effect. I can see a decrees on
download speed, but still, the CPU gets maxed out. What settings could I
use to tame Libtorrent for my little Raspberry Pi3
Kind regards,
--
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
------------------------------------------------------------------------------
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
------------------------------------------------------------------------------