Automatic speed limits when opening a browser

Feature requests not specific to either the Mac OS X or GTK+ versions of Transmission
Post Reply
Enrico
Posts: 2
Joined: Thu May 27, 2010 5:47 am

Automatic speed limits when opening a browser

Post by Enrico »

I'm italian, so be patient if my english isn't perfect :-)

I think it could be useful that Transmission sets upload&download limits automatically when the user opens a browser. When the browser is closed Transmission disable these limits.

i make an example:
- Transmission running without limits
- The user opens Firefox/IE/Opera etc
- Transmission sets upload and download limits automatically
- The user close the browser
- Transmission removes the limits

Obviously this feature can be activated/diactivated in the settings.

Do you think it can be done easily? Can it be useful in your opinion?
WLS
Posts: 20
Joined: Sun Nov 22, 2009 12:23 am

Re: Automatic speed limits when opening a browser

Post by WLS »

It already exists, and it is called temporary speed limits.
:idea:
Set your temporary speeds in preferences.
Go to transmission, click on the little turtle in the bottom left corner, before you open your browser.
Open browser.
After closing browser, click little turtle again to resume normal speeds.
lazybones
Posts: 220
Joined: Sun Jan 24, 2010 12:41 am

Re: Automatic speed limits when opening a browser

Post by lazybones »

I think he is asking that it do it as soon as a browser windows opens, and not be a manual change.

It seems like a good idea to me for the Desktop versions of Transmission.
Enrico
Posts: 2
Joined: Thu May 27, 2010 5:47 am

Re: Automatic speed limits when opening a browser

Post by Enrico »

Of course, i know that we can do it manually with temporary limits, but i was thinking about something automatic. You don't need to care about Transmission and it does all automatically when you open a browser. :-)
WLS
Posts: 20
Joined: Sun Nov 22, 2009 12:23 am

Re: Automatic speed limits when opening a browser

Post by WLS »

How lazy people can be :!:
WLS
Posts: 20
Joined: Sun Nov 22, 2009 12:23 am

Re: Automatic speed limits when opening a browser

Post by WLS »

lazybones wrote:I think he is asking that it do it as soon as a browser windows opens, and not be a manual change.

It seems like a good idea to me for the Desktop versions of Transmission.
I know he's asking for it to be done as soon as a browser opens.

But really you could be clicking the turtle while the browser opens, How long does it take? Maybe about as long as it would take Transmission to go "Oh look, a browser window is opening, should I reduce speeds? Yes, reduce speed, tell transmission to reduce speed, transmission reduces speed. Would transmission have to identify what browser is opening first? Probably.
:lol:
badmofo666
Posts: 2
Joined: Sat Jun 12, 2010 8:06 am

Re: Automatic speed limits when opening a browser

Post by badmofo666 »

I think a general Auto-Speed feature would be very helpful. That way, Transmission would run near wide-open when there's not much traffic on the network, and when someone starts browsing the web, streaming video, etc... it would throttle itself down. I know Azureus has had this for a while, so I know it's possible (didn't work very well the last time I used it though). I believe that Azureus pings other peers and monitors changes in response time. There may be other ways to do it though, I'm not a network expert. I'm sure there are plenty of papers written about it.
blacke4dawn
Posts: 552
Joined: Sun Dec 13, 2009 10:44 pm

Re: Automatic speed limits when opening a browser

Post by blacke4dawn »

The problem here is keeping a list of every browser and what not that may be used over the internet. And honestly, if they do it for browsers then why not for online games, dedicated streaming apps and other programs.
Also, this wouldn't help those that have transmission on another ("home" server or those embedded systems) machine.

You can effectively get it done already by using launch-scripts:

Code: Select all

transmission-remote -as
<insert program>
transmission-remote -AS
Rolcol
Posts: 337
Joined: Sun Aug 10, 2008 8:00 am

Re: Automatic speed limits when opening a browser

Post by Rolcol »

Why not use an application like Turtlematic?

http://www.soyasoftware.com/?turtlematic
Note: I haven't used this. Don't ask me for help.
irotjaf
Posts: 1
Joined: Sat Jul 17, 2010 5:55 pm

Re: Automatic speed limits when opening a browser

Post by irotjaf »

Hi, just opened this forum to ask exactly the same question.

First, people are not lazy. Remembering that I have to open Transmission and press a button each time I surf internet is crazy. Not to mention the fact that several people use the network and cannot tell everybody to open Transmission each time they want to surf internet.

Second, I thought of various solutions. First of a script to run on Windows sturtup to limit torrent speeds on the NAS and another script on shutdown to remove the limit. This is not a good idea anyway, I can leave the computer on day and night, why limit the speed of torrents just because a computer is on. Then, I thought of a browser script, something like Turtlematic, which seem to have been created (niceee). However, this is not a good solution. I leave browsers open with a lot of tabs in it, and close them at the end of day, why should Transmission run slower for this? So, third idea, let's have a software that detects you computer activity (smth like the Skype icon changing when you are not there for 5 minutes) and removes the speed limit when nobody is using the computer. This idea is still a bad solution since I may be watching a movie from internet without interacting with the computer, still needing bandwidth to watch. Fourth proposal, let's have a script that measures how much bandwidth my computer is using and limit the speed of the remote Transmission accordingly. This would be the nearest solution of what we need. However, this is still a partial solution. In case you have have three computers, each of them will measure its local bandwidth and send commands to Transmission without taking care for the others.

A theoretically good solution I've read around is using QoS service in the router, which prioritize the traffic to and from a certain internal IP (the computers) as opposed to others (the network attached storage with transmission in it). I don't have QoS in my router though, and cannot tell if this works. But if it does, this would be the betst way to deal with Transmission when its parked on a NAS device.

Ok, any more idea or solutions to this?

P.s. For "unlazies": computers are made to serve people, not people to serve computers. Thats why simple automatic things should be done by computers and leave people free to create new stuff instead of clicking the turtle each time they have to surf internet. :)
norz
Posts: 1
Joined: Sat Jun 25, 2011 1:00 pm

Re: Automatic speed limits when opening a browser

Post by norz »

I guess you could use something like ScriptSaver to automatically disable limits when the screensaver starts.
You would still have to check for other programs running, eg: streaming apps such Spotify that wouldn't have enough download bandwidth if Transmission is at full upload speed. (On a ADSL connexion that is.)
Post Reply