Post by aAnswer to all.
With your solutions all network get that download speed.
I need to limit download speed of just one firefox tab or just one
firefox window.
Other open firefox tabs/windows must work with full download speed.
Is it possible to do this?
I could see it happening with Firefox for the first download,
Chrome for the second download, Wget for the third download,
Konqueror for the fourth download.
I don't see how policing individual connections within Firefox
would work, unless you can get a plugin for Firefox to do it.
Firefox already has its own internal policy, as to how it should
treat the set of connections fairly. Any time you have four
different downloads happening in Download Manager, take a look
at the bandwidth each connection gets, to see how it's "regulating"
them. There is a policy evident, and it isn't random. You would
be looking for a plugin which could modify that policy, in an
intelligent way.
And I don't know whether Netflix has a way to signal to a browser,
that it needs more of the total link than the other browser activities.
There's this, but I don't know how many applications would know
about it, and what home routers would support it (diffserv , QOS).
https://en.wikipedia.org/wiki/Differentiated_services
There is a crude way of achieving a management objective, just
with the number of connections. The router tries to treat them
round robin. If one computer opens ten connections in parallel
to download a file, and a second computer opens one connection
to do the same thing, the first computer gets 10/11 of the
link, and the second computer gets 1/11 of the link. I've already
experienced this here on my router, where one stupid program does
that, and virtually freezes out all the other computers. I can't
do a damn thing until it finishes.
But opening an arbitrary number of connections in parallel, is not
a feature every protocol or program has. Some will not have the
protocol features to do that.
I think I may have used wget once, on purpose, to "boost" the
priority of a certain download. A web site was giving me 60KB/sec,
and I did the math and figured out eight connections would max
the link, and the site I was downloading from, let me open those
eight connections. And it "maxxed" my link at the time (low end ADSL).
I thought it was pretty crazy for that server to set such a
low bandwidth per connection (it was using "regulated" connections),
yet allow users to open an arbitrary number of connections in parallel.
I didn't try setting a larger number of connections in parallel,
because I was pretty darn happy at the time, to cut my download
time by a factor of eight. This was the first time I'd ever
seen a browser tell me it would take "more than 24 hours" to do
the download I wanted. And by running eight connections in parallel
to download one file (using Wget instead of Firefox), the time
dropped to only three hours or so.
And you could do that with, say, two copies of wget. Open N connections
with one copy, open M connections with the other, and achieve an
unequal effective download speed for each one. However, there would be
absolutely no desirable balance with respect to any other program. If
you ran Firefox at that point, surfing would be dog slow, with Firefox
only getting 1/(1+N+M) of the link. I'm only mentioning that method
for the sake of completeness. It's not a practical method.
Paul