S
S
sashkin2013-07-03 14:36:03
linux
sashkin, 2013-07-03 14:36:03

Video "stuttering" when actively downloading torrents on ubuntu?

Need advice on how to fix the brakes in video playback when a torrent is running on ubuntu-like distra. The situation is this:
1. Installed different versions of Ubuntu 11, 12, 13 and a couple of versions of Mint.
2. Hardware i3 and 8Gb memory
2. System disk ssd 64Gb
3. File storage 2Tb x 3 hdd combined lvm on ext4.
4. Torrents download at 9-10 MB/s
While the torrent is on and actively downloading, the video launched for playback stutters stably every 2-3 seconds. Viewing becomes impossible.
I assume that this is due to the intensive inorder writing of data to the disk and the player process is preempted so much that it causes stuttering during playback.
I will be glad to ideas, solutions or links to useful articles.

Answer the question

In order to leave comments, you need to log in

6 answer(s)
M
Mario_Z, 2013-07-03
@Mario_Z

Increase memory limit in torrent client settings?

L
luckyredhot, 2013-07-03
@luckyredhot

Try dumping the entire movie to a virtual disk in RAM. If the problem is with the HDD (and most likely it is), then this will help you.

A
AxisPod, 2013-07-03
@AxisPod

Hard drives under cooling? Again, which ones are more accurate, for example, my green WD (on 2Tb) can shut up very much (this is about 5Mb / s per stream, periodic defragmentation saves the day, but I have NTFS) if, in 2 streams, there is communication with it, so it moves in the multimedia player. Again, heat can have a negative effect.
Well, this problem can only be solved by limiting the speeds in the torrent tracker. You yourself probably understand that this is an HDD, there is only one head. And when she has to actively run to one place or another, normal reading speed cannot be achieved. It is possible, of course, to somehow play around with caching, but I won’t help here.
Well, probably you wanted to say 2Tb x 3 hdd

A
avalak, 2013-07-03
@avalak

The easiest way is to increase the player's cache.

N
Nikolai Turnaviotov, 2013-07-04
@foxmuldercp

You can also transfer torrents to a dedicated file washer, which, for example, is connected separately to the router (with a torrent).

M
Michael Galyuk, 2013-07-06
@robux

Judging by the period of 2-3 seconds, the plug occurs when the movie is read into the player's video buffer, and is most likely due to the fact that the disk is overloaded for read / write operations.
You can dig in the following directions:
1) use a player with read-ahead
. so that it fills the buffer in advance, and not immediately before the previous one ended.
2) before watching, copy the movie to a separate physical disk (on the second HDD) or to a RAM disk
3) lower the priority of the torrent so that its read / write operations are waiting for the player.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question