Welcome, Guest. Please login or register.
Did you miss your activation email?
+  pfSense Forum
|-+  pfSense English Support» Packages» Squid Cache Hit Rate.
Username:
Password:
 
 

Pages: [1]   Go Down
  Print  
Author Topic: Squid Cache Hit Rate.  (Read 1270 times)
0 Members and 1 Guest are viewing this topic.
cylent
Full Member
***
Offline Offline

Posts: 101


View Profile
« on: March 31, 2012, 12:13:33 am »

I am trying my best to figure out a way to increase the squid cache hit rate.

in the last 3-4 days its been a pathetic 8-11% for around 80-90 users and an average of 5.8G download.

Seriously. this is just bad.

Any tips on how to increase the hit rate? (other than doing offline mode LOL)

Logged
saxonbeta
Jr. Member
**
Offline Offline

Posts: 33


View Profile
« Reply #1 on: March 31, 2012, 10:55:50 am »

Wow, my hit rate Is just 2-3 % for 10 users and ca. 6 GB of downloads  Sad
« Last Edit: March 31, 2012, 11:00:25 am by saxonbeta » Logged
marcelloc
Hero Member
*****
Offline Offline

Posts: 8173



View Profile
« Reply #2 on: March 31, 2012, 04:59:03 pm »

This can be espected as squid "engine" is not that good for dynamic/session pages.

I saw it on one doc comparing squid and varnish.
https://www.varnish-cache.org/trac/wiki/ArchitectNotes

A test I did once was configuring a varnish daemon as proxy server sending to a squid as backend. The result was some times faster then squid itself.

But I'm sure that there is some config options to improve cache hit.
« Last Edit: March 31, 2012, 05:03:38 pm by marcelloc » Logged

Have I helped you? Donations are always welcome! Grin

Te ajudei? Doações são sempre bem vindas! Grin
Pages: [1]   Go Up
  Print  
 
Jump to:  

 

Page created in 0.034 seconds with 20 queries.