On Thu, 25 Apr 2024, Alexandre Rossi wrote:
> Hi,
> 
> The example torrent is not available anymore.
>
> Downloading a torrent with transmission 4 from unstable does not use 100%
> CPU core.
> 
> Can you reproduce?

I have upgraded to 4.0.2-1 since then and I am now using the QT client. 
But using the updated torrent (see http://osm.cquest.org/torrents) top 
still reports Transmission using a full core:

$ top -n1 | grep trans
  10472 fgouget   20   0 3520476 328540  62496 S 118.8   1.0 330:01.80 transmi+ 

So 118% CPU.

But in ps the CPU usage is stuck at 3.7%:
$ ps aux | grep trans
fgouget    10472  3.7  1.0 3520476 329364 ?      Sl   Apr19 329:41 
/usr/bin/transmission-qt -session 
10cae0c76f000170761859900000334600170_1710862333_885767

This is while downloading the current osm.pdf.torrent file at a reported 
150 MB/s average speed (1200 Mbps). While this is a 1 Gbps Internet 
connection and it is indeed maxed out, that still at most 125 MB/s. So I 
think the data must be compressed and transmission is reporting the 
uncompressed data transfer rate.

Also now that the transfer is complete transmission is back to 0% CPU 
usage.

So maybe transmission was just kept busy by the fast transfer rate? 
(i7-4790K, verifying and uncompressing the data)


> Special parameters?

Nothing that I know of. I'm not limiting the download speed obviously.
Here are some possibly relevant settings from 
~/.config/transmission/settings.json:

    "alt-speed-enabled": false,
    "cache-size-mb": 4,
    "dht-enabled": true,
    "encryption": 1,
    "lazy-bitfield-enabled": true,
    "lpd-enabled": false,
    "peer-congestion-algorithm": "",
    "peer-limit-global": 240,
    "peer-limit-per-torrent": 60,
    "peer-socket-tos": "",
    "pex-enabled": true,
    "port-forwarding-enabled": true,
    "proxy-auth-enabled": false,
    "proxy-enabled": false,
    "queue-stalled-enabled": true,
    "queue-stalled-minutes": 30,
    "speed-limit-down-enabled": false,
    "speed-limit-up-enabled": false,
    "utp-enabled": true,


-- 
Francois Gouget <fgou...@free.fr>              http://fgouget.free.fr/
A particle is an irreducible representation of the Poincaré Group - Eugene 
Wigner

Reply via email to