LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-13-2016, 03:07 AM   #1
robertjinx
Member
 
Registered: Oct 2007
Location: Prague, CZ
Distribution: RedHat / CentOS / Ubuntu / SUSE / Debian
Posts: 749

Rep: Reputation: 73
rtorrent hogging the network


Hello, I've got a small machines connected to an LTE modem. The network works OK, but if I run rtorrent, to download something, even 50MB in size, the network connecting starts slowing down badly until the download is not finished. The connection suppose to be 40MB/s from the provider, which in most case it is, but using rtorrent seems to be too much. Is there a way to tune my machine to handle this a bit better?

So, the setup is: LTE modem -> server (rtorrent) -> Wifi -> clients

The server is handling all in internal clients, there is squid and bind for some caching, hoping it will handle the network a bit better, but doesn't seem to be like that.

The internet connection works crappy even on the server on which I run rtorrent, initially, was thinking is only the clients due to the hardware or others, but this more looking like rtorrent is taking too much bandwidth.

I did setup rtorrent to be a bit 'less' aggressive, but didn't help:

rtorrent.rc:
Code:
directory = /data/download
download_rate = 10000
upload_rate = 10
max_uploads = 1
Is there a way to tune the network from the kernel point of view to work somewhat better?
 
Old 12-13-2016, 04:44 PM   #2
coltree
Member
 
Registered: Nov 2003
Location: Jacobs Well, Queensland AU
Distribution: OpenBSD
Posts: 102
Blog Entries: 1

Rep: Reputation: 34
Torrents are notorious for hogging networks,
reduce torrent maximum download speed.
Or download your pron while you sleep.
 
Old 12-13-2016, 07:36 PM   #3
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by coltree View Post
Torrents are notorious for hogging networks,
reduce torrent maximum download speed.
Or download your pron while you sleep.
Nah I have run rtorrent for years and never had problem and I do some pretty heavy down/up at times. My money is on the wireless being problem or under powered server especially if the NIC is builtin those can be real CPU hog when you get good load on them. From the looks of his setup with wireless on both ends I see no way around the problems as it looks like no cabled in upgrade is possible. And that is the way to do it if you want full speed on your network the wireless is nothing but BS in my experience with it flaky as hell all the time.
 
Old 12-13-2016, 09:07 PM   #4
c0wb0y
Member
 
Registered: Jan 2012
Location: Inside the oven
Distribution: Windows
Posts: 421

Rep: Reputation: 74
The size of file you download has little to do with bandwith usage. Especially if million clients concurrently try to connect to you. You can try 'iftop' to observe the real-time bandwith usage.
 
Old 12-14-2016, 03:37 AM   #5
robertjinx
Member
 
Registered: Oct 2007
Location: Prague, CZ
Distribution: RedHat / CentOS / Ubuntu / SUSE / Debian
Posts: 749

Original Poster
Rep: Reputation: 73
Quote:
Originally Posted by coltree View Post
Torrents are notorious for hogging networks,
reduce torrent maximum download speed.
Or download your pron while you sleep.
For your info, I don't download pron, I watch it online, like normal people do.
 
Old 12-14-2016, 03:38 AM   #6
robertjinx
Member
 
Registered: Oct 2007
Location: Prague, CZ
Distribution: RedHat / CentOS / Ubuntu / SUSE / Debian
Posts: 749

Original Poster
Rep: Reputation: 73
Quote:
Originally Posted by c0wb0y View Post
The size of file you download has little to do with bandwith usage. Especially if million clients concurrently try to connect to you. You can try 'iftop' to observe the real-time bandwith usage.
Thanks, will do. I found some 'advanced' settings for rtorrent and will try them out too.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Rtorrent keyboard commands unresponsive when starting rtorrent in detached screen MheAd Linux - Software 1 09-05-2010 07:00 AM
CPU hogging. kirankumarburgu Programming 3 01-05-2009 11:02 AM
Ubuntu hogging company network yekibud Linux - Networking 8 12-30-2008 08:38 AM
squid hogging all available resources NuLLiFiEd Linux - Networking 1 12-06-2005 03:51 AM
What's hogging all my memory? cdavidson Linux - Newbie 5 03-29-2005 03:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration