Picon

(no subject)

Hi all.

  I using libtorrent on the STB. STB has a 250MHz MIPS processor, 128Mb
RAM, 100MBit LAN adapter and an interface USB 1.1.
  Libtorrent downloads torrent in a stream mode, writes a file on a flash
drive connected to USB and STB playbacks the video file immediately.
File system is EXT3.
  The speed of USB 1.1 is 12MBit/sec and libtorrent shows alert - 'max
outstanding disk writes reached'. I tried different session settings,
tried min_memory_usage() to no avail. Could you suggest settings to work
with USB 1.1?

--

-- 
С уважением,
Александр Новосёлов

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Libtorrent-discuss mailing list
Libtorrent-discuss <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libtorrent-discuss
arvid | 9 Feb 21:55
Picon
Picon
Favicon

Re: (no subject)

Quoting Александр Новосёлов <nova <at> tomica.ru>:

> Hi all.
> 
>   I using libtorrent on the STB. STB has a 250MHz MIPS processor, 128Mb
> RAM, 100MBit LAN adapter and an interface USB 1.1.
>   Libtorrent downloads torrent in a stream mode, writes a file on a flash
> drive connected to USB and STB playbacks the video file immediately.
> File system is EXT3.
>   The speed of USB 1.1 is 12MBit/sec and libtorrent shows alert - 'max
> outstanding disk writes reached'. I tried different session settings,
> tried min_memory_usage() to no avail. Could you suggest settings to work
> with USB 1.1?

If you're downloading at greater speed than 12 Mbit/s, the drive is
expected to be the bottleneck, right? That's all that warning means,
that the drive is the bottleneck.

--

-- 
Arvid Norberg

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
Picon

Re: (no subject)

Hi all.

> Quoting АлександÑ� Новосёлов <nova <at> tomica.ru>:
>
>> Hi all.
>>
>>   I using libtorrent on the STB. STB has a 250MHz MIPS processor, 128Mb
>> RAM, 100MBit LAN adapter and an interface USB 1.1.
>>   Libtorrent downloads torrent in a stream mode, writes a file on a
>> flash
>> drive connected to USB and STB playbacks the video file immediately.
>> File system is EXT3.
>>   The speed of USB 1.1 is 12MBit/sec and libtorrent shows alert - 'max
>> outstanding disk writes reached'. I tried different session settings,
>> tried min_memory_usage() to no avail. Could you suggest settings to work
>> with USB 1.1?
>
> If you're downloading at greater speed than 12 Mbit/s, the drive is
> expected to be the bottleneck, right? That's all that warning means,
> that the drive is the bottleneck.
>
> --
> Arvid Norberg
>

  I understand that the bottleneck is the USB flash drive. And I
understand, what warning means. I'm asking for an advice - what settings
should I use to evade this bottleneck. I have tried to limit the
download speed, tried different settings session, tried various cache
size - but did not reach the desired result.
(Continue reading)

arvid | 10 Feb 06:44
Picon
Picon
Favicon

Re: (no subject)

Quoting Александр Новосёлов <nova <at> tomica.ru>:
> Hi all.
> > If you're downloading at greater speed than 12 Mbit/s, the drive is
> > expected to be the bottleneck, right? That's all that warning means,
> > that the drive is the bottleneck.
> 
>   I understand that the bottleneck is the USB flash drive. And I
> understand, what warning means. I'm asking for an advice - what settings
> should I use to evade this bottleneck. I have tried to limit the
> download speed, tried different settings session, tried various cache
> size - but did not reach the desired result.

What is the desired result?

to write to the disk faster than 12 Mbit/s?

you might want to try enabling stats logging (TORRENT_STATS), and analyze the
resulting logs with the parse_session_stats.py script.

That would give you much more detailed information about what's going on
in the disk thread.

--

-- 
Arvid Norberg

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
(Continue reading)

Picon

Re: (no subject)

Hi all.

> Quoting АлександÑ� Новосёлов <nova <at> tomica.ru>:
>> Hi all.
>> > If you're downloading at greater speed than 12 Mbit/s, the drive is
>> > expected to be the bottleneck, right? That's all that warning means,
>> > that the drive is the bottleneck.
>>
>>   I understand that the bottleneck is the USB flash drive. And I
>> understand, what warning means. I'm asking for an advice - what settings
>> should I use to evade this bottleneck. I have tried to limit the
>> download speed, tried different settings session, tried various cache
>> size - but did not reach the desired result.
>
> What is the desired result?
> to write to the disk faster than 12 Mbit/s?

Desired result is write torrent to USB flash at constant speed about 2-2.5
Mbit/sec.

> you might want to try enabling stats logging (TORRENT_STATS), and analyze
> the resulting logs with the parse_session_stats.py script.
> That would give you much more detailed information about what's going on
> in the disk thread.

I get logs, but I can't find file named parse_session_stats.py in the
downloaded archive of libtorrent. I tried download archives 0.15.6 -
0.15.9 versions - no one not contains python scripts.

But the main aim is downloading torrents as a stream and pass a stream to
(Continue reading)


Gmane