Page 1 of 1

Torrents takes over http traffic

Posted: Sat Nov 18, 2017 10:33 pm
by alex3137
Hello

I have a 1 mbits internet connection at home. I configured Gargoyle with three classes:

- premium+: for http / https traffic to my devices (identified with a fixed IP)
- premium: for all other traffic to my devices
- free: for devices that are not mine

Premium+ has 75% bandwidth at capacity, premium has 24% and free has 1%.

HTTP(s) traffic is correctly identified in the premium+ class.
Torrents are correctly classified in the premium class.

However, if I start a torrent while downloading something in http, the premium class will get all the bandwith (normaly it should only get 24%). Premium+ will not even get bandwidth and the download will slow to even stop.

I tried to set a minimum bandwidth to the premium+ class or to lower my download speed limit but the problem is the same.

I am using Gargoyle 1.9.2

Any idea ?

Image

Image

Re: Torrents takes over http traffic

Posted: Sun Nov 19, 2017 1:51 am
by Knomax
Be more specific...you start a torrent in device etc.. "A" and downloading something in device "B"???
Or in the same machine you start both torrents and http?
If you are in first case .....just put in the rule for download.."destination ip" not the hole subnet.

Re: Torrents takes over http traffic

Posted: Sun Nov 19, 2017 2:51 am
by alex3137
I do this from the same machine with no other traffic on the network.

If I start a video streaming or a large file download, the connection is maximised and traffic is properly identified in the premium+ class. Same result with torrent traffic being identified in the premium class.

When I start a torrent download in parallel of a file download , the expected behaviour is that gargoyle allocates 75% of the download bandwidth for the file download and 25% for the torrent traffic.

What happens in reality is gargoyle slows down the file download to a few kb/s and then torrent traffic consumes all the bandwidth available.

My scenario is pretty simple but it doesn't work and I don't understand why.

Re: Torrents takes over http traffic

Posted: Tue Nov 21, 2017 12:28 pm
by alex3137
I simplified my setup with just a default class and a class for http traffic.

Even with this the rules are not correctly applied and torrents get all the available bandwidth.

I think this is a bug in Gargoyle.

Re: Torrents takes over http traffic

Posted: Tue Nov 21, 2017 3:33 pm
by alex3137
Just tested with Gargoyle 1.8.1, 1.9.2 and 1.10.0 and I have the same behavior.

Re: Torrents takes over http traffic

Posted: Wed Jan 03, 2018 6:15 pm
by pbix
Your problem is on the upload side.
Make sure it is correctly configured and that torrent traffic is given 1% there.