Networking Forums

Networking Forums > Computer Networking > Linux Networking > Squid limiting upload bandwidth

Reply
Thread Tools Display Modes

Squid limiting upload bandwidth

 
 
dixi125@wp.pl
Guest
Posts: n/a

 
      12-29-2005, 11:09 AM
Hi !

I have a Linux server and squid 2.5 transparent proxy. I'm limiting
traffic with HTB and everything is working fine.
When someone on the network sends big file (webmail) over HTTP it takes
all upload bandwitch. I think how to solve this:
- limit with HTB, but this will limit all users (while one is uploading
others will work slowly)
- limit with delay_pools, posible but i want upload to be 2-3 time
slower than download
- set small value to request_body_max_size but it will block sending
files over HTTP which i don't wan't.

Does anybody know how to slowdown upload transfers through squid ?

Best regards
Dixi

 
Reply With Quote
 
 
 
 
Scott R. Haven
Guest
Posts: n/a

 
      01-02-2006, 01:22 PM
(E-Mail Removed) wrote:
> Hi !
>
> I have a Linux server and squid 2.5 transparent proxy. I'm limiting
> traffic with HTB and everything is working fine.
> When someone on the network sends big file (webmail) over HTTP it takes
> all upload bandwitch. I think how to solve this:
> - limit with HTB, but this will limit all users (while one is uploading
> others will work slowly)
> - limit with delay_pools, posible but i want upload to be 2-3 time
> slower than download
> - set small value to request_body_max_size but it will block sending
> files over HTTP which i don't wan't.
>
> Does anybody know how to slowdown upload transfers through squid ?
>
> Best regards
> Dixi
>


Dixi,


I don't with Squid, but with HTB you could adjust the priorities. Also
check your rates and ceil to make sure they add up and are lower then
upstream devices. The rates don't have to add up, but the ceils should.

You often don't the full upload bandwidth from cable or DSL. This will
lower the effectiveness of HTB.

You can also had a SFQ qdisc to increase "fairness"

If you have critical apps like VOIP and SSH you may want to lower the
ceil for everything else. This will improve lag a bit.

Scott R. Haven
Sr. Systems Engineer
Paisley Systems Inc.
www.paisleysystems.com

 
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
tc and bandwidth limiting: What am I doing wrong? Dances With Crows Linux Networking 7 06-15-2008 09:33 PM
bandwidth limiting vita Windows Networking 0 09-16-2006 06:42 AM
Limiting bandwidth Paul Wireless Networks 2 09-12-2006 08:47 AM
QoS and bandwidth limiting mneagul Linux Networking 0 08-04-2006 07:28 PM
Bandwidth limiting Ed Russell Linux Networking 1 02-09-2005 11:24 PM



1 2 3 4 5 6 7 8 9 10 11