March 29, 2024, 07:28:29 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: squid delay pools  (Read 12475 times)

Offline vasu

  • Linux Noob !
  • *
  • Posts: 19
squid delay pools
« on: February 26, 2004, 09:03:59 AM »
hi

  every one i used rh9.0 i configured squid it is working fine so i want now delay pools configuration each users and linux with how to it please help meee 8)

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
squid delay pools
« Reply #1 on: February 26, 2004, 10:08:52 AM »
Well..
In squid you can use delay pools to limit overall bandwidht of your network..
Other way is to limit bandwidht of somespecific files to certain rate..

Now I am giving you example which i think will help  you!!
Ok ..
Lets assume that you want to control the bandwidth of a client having ip of 192.168.1.34/255.255.255.0

Also squid uses bandwith in bytes to represent how much bandwidth to use..
So lets say you want to limit its bandwidth to 10kpbs then
Code: [Select]
acl user1 src 192.168.1.34/255.255.255.0
delay_pool_count 1
delay_class 1 1
delay_parameters 1 10/1280
delay_access 1 allow user1

BTW..  I  have not checked that delay pools.. Try that and tell me if it works corrctly..
Here delay_parameters tells that in delay pool 1 when he downloads a file of  10 byte then his bandwidth get reduced to 1280 bytes (10 kbitps > Check for the calculations.)

Offline vasu

  • Linux Noob !
  • *
  • Posts: 19
bandwidth controlle in linux throgh cbq
« Reply #2 on: March 04, 2004, 05:18:02 AM »
hi
 
   i  configured squd and firewall ip masquerading it is working fine.so now i want cbq configuration bandwidth limiting how to it please tell


  and tray to squid delay pools