Squid Best Performance Tune Up Configuration
Squid Best Performance Tune Up Configuration
Hi AssalamOaleKum ALL Members
I have Configured My Linux Box I m using Linux 8.0 with the squid2.4stable7 and it is running fine but is there ne thing or ne add script to make my squid Perform towards my network best and if there is any such configuration so let me know I wuld b thankful.
With THanks
Beloshi
I have Configured My Linux Box I m using Linux 8.0 with the squid2.4stable7 and it is running fine but is there ne thing or ne add script to make my squid Perform towards my network best and if there is any such configuration so let me know I wuld b thankful.
With THanks
Beloshi
Do Bad and Remember, Do Good n Forget!
-
- Lieutenant Colonel
- Posts: 660
- Joined: Sat Jul 06, 2002 12:35 pm
- Location: Islamabad
- Contact:
put in loads of ram i mean at least 512 MB and then configure squid to use about 350-400 of it assuming that this system is for caching only and doing no other memory intensive task. you can also use heap GDSF policy. also you can locate the cache directroy on a raid volume(raid 0) or atleast on a separate disk than the OS. These steps will sure help.
Regards
-Zaeem
Regards
-Zaeem
-
- Havaldaar
- Posts: 105
- Joined: Thu Dec 25, 2003 2:31 pm
how many client do u have ?
use Reiserfs file on cache directory aslo improvement
this link may be helpful
http://www.devshed.com/c/a/Administrati ... ith-Squid/
Regards
use Reiserfs file on cache directory aslo improvement
this link may be helpful
http://www.devshed.com/c/a/Administrati ... ith-Squid/
Regards
Thanks a Lot zaeem and Kernel-trap for ur reply and zaeem i have already 512Mb ram and seperate cache partition abt 25GB of /cache drive
and i will surely look forward for Raid but not yet cause the Number of Clients on ma Half are abt 100 i know that from some hardware i can gain more performance than ne thing but the squid thing in wich additional settin is required to work more perfect and secure if there are more solutions then let me know abt it i wuld appericiate
Thanks
BeLoSHi
and i will surely look forward for Raid but not yet cause the Number of Clients on ma Half are abt 100 i know that from some hardware i can gain more performance than ne thing but the squid thing in wich additional settin is required to work more perfect and secure if there are more solutions then let me know abt it i wuld appericiate
Thanks
BeLoSHi
Do Bad and Remember, Do Good n Forget!
-
- Lieutenant Colonel
- Posts: 660
- Joined: Sat Jul 06, 2002 12:35 pm
- Location: Islamabad
- Contact:
-
- Major General
- Posts: 917
- Joined: Thu Jun 27, 2002 5:45 pm
- Location: Karachi
- Contact:
arhantoqeer i have mentioned it before i have 100 users Running .... My setup scenerio is Like dat ... I have a Radio Link of 128 symetric pipe up and down Both and its All running very smothely but if there r additional tune Up for ma Linux Box Squid Conf then Let me Know.
and abt Reiserfs partition thanks to kernel-trap it was really a nice suggestion but i have to built ma Box again and it will cost me Loss of ma 16 GB cache but never mind i will try it thou smtime ...
Thanks
BeLoShI
and abt Reiserfs partition thanks to kernel-trap it was really a nice suggestion but i have to built ma Box again and it will cost me Loss of ma 16 GB cache but never mind i will try it thou smtime ...
Thanks
BeLoShI
Do Bad and Remember, Do Good n Forget!
-
- Havaldaar
- Posts: 105
- Joined: Thu Dec 25, 2003 2:31 pm
Beloshi wrote:arhantoqeer i have mentioned it before i have 100 users Running .... My setup scenerio is Like dat ... I have a Radio Link of 128 symetric pipe up and down Both and its All running very smothely but if there r additional tune Up for ma Linux Box Squid Conf then Let me Know.
and abt Reiserfs partition thanks to kernel-trap it was really a nice suggestion but i have to built ma Box again and it will cost me Loss of ma 16 GB cache but never mind i will try it thou smtime ...
Thanks
BeLoShI
move your all directories in /cache partition to some other partition
format the /cache with reiserfs and put the cache directories back
if u dont have much disk space on other partition try ziping it like
[root@Cache5 cache]#zip cache.zip * ( will zip all directories)
ok then unzip it after /cache is formatt with reisferfs
Regards
squid Tweeking
Sallam All!
Dear Beloshi i am not an experienced user like others are.But i think may be one clue from me can help you.U didn't tell r u using UFs or Diskd for your cahce directory.If ufs then compile Squid with Diskd and i think it would let you feel the difference.Also play a little with refresh_pattern i-e increase the minimum value from 0 to like 5 or 10.
If i am wrong at somewhere please Guys guide me as i am doing all this on my own without any theory or class.So i tell what i think is correct.
Thanks~!
Dear Beloshi i am not an experienced user like others are.But i think may be one clue from me can help you.U didn't tell r u using UFs or Diskd for your cahce directory.If ufs then compile Squid with Diskd and i think it would let you feel the difference.Also play a little with refresh_pattern i-e increase the minimum value from 0 to like 5 or 10.
If i am wrong at somewhere please Guys guide me as i am doing all this on my own without any theory or class.So i tell what i think is correct.
Thanks~!
-
- Site Admin
- Posts: 5132
- Joined: Fri May 02, 2003 10:24 am
- Location: Karachi
- Contact:
Re:
Dear Beloshi,
Salam,
There are many thing and lots of way to implement what ever you want. but you must know what you need and how can you do this. kindly check this http://squid.visolve.com/squid24s1/contents.htm
Best Regards.
Salam,
There are many thing and lots of way to implement what ever you want. but you must know what you need and how can you do this. kindly check this http://squid.visolve.com/squid24s1/contents.htm
Best Regards.
Farrukh Ahmed
-
- Cadet
- Posts: 13
- Joined: Fri May 21, 2004 3:56 pm
- Location: Mardan
- Contact:
Hello every one am new to this linux pakistan forum and whil reading squid tune up instructions i came to know that sombody suggested using RAID as far as my experience goes RAID is a killer for squid performance.
------------------------------------------------
If windows were to be an animal, it would have been a fainting goat.............
If windows were to be an animal, it would have been a fainting goat.............
-
- Lieutenant Colonel
- Posts: 660
- Joined: Sat Jul 06, 2002 12:35 pm
- Location: Islamabad
- Contact:
Any reasons for that?? What RAID configuration are you talking about.dandywalisarkar wrote:Hello every one am new to this linux pakistan forum and whil reading squid tune up instructions i came to know that sombody suggested using RAID as far as my experience goes RAID is a killer for squid performance.
-Zaeem
-
- Cadet
- Posts: 13
- Joined: Fri May 21, 2004 3:56 pm
- Location: Mardan
- Contact:
yeps the main reason for that is squid performs many read writes per second which comes as a bottle neck when RAID any RAID is considered none of the squid developers or squid configurators prefer using RAID in my personal opinion using RAID creates a Total cost os ownsership problem along with the read write bottle necks:)
------------------------------------------------
If windows were to be an animal, it would have been a fainting goat.............
If windows were to be an animal, it would have been a fainting goat.............
-
- Lieutenant Colonel
- Posts: 660
- Joined: Sat Jul 06, 2002 12:35 pm
- Location: Islamabad
- Contact:
many reads/writes per second means that a single IDE is a bottle neck while a RAID 0 configuration is a lot better. Nevertheless i will check out squid developer's mailing list to see if such an issue has been reported. Can you point me to a link where you read that statement.dandywalisarkar wrote:yeps the main reason for that is squid performs many read writes per second which comes as a bottle neck when RAID any RAID is considered none of the squid developers or squid configurators prefer using RAID in my personal opinion using RAID creates a Total cost os ownsership problem along with the read write bottle necks:)
Regards
Zaeem