Re: [btqueue-users] high loads? + upload management
Status: Beta
Brought to you by:
xgie
From: Sugree P. <su...@hp...> - 2005-01-31 03:13:26
|
Doruk Fisek wrote: > Hi, > > Has anyone experienced high cpu loads with BTQueue? > > When I am running btqueue.py in daemon mode with 5 active torrents, it > generates 2-3 times more cpu load than running 5 seperate > btdownloadheadless.py processes. It is possible because btqueue.py consists of 4 or 5 threads. Generally, bittornado does not use multithread, instead, all IO are multiplexed. > > BTQueue 0.0.18 (final as I remember) and Bittorrent 3.4.2 running on > Python 2.3.4. > > * * * > > How does BTQueue distribute max_upload_rate among active torrents? I mean > for example when you set up a max 10 kb/s limit and there are 3 downloads, > what does it do? Does it put a 3.3 kb/s limit to each one or first one to > start upload gets the bandwidth as long as 10 kb/s is full? Both download rate and upload rate use the same scheme. At startup time all torrents are set limit to its maximum value. After next schedule, current rate of all active torrents are summarized. Max rate of each torrent will be decreased by 5 KB/s one by one until total rate doesn't exceed the limit in decending order. > > What is / Is there margin of error for upload management at an instant of > time? +-2 kb/s for example? Ah. It depends on how fast you are. In ideal case, all rate will be stablized in just a single adjustment but actually, you might have to wait for 10 minutes so more. The average error margin should be around 5 KB/s per torrent. Sugree Phatanapherom su...@hp... |