LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-10-2009, 03:38 PM   #1
nima0102
Member
 
Registered: Nov 2006
Posts: 209

Rep: Reputation: 30
Squid "increase Hit percentage"


Hi everybody
I want to tune my squid service in order to increase Hit percentage and I have more bandwidth saving.may you guide me for this purpose ?
thanks for any help
 
Old 02-10-2009, 03:47 PM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
squid has an option to also use the proxy from your provider or another external proxy in addition
squid => external proxy => internet
the hit percentage of these are bigger than yours
take a look in the squid faq
 
Old 02-11-2009, 03:30 AM   #3
nima0102
Member
 
Registered: Nov 2006
Posts: 209

Original Poster
Rep: Reputation: 30
thanks for your attention
good trick.Can you give me more tricks about increasing Hit and performance of squid ??
thanks for any help or guidance
 
Old 02-11-2009, 05:32 AM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
you need to create the hits your self, so surf a lot :-)
Perhaps use an external proxy, since these have many users.
 
Old 02-12-2009, 04:51 AM   #5
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
(Vaguely) this question has been asked before. I know, 'cos last time i answered it I got it wrong (slightly). I would suggest these steps.
  • Monitor your hit rate
  • Adjust config
  • Monitor your hit rate

When adjust the config, look at http://www.linux.com/feature/153221. The trouble is, most of the things that you can do to increase the hit rate described in the article ae in danger of breaking something, whether that is an RFC or your user's browsing experience. It is up to you to decide to what extent you are prepared to take that risk (and you may want to take into account whether your users are prepared to force a page reload occasionally).

Oh, and there is also adjusting the memory size appropriately, but for that you also have to monitor your hit rate...
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Survey: Increase in "mission critical" Ubuntu Server use LXer Syndicated Linux News 0 02-08-2009 05:10 AM
Is there a trend with "hit and run" threads? pixellany LQ Suggestions & Feedback 9 04-10-2008 10:29 AM
New SQUID user: How to clear the "access.log" and "store.log" automatically? yuzuohong Linux - Networking 2 12-02-2006 05:37 AM
that pesky "unable to increase" resolution problem fincher69 Slackware 2 09-18-2005 09:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration