Jump to content
Not connected, Your IP: 3.138.114.198
airvpn18259

Speeds peaking and plummeting while torrenting

Recommended Posts

Ok so I'm on a 100Mbit broadband connection and I'm able to max out my connection (with and without VPN) on speedtest sites. However while torrenting, I notice that the the speed will peak for 2-3 seconds, then plummet for 2-3 seconds then again peak for 2-3 seconds then again plummet for 2-3 seconds.

 

Here's a graph showing exactly what I mean:

 

 E081ABJ.jpg

 

So the peak download speed (in green) is around 11MB/sec (~88Mbit) and trough is around 2MB/sec (16Mbit).

 

Any ideas?

Share this post


Link to post

Hello!
 

Have you done portforwarding? Tried changing TAP drivers? Tried the Eddie client? Or tried the Experimental?

 

You provide precious little information haha.


Moderators do not speak on behalf of AirVPN. Only the Official Staff account does. Please also do not run Tor Exit Servers behind AirVPN, thank you.
Did you make a guide or how-to for something? Then contact me to get it listed in my new user guide's Guides Section, so that the community can find it more easily.

Share this post


Link to post

I'm getting the same issue...I have just installed Eddie 2.11.8 from the latest stable. I tried going back to stable but got lots of null errors (I guess the some config settings have been overwritten by Eddie?).

 

macOS 10.12.1

Eddie 2.11.8

I am port forwarding.

 

UPDATE:

I have reverted to 2.10.3 and am still getting the same issue.

UPDATE 2

​Ok, after reading other comments here I identified the cause to saving a torrent to a USB 2 stick

Share this post


Link to post

Ok so I'm on a 100Mbit broadband connection and I'm able to max out my connection (with and without VPN) on speedtest sites. However while torrenting, I notice that the the speed will peak for 2-3 seconds, then plummet for 2-3 seconds then again peak for 2-3 seconds then again plummet for 2-3 seconds.

 

Here's a graph showing exactly what I mean:

 

 E081ABJ.jpg

 

So the peak download speed (in green) is around 11MB/sec (~88Mbit) and trough is around 2MB/sec (16Mbit).

 

Any ideas?

 

could it be a hard drive cache flushing problem or the like?

Share this post


Link to post

What torrent client are you using? I see you're on Windows, so I would highly recommend qBittorrent because it's fast, light, ad-free and secure (you can bind it to the TAP adapter). Just to make sure, have you disabled uTP and rate limiting in your torrent client? I had all kinds of hair-pulling annoying speed issues until I realised that one. Also make sure to set the snd and rcv buffers to 512K to rule that out, and connect to your router via ethernet to rule out wifi drops (this type of graph is quite common on poor wifi).

Share this post


Link to post

What torrent client are you using? I see you're on Windows, so I would highly recommend qBittorrent because it's fast, light, ad-free and secure (you can bind it to the TAP adapter). Just to make sure, have you disabled uTP and rate limiting in your torrent client? I had all kinds of hair-pulling annoying speed issues until I realised that one. Also make sure to set the snd and rcv buffers to 512K to rule that out, and connect to your router via ethernet to rule out wifi drops (this type of graph is quite common on poor wifi).

 

I'm on qBittorrent 3.3.7. No rate enabled anywhere in client or router or OS.

 

I actually don't think it's the VPN that's causing the fluctuation. I have a 5 year old PC so either the HDD is slowing down or the RAM or CPU not performing up to the mark (?) I'm not quite sure.

 

Is there a way to find out what exactly the problem is? Is it a hard drive cache flushing problem?

 

Thanks 

Share this post


Link to post

I performed test with and without airvpn:

 

This is WITH airvpn enabled: http://i.imgur.com/YiZlieU.jpg

 

This is WITHOUT airvpn: http://i.imgur.com/gWjmpGa.jpg

 

So it's definitely not the VPN, but I'm not sure what it is. Why do speeds hit max 14MB/sec (The 110Mbps I get max from my ISP) then drop to 10MB/sec (80Mbps) every 3 seconds?

 

Would it be a CPU issue or a drive issue or a RAM issue?

Share this post


Link to post

Would it be a CPU issue or a drive issue or a RAM issue?

 

Hello,

 

1) enlarge considerably torrent client RAM buffer, so that it writes to the HDD less frequently

2) if you have an asymmetric line make sure that the upload bw of the torrent client does not choke the line (set stricter limits from the torrent client options)

3) if you have some file system that has no effective algorithm to avoid fragmentation, defragment the HDD

4) consider zhang888 suggestion. If you have USB 3, even a good USB key might be enough. Make sure to take one that can support at least 28 MB/s in writing and set the external storage in the torrent client options.

 

Kind regards

Share this post


Link to post

As I have said elsewhere, I have had a similar issue on my 200/20 cable line, with MacOS, Linux and Windows, on SSD and HDD. I have had a play with qBittorrent 3.3.7 and found that I have fixed my issue, so hopefully this helps you also. It's worth a try. 

 

Maximum number of connections per torrent: 100 (50 works too but isn't always as fast)

Global rate limits - upload - 75% of your upload speed

Make sure every other box on that page (including 'Enable uTP protocol') are not checked

 

6131ca3d75ee2946456698af698b3ab3.PNG

 

Go to the Advanced section and scroll down to libtorrent settings.

 

Disk write cache size - 30 MiB

Enable OS cache - Make sure you uncheck this

Maximum number of half open connections - 0 (zero)

 

cba4d1f96743e50654129d8e54f35823.PNG

 

Now restart qBittorrent and try an Ubuntu 16.10 torrent download again. I tried settings ranging from large cache sizes (4000 MiB and down) and found that on a standard hdd a setting just above my line speed (30 MiB in my case) worked the best. If 30 doesn't work for you, try 20. I found that the OS cache option just made the torrent spool up slower and it 'crashed' the speed a few times while the disk caught up. This doesn't happen (for me) with OS cache disabled. As zhang888 says an SSD is much more reliable. When I switched my download path back to my SSD speeds were more stable and it didn't matter so much when the buffer wrote to disk, but for a platter HDD it was just too much with such a high network speed. 

 

Worth a try mate and if it doesn't work for you it's easy to switch them back. I've gone from having a speed graph that was way worse than yours (up and down every couple of seconds, 20 MiB/sec to 1 MiB/sec) before eventually giving up and staying around 1-2 MiB/sec permanently. Now I can download at 20 MiB/sec without breaking a sweat.

Share this post


Link to post

PS: I have just noticed at the top of the Networx graph photo you posted that it says 'All Wireless Connections'. Speed fluctuations like that can also be a wifi issue, so before anything I would try to use ethernet to rule out the wifi. If it works OK on ethernet you can save a lot of hassle tweaking and work on that (change channel, change channel widths, change PHY). If it still happens then you know it's probably a machine/disk/cache issue.

Share this post


Link to post

Guys I just wanted to update this thread. I found out the issue. It wasn't my HDD, SSD, CPU or RAM issue. It was my external USB Wireless adapter that kept dropping connections every few seconds. I got a new wireless adapter and it's been working flawlessly.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image

×
×
  • Create New...