How to give HTTP traffic higher priority? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election Results Why I closed the “Why is Kali so hard” questionRun process with higher priorityWays to give a process “idle” network priorityUse iptable do redirect all the HTTP traffic to localhostHow to measure network traffic usage?How disk IO priority is related with process priority?ipv6 rule priority duplicationGiving maximum priority to some trafficSquid + Squidguard - redirect http trafficLower priority thread appears to block higher priority thread?How to dump traffic without the usual tools like tcpdump?
Selecting user stories during sprint planning
Generate an RGB colour grid
An adverb for when you're not exaggerating
How do I make this wiring inside cabinet safer?
How to tell that you are a giant?
Is there a kind of relay only consumes power when switching?
Find 108 by using 3,4,6
How to write dimensions below a matrix
What is the meaning of the simile “quick as silk”?
Modified Intersection Puzzle
Chinese Seal on silk painting - what does it mean?
Has negative voting ever been officially implemented in elections, or seriously proposed, or even studied?
How to react to hostile behavior from a senior developer?
Benefits of using sObject.clone versus creating a new record
How do I use the new nonlinear finite element in Mathematica 12 for this equation?
How can I reduce the gap between left and right of cdot with a macro?
How do I find out the mythology and history of my Fortress?
What do you call the main part of a joke?
How to write the following sign?
Multiple OR (||) Conditions in If Statement
Should I use a zero-interest credit card for a large one-time purchase?
Does the Weapon Master feat grant you a fighting style?
What is the Characteristic of a local ring?
What does this Jacques Hadamard quote mean?
How to give HTTP traffic higher priority?
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
2019 Community Moderator Election Results
Why I closed the “Why is Kali so hard” questionRun process with higher priorityWays to give a process “idle” network priorityUse iptable do redirect all the HTTP traffic to localhostHow to measure network traffic usage?How disk IO priority is related with process priority?ipv6 rule priority duplicationGiving maximum priority to some trafficSquid + Squidguard - redirect http trafficLower priority thread appears to block higher priority thread?How to dump traffic without the usual tools like tcpdump?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
When I surf the web, I find that I have to pause my BitTorrent client, to help improve the painfully slow speed (I'm sadly on a 384kbps line). It's not too nice to have to do this manually every time.
Please show me the magic button, the one which I only need to press once in order to be blessed with speedier, higher-priority surfing, where the torrents speed take a backseat, only to resume to full speed once my web-surfing is over.
[FYI] NetworkManager manages my network, and Transmission is my BitTorrent client.
linux networking bittorrent
add a comment |
When I surf the web, I find that I have to pause my BitTorrent client, to help improve the painfully slow speed (I'm sadly on a 384kbps line). It's not too nice to have to do this manually every time.
Please show me the magic button, the one which I only need to press once in order to be blessed with speedier, higher-priority surfing, where the torrents speed take a backseat, only to resume to full speed once my web-surfing is over.
[FYI] NetworkManager manages my network, and Transmission is my BitTorrent client.
linux networking bittorrent
4
There's not a simple solution to this. Giving higher priority to http traffic will slightly improve things, but your best bet would be to just throttle your torrent client.
– Falmarri
Dec 30 '10 at 0:17
add a comment |
When I surf the web, I find that I have to pause my BitTorrent client, to help improve the painfully slow speed (I'm sadly on a 384kbps line). It's not too nice to have to do this manually every time.
Please show me the magic button, the one which I only need to press once in order to be blessed with speedier, higher-priority surfing, where the torrents speed take a backseat, only to resume to full speed once my web-surfing is over.
[FYI] NetworkManager manages my network, and Transmission is my BitTorrent client.
linux networking bittorrent
When I surf the web, I find that I have to pause my BitTorrent client, to help improve the painfully slow speed (I'm sadly on a 384kbps line). It's not too nice to have to do this manually every time.
Please show me the magic button, the one which I only need to press once in order to be blessed with speedier, higher-priority surfing, where the torrents speed take a backseat, only to resume to full speed once my web-surfing is over.
[FYI] NetworkManager manages my network, and Transmission is my BitTorrent client.
linux networking bittorrent
linux networking bittorrent
edited Jan 19 '11 at 12:08
Tshepang
asked Dec 29 '10 at 23:23
TshepangTshepang
26.6k72188265
26.6k72188265
4
There's not a simple solution to this. Giving higher priority to http traffic will slightly improve things, but your best bet would be to just throttle your torrent client.
– Falmarri
Dec 30 '10 at 0:17
add a comment |
4
There's not a simple solution to this. Giving higher priority to http traffic will slightly improve things, but your best bet would be to just throttle your torrent client.
– Falmarri
Dec 30 '10 at 0:17
4
4
There's not a simple solution to this. Giving higher priority to http traffic will slightly improve things, but your best bet would be to just throttle your torrent client.
– Falmarri
Dec 30 '10 at 0:17
There's not a simple solution to this. Giving higher priority to http traffic will slightly improve things, but your best bet would be to just throttle your torrent client.
– Falmarri
Dec 30 '10 at 0:17
add a comment |
4 Answers
4
active
oldest
votes
As already said, there is no button "Give me fast surfing" somewhere on your desktop. What you want is traffic shaping which is possible with Linux.
For the complete introduction, you can read these tutorials:
Linux Advanced Routing & Traffic Control- Traffic Control HOWTO
- tc: Linux HTTP Outgoing Traffic Shaping (Port 80 Traffic Shaping)
But I think you are searching for something more like these:
- The Wonder Shaper
- MasterShaper
These are scripts which will do the work for you.
add a comment |
If you don't want to spend too much time configuring a traffic shaper, try the transmission
builtin temporary speed limit feature (which can also be scheduled).
You can activate or deactivate it over the indicator applet.
This is what I do but the OP specifically mentioned in his post that he does not want to do this every time i.e., he is looking for a permanent solution.
– 6pack kid
Jan 19 '11 at 13:06
The OP edited that in after my answer.
– wag
Jan 19 '11 at 13:52
@6pack is correct. This was my requirement from the beginning (check the initial revision). I think I edited my question to make this requirement clearer (probably as a reaction to your answer).
– Tshepang
Jan 22 '11 at 20:50
add a comment |
An alternative simple solution could be to use the QoS of your router (Quality of Service), this may allow you to give higher priority to certain protocols (i.e. HTTP/HTTPS).
If you don't have QoS on your router the only way are the one explained above.
One more link:
http://www.andybev.com/index.php/Fair_traffic_shaping_an_ADSL_line_for_a_local_network_using_Linux
Be aware that if you give high priority to HTTP or HTTPS, then, almost probably, your torrent won't work anymore, this is because many applications use the HTTP protocol to exchange data over the network, so there will be always something matching the iptable rule.
I'd rather advice to use a Command line version of bittorrent, like rtorrent, this way you can write a simple shell script that will change the torrent download throttle and then execute firefox (or whatever).
You can also stop rtorrent downloading after certain conditions.
https://wiki.archlinux.org/index.php/RTorrent
http://superuser.com/questions/180866/configure-rtorrent-to-stop-downloading-after-a-certain-file-size
http://libtorrent.rakshasa.no/
Sadly, my router doesn't do QoS for wi-fi.
– Tshepang
Feb 23 '11 at 9:23
What if you don't have a router?
– CMCDragonkai
Jul 21 '14 at 12:19
Has been answered above. Read thorough the whole thread.
– tmow
Jul 21 '14 at 18:45
add a comment |
It's easy: don't saturate your upload, so limit your torrent client's upload limit to about 50% of your total upload bandwidth.
Is it possible to shape the download?
– CMCDragonkai
Jul 21 '14 at 12:20
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f5231%2fhow-to-give-http-traffic-higher-priority%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
As already said, there is no button "Give me fast surfing" somewhere on your desktop. What you want is traffic shaping which is possible with Linux.
For the complete introduction, you can read these tutorials:
Linux Advanced Routing & Traffic Control- Traffic Control HOWTO
- tc: Linux HTTP Outgoing Traffic Shaping (Port 80 Traffic Shaping)
But I think you are searching for something more like these:
- The Wonder Shaper
- MasterShaper
These are scripts which will do the work for you.
add a comment |
As already said, there is no button "Give me fast surfing" somewhere on your desktop. What you want is traffic shaping which is possible with Linux.
For the complete introduction, you can read these tutorials:
Linux Advanced Routing & Traffic Control- Traffic Control HOWTO
- tc: Linux HTTP Outgoing Traffic Shaping (Port 80 Traffic Shaping)
But I think you are searching for something more like these:
- The Wonder Shaper
- MasterShaper
These are scripts which will do the work for you.
add a comment |
As already said, there is no button "Give me fast surfing" somewhere on your desktop. What you want is traffic shaping which is possible with Linux.
For the complete introduction, you can read these tutorials:
Linux Advanced Routing & Traffic Control- Traffic Control HOWTO
- tc: Linux HTTP Outgoing Traffic Shaping (Port 80 Traffic Shaping)
But I think you are searching for something more like these:
- The Wonder Shaper
- MasterShaper
These are scripts which will do the work for you.
As already said, there is no button "Give me fast surfing" somewhere on your desktop. What you want is traffic shaping which is possible with Linux.
For the complete introduction, you can read these tutorials:
Linux Advanced Routing & Traffic Control- Traffic Control HOWTO
- tc: Linux HTTP Outgoing Traffic Shaping (Port 80 Traffic Shaping)
But I think you are searching for something more like these:
- The Wonder Shaper
- MasterShaper
These are scripts which will do the work for you.
edited Oct 10 '14 at 21:03
gene_wood
1054
1054
answered Dec 30 '10 at 10:19
ChristianChristian
1,21677
1,21677
add a comment |
add a comment |
If you don't want to spend too much time configuring a traffic shaper, try the transmission
builtin temporary speed limit feature (which can also be scheduled).
You can activate or deactivate it over the indicator applet.
This is what I do but the OP specifically mentioned in his post that he does not want to do this every time i.e., he is looking for a permanent solution.
– 6pack kid
Jan 19 '11 at 13:06
The OP edited that in after my answer.
– wag
Jan 19 '11 at 13:52
@6pack is correct. This was my requirement from the beginning (check the initial revision). I think I edited my question to make this requirement clearer (probably as a reaction to your answer).
– Tshepang
Jan 22 '11 at 20:50
add a comment |
If you don't want to spend too much time configuring a traffic shaper, try the transmission
builtin temporary speed limit feature (which can also be scheduled).
You can activate or deactivate it over the indicator applet.
This is what I do but the OP specifically mentioned in his post that he does not want to do this every time i.e., he is looking for a permanent solution.
– 6pack kid
Jan 19 '11 at 13:06
The OP edited that in after my answer.
– wag
Jan 19 '11 at 13:52
@6pack is correct. This was my requirement from the beginning (check the initial revision). I think I edited my question to make this requirement clearer (probably as a reaction to your answer).
– Tshepang
Jan 22 '11 at 20:50
add a comment |
If you don't want to spend too much time configuring a traffic shaper, try the transmission
builtin temporary speed limit feature (which can also be scheduled).
You can activate or deactivate it over the indicator applet.
If you don't want to spend too much time configuring a traffic shaper, try the transmission
builtin temporary speed limit feature (which can also be scheduled).
You can activate or deactivate it over the indicator applet.
answered Jan 18 '11 at 20:51
wagwag
25.8k65548
25.8k65548
This is what I do but the OP specifically mentioned in his post that he does not want to do this every time i.e., he is looking for a permanent solution.
– 6pack kid
Jan 19 '11 at 13:06
The OP edited that in after my answer.
– wag
Jan 19 '11 at 13:52
@6pack is correct. This was my requirement from the beginning (check the initial revision). I think I edited my question to make this requirement clearer (probably as a reaction to your answer).
– Tshepang
Jan 22 '11 at 20:50
add a comment |
This is what I do but the OP specifically mentioned in his post that he does not want to do this every time i.e., he is looking for a permanent solution.
– 6pack kid
Jan 19 '11 at 13:06
The OP edited that in after my answer.
– wag
Jan 19 '11 at 13:52
@6pack is correct. This was my requirement from the beginning (check the initial revision). I think I edited my question to make this requirement clearer (probably as a reaction to your answer).
– Tshepang
Jan 22 '11 at 20:50
This is what I do but the OP specifically mentioned in his post that he does not want to do this every time i.e., he is looking for a permanent solution.
– 6pack kid
Jan 19 '11 at 13:06
This is what I do but the OP specifically mentioned in his post that he does not want to do this every time i.e., he is looking for a permanent solution.
– 6pack kid
Jan 19 '11 at 13:06
The OP edited that in after my answer.
– wag
Jan 19 '11 at 13:52
The OP edited that in after my answer.
– wag
Jan 19 '11 at 13:52
@6pack is correct. This was my requirement from the beginning (check the initial revision). I think I edited my question to make this requirement clearer (probably as a reaction to your answer).
– Tshepang
Jan 22 '11 at 20:50
@6pack is correct. This was my requirement from the beginning (check the initial revision). I think I edited my question to make this requirement clearer (probably as a reaction to your answer).
– Tshepang
Jan 22 '11 at 20:50
add a comment |
An alternative simple solution could be to use the QoS of your router (Quality of Service), this may allow you to give higher priority to certain protocols (i.e. HTTP/HTTPS).
If you don't have QoS on your router the only way are the one explained above.
One more link:
http://www.andybev.com/index.php/Fair_traffic_shaping_an_ADSL_line_for_a_local_network_using_Linux
Be aware that if you give high priority to HTTP or HTTPS, then, almost probably, your torrent won't work anymore, this is because many applications use the HTTP protocol to exchange data over the network, so there will be always something matching the iptable rule.
I'd rather advice to use a Command line version of bittorrent, like rtorrent, this way you can write a simple shell script that will change the torrent download throttle and then execute firefox (or whatever).
You can also stop rtorrent downloading after certain conditions.
https://wiki.archlinux.org/index.php/RTorrent
http://superuser.com/questions/180866/configure-rtorrent-to-stop-downloading-after-a-certain-file-size
http://libtorrent.rakshasa.no/
Sadly, my router doesn't do QoS for wi-fi.
– Tshepang
Feb 23 '11 at 9:23
What if you don't have a router?
– CMCDragonkai
Jul 21 '14 at 12:19
Has been answered above. Read thorough the whole thread.
– tmow
Jul 21 '14 at 18:45
add a comment |
An alternative simple solution could be to use the QoS of your router (Quality of Service), this may allow you to give higher priority to certain protocols (i.e. HTTP/HTTPS).
If you don't have QoS on your router the only way are the one explained above.
One more link:
http://www.andybev.com/index.php/Fair_traffic_shaping_an_ADSL_line_for_a_local_network_using_Linux
Be aware that if you give high priority to HTTP or HTTPS, then, almost probably, your torrent won't work anymore, this is because many applications use the HTTP protocol to exchange data over the network, so there will be always something matching the iptable rule.
I'd rather advice to use a Command line version of bittorrent, like rtorrent, this way you can write a simple shell script that will change the torrent download throttle and then execute firefox (or whatever).
You can also stop rtorrent downloading after certain conditions.
https://wiki.archlinux.org/index.php/RTorrent
http://superuser.com/questions/180866/configure-rtorrent-to-stop-downloading-after-a-certain-file-size
http://libtorrent.rakshasa.no/
Sadly, my router doesn't do QoS for wi-fi.
– Tshepang
Feb 23 '11 at 9:23
What if you don't have a router?
– CMCDragonkai
Jul 21 '14 at 12:19
Has been answered above. Read thorough the whole thread.
– tmow
Jul 21 '14 at 18:45
add a comment |
An alternative simple solution could be to use the QoS of your router (Quality of Service), this may allow you to give higher priority to certain protocols (i.e. HTTP/HTTPS).
If you don't have QoS on your router the only way are the one explained above.
One more link:
http://www.andybev.com/index.php/Fair_traffic_shaping_an_ADSL_line_for_a_local_network_using_Linux
Be aware that if you give high priority to HTTP or HTTPS, then, almost probably, your torrent won't work anymore, this is because many applications use the HTTP protocol to exchange data over the network, so there will be always something matching the iptable rule.
I'd rather advice to use a Command line version of bittorrent, like rtorrent, this way you can write a simple shell script that will change the torrent download throttle and then execute firefox (or whatever).
You can also stop rtorrent downloading after certain conditions.
https://wiki.archlinux.org/index.php/RTorrent
http://superuser.com/questions/180866/configure-rtorrent-to-stop-downloading-after-a-certain-file-size
http://libtorrent.rakshasa.no/
An alternative simple solution could be to use the QoS of your router (Quality of Service), this may allow you to give higher priority to certain protocols (i.e. HTTP/HTTPS).
If you don't have QoS on your router the only way are the one explained above.
One more link:
http://www.andybev.com/index.php/Fair_traffic_shaping_an_ADSL_line_for_a_local_network_using_Linux
Be aware that if you give high priority to HTTP or HTTPS, then, almost probably, your torrent won't work anymore, this is because many applications use the HTTP protocol to exchange data over the network, so there will be always something matching the iptable rule.
I'd rather advice to use a Command line version of bittorrent, like rtorrent, this way you can write a simple shell script that will change the torrent download throttle and then execute firefox (or whatever).
You can also stop rtorrent downloading after certain conditions.
https://wiki.archlinux.org/index.php/RTorrent
http://superuser.com/questions/180866/configure-rtorrent-to-stop-downloading-after-a-certain-file-size
http://libtorrent.rakshasa.no/
edited 21 hours ago
Rui F Ribeiro
42.2k1484142
42.2k1484142
answered Jan 24 '11 at 12:33
tmowtmow
1,1131017
1,1131017
Sadly, my router doesn't do QoS for wi-fi.
– Tshepang
Feb 23 '11 at 9:23
What if you don't have a router?
– CMCDragonkai
Jul 21 '14 at 12:19
Has been answered above. Read thorough the whole thread.
– tmow
Jul 21 '14 at 18:45
add a comment |
Sadly, my router doesn't do QoS for wi-fi.
– Tshepang
Feb 23 '11 at 9:23
What if you don't have a router?
– CMCDragonkai
Jul 21 '14 at 12:19
Has been answered above. Read thorough the whole thread.
– tmow
Jul 21 '14 at 18:45
Sadly, my router doesn't do QoS for wi-fi.
– Tshepang
Feb 23 '11 at 9:23
Sadly, my router doesn't do QoS for wi-fi.
– Tshepang
Feb 23 '11 at 9:23
What if you don't have a router?
– CMCDragonkai
Jul 21 '14 at 12:19
What if you don't have a router?
– CMCDragonkai
Jul 21 '14 at 12:19
Has been answered above. Read thorough the whole thread.
– tmow
Jul 21 '14 at 18:45
Has been answered above. Read thorough the whole thread.
– tmow
Jul 21 '14 at 18:45
add a comment |
It's easy: don't saturate your upload, so limit your torrent client's upload limit to about 50% of your total upload bandwidth.
Is it possible to shape the download?
– CMCDragonkai
Jul 21 '14 at 12:20
add a comment |
It's easy: don't saturate your upload, so limit your torrent client's upload limit to about 50% of your total upload bandwidth.
Is it possible to shape the download?
– CMCDragonkai
Jul 21 '14 at 12:20
add a comment |
It's easy: don't saturate your upload, so limit your torrent client's upload limit to about 50% of your total upload bandwidth.
It's easy: don't saturate your upload, so limit your torrent client's upload limit to about 50% of your total upload bandwidth.
edited Jul 9 '14 at 18:01
Tshepang
26.6k72188265
26.6k72188265
answered Jan 19 '11 at 8:34
weeheavyweeheavy
21113
21113
Is it possible to shape the download?
– CMCDragonkai
Jul 21 '14 at 12:20
add a comment |
Is it possible to shape the download?
– CMCDragonkai
Jul 21 '14 at 12:20
Is it possible to shape the download?
– CMCDragonkai
Jul 21 '14 at 12:20
Is it possible to shape the download?
– CMCDragonkai
Jul 21 '14 at 12:20
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f5231%2fhow-to-give-http-traffic-higher-priority%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
-bittorrent, linux, networking
4
There's not a simple solution to this. Giving higher priority to http traffic will slightly improve things, but your best bet would be to just throttle your torrent client.
– Falmarri
Dec 30 '10 at 0:17