[Libtorrent-devel] Seeding over 7000 torrents

Johan Gunnarsson johan.gunnarsson at gmail.com
Thu Jun 3 09:55:27 UTC 2010


On Thu, Jun 3, 2010 at 07:04, JustFillBug <mozbugbox at yahoo.com.au> wrote:
> On 2010-04-21, Steven Adams <stevezau at gmail.com> wrote:
>>
>> Anyone else have any suggestions??
>>
>> When rtorrent has alot of peers connected 400+ it slows right down. The
>> server is fine as it has 4 cpus (each dual core) and alot of ram. But
>> trying to scroll through torrents etc takes ages. Sometimes it takes
>> over 5mins for it to respond to a keystroke..
>>
>
> A lot of RAM is nothing comparing to 7000 torrents. If every torrent is
> about 1MB, that will be 7000MB or ~7GB. Of course your torrent cannot be
> 1MB. Most likely, every torrent is 100+MB.
>
> For 400 connection, if each are for different torrent, that will be
> 400*100MBi=40000MB=40GB.
>
> So your RAM are used up and your swap is on. When you doing anything
> involves swapping, UI interaction will slow down to dog.
>
> Maybe rtorrent has some code to prevent loading all the seeding files
> into memory, but still, a portion of 40GB is a lot of memory space.
>
> Use 'free' or 'vmstat' to check out your memory usage.
>
> P.S. just for the .torrent file, 30KB/file: 7000*30KB=210000KB=210MB
>

You're joking, right?

>
> _______________________________________________
> Libtorrent-devel mailing list
> Libtorrent-devel at rakshasa.no
> http://rakshasa.no/mailman/listinfo/libtorrent-devel
>


More information about the Libtorrent-devel mailing list