RE: [squid-users] cache hit and byte hit ratio
Thanks Chris I increased my maximum_object size to 128mb ( earlier it was 32 MB ) And I changes replacement policy also. I can see my byte hit ratio has increased to 20-25 %. How can I further increase it. What other parameter I must consider. I have noticed lot of traffic for windows update. Is there any way to cache that. I tried using refresh pattern for same but I still get TCP_MISS. Thanks - LK -Original Message- From: Chris Robertson [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 06, 2005 6:41 PM To: squid-users@squid-cache.org Subject: RE: [squid-users] cache hit and byte hit ratio > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: Monday, September 05, 2005 3:22 AM > To: squid-users@squid-cache.org > Subject: [squid-users] cache hit and byte hit ratio > > > Hi > > I am running squid 2.5.10 stable. > I noticed cache hit ratio on my server is 30 % but byte hit ratio is > less than 15 %. > How can I increase byte hit ratio. I want to save BW. I am not able to > save much. > > Thanks > LK What have you done so far? Look into "maximum_object_size", and the "heap LFUDA" cache(and memory)_replacement_policy. They can make a big difference in cache ratios. Chris Disclaimer The information contained in this e-mail, any attached files, and response threads are confidential and may be legally privileged. It is intended solely for the use of individual(s) or entity to which it is addressed and others authorised to receive it. If you are not the intended recipient, kindly notify the sender by return mail and delete this message and any attachment(s) immediately. Save as expressly permitted by the author, any disclosure, copying, distribution or taking action in reliance on the contents of the information contained in this e-mail is strictly prohibited and may be unlawful. Unless otherwise clearly stated, and related to the official business of Accelon Nigeria Limited, opinions, conclusions, and views expressed in this message are solely personal to the author. Accelon Nigeria Limited accepts no liability whatsoever for any loss, be it direct, indirect or consequential, arising from information made available in this e-mail and actions resulting there from. For more information about Accelon Nigeria Limited, please see our website at http://www.accelonafrica.com **
RE: [squid-users] cache hit and byte hit ratio
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: Monday, September 05, 2005 3:22 AM > To: squid-users@squid-cache.org > Subject: [squid-users] cache hit and byte hit ratio > > > Hi > > I am running squid 2.5.10 stable. > I noticed cache hit ratio on my server is 30 % but byte hit ratio is > less than 15 %. > How can I increase byte hit ratio. I want to save BW. I am not able to > save much. > > Thanks > LK What have you done so far? Look into "maximum_object_size", and the "heap LFUDA" cache(and memory)_replacement_policy. They can make a big difference in cache ratios. Chris
[squid-users] Balasan: Re: [squid-users] cache hit and byte hit ratio
maybe you should set reload_into_ims on, and more extreme configuration is to set all cacheable file to ignore-reload. for example: refresh_pattern -i \.jpg$ 10080 100% 43200 reload-into-ims refresh_pattern -i \.swf$ 10080 100% 43200 ignore-reload refresh_pattern . 10 50% 43200 reload-into-ims but i suggest you to block banners rather than modifying refresh_pattern regards, [EMAIL PROTECTED] --- Christoph Haas <[EMAIL PROTECTED]> menulis: > On Mon, Sep 05, 2005 at 12:21:35PM +0100, > [EMAIL PROTECTED] wrote: > > I am running squid 2.5.10 stable. > > I noticed cache hit ratio on my server is 30 % but > byte hit ratio is > > less than 15 %. > > How can I increase byte hit ratio. I want to save > BW. I am not able to > > save much. > > It surely depends on which kind of objects are > stored. Assume that half > of the objects are cached but each one is just 100 > bytes. Then you would > have 50% cache hit ratio but perhaps only 0.0001% > byte hit ratio. > > Not every object is cachable. Just use a large disk > and if you have > multiple proxys then establish a sibling > relationship between them. > There's not much else you can do. "Tweaking" refresh > times surely breaks > more applications than it helps you. > > And if you want to save 95% bandwidth: block porn > sites. ;) > > Regards > Christoph > -- > ~ > ~ > ~ > ".signature" [Modified] 3 lines --100%-- >3,41 All > ___ Apakah Anda Yahoo!? Lelah menerima spam? Surat Yahoo! mempunyai perlindungan terbaik terhadap spam. http://id.mail.yahoo.com/
Re: [squid-users] cache hit and byte hit ratio
On 9/5/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I didn't understand this part. > How firewall will increase cache byte hit ratio? i am not talking about cache byte hit ratio my meaning were about to block illusion and other virus and anonymous attacks from your firewall to prevent extra utilization of your bandwidth > Thanks - LK > > -Original Message- > From: Kashif Ali Bukhari [mailto:[EMAIL PROTECTED] > Sent: Monday, September 05, 2005 12:42 PM > To: Lokesh Khanna > Cc: squid-users@squid-cache.org > Subject: Re: [squid-users] cache hit and byte hit ratio > > this thing not only depend on squid u should use firewall too > > On 9/5/05, [EMAIL PROTECTED] > <[EMAIL PROTECTED]> wrote: > > Hi > > > > I am running squid 2.5.10 stable. > > I noticed cache hit ratio on my server is 30 % but byte hit ratio is > > less than 15 %. > > How can I increase byte hit ratio. I want to save BW. I am not able to > > save much. > > > > Thanks > > LK > > Disclaimer > > > > > > The information contained in this e-mail, any attached files, and > response threads are confidential and > > may be legally privileged. It is intended solely for the use of > individual(s) or entity to which it is addressed > > and others authorised to receive it. If you are not the intended > recipient, kindly notify the sender by return > > mail and delete this message and any attachment(s) immediately. > > > > Save as expressly permitted by the author, any disclosure, copying, > distribution or taking action in reliance > > on the contents of the information contained in this e-mail is > strictly prohibited and may be unlawful. > > > > Unless otherwise clearly stated, and related to the official business > of Accelon Nigeria Limited, opinions, > > conclusions, and views expressed in this message are solely personal > to the author. > > > > Accelon Nigeria Limited accepts no liability whatsoever for any loss, > be it direct, indirect or consequential, > > arising from information made available in this e-mail and actions > resulting there from. > > > > For more information about Accelon Nigeria Limited, please see our > website at > > http://www.accelonafrica.com > > > > ** > > > > > -- > Syed Kashif Ali Bukhari > Jr. Network Officer Beaconet > Disclaimer > > The information contained in this e-mail, any attached files, and response > threads are confidential and > may be legally privileged. It is intended solely for the use of individual(s) > or entity to which it is addressed > and others authorised to receive it. If you are not the intended recipient, > kindly notify the sender by return > mail and delete this message and any attachment(s) immediately. > > Save as expressly permitted by the author, any disclosure, copying, > distribution or taking action in reliance > on the contents of the information contained in this e-mail is strictly > prohibited and may be unlawful. > > Unless otherwise clearly stated, and related to the official business of > Accelon Nigeria Limited, opinions, > conclusions, and views expressed in this message are solely personal to the > author. > > Accelon Nigeria Limited accepts no liability whatsoever for any loss, be it > direct, indirect or consequential, > arising from information made available in this e-mail and actions resulting > there from. > > For more information about Accelon Nigeria Limited, please see our website at > http://www.accelonafrica.com > ** > -- Syed Kashif Ali Bukhari Jr. Network Officer Beaconet
Re: [squid-users] cache hit and byte hit ratio
On Mon, Sep 05, 2005 at 12:21:35PM +0100, [EMAIL PROTECTED] wrote: > I am running squid 2.5.10 stable. > I noticed cache hit ratio on my server is 30 % but byte hit ratio is > less than 15 %. > How can I increase byte hit ratio. I want to save BW. I am not able to > save much. It surely depends on which kind of objects are stored. Assume that half of the objects are cached but each one is just 100 bytes. Then you would have 50% cache hit ratio but perhaps only 0.0001% byte hit ratio. Not every object is cachable. Just use a large disk and if you have multiple proxys then establish a sibling relationship between them. There's not much else you can do. "Tweaking" refresh times surely breaks more applications than it helps you. And if you want to save 95% bandwidth: block porn sites. ;) Regards Christoph -- ~ ~ ~ ".signature" [Modified] 3 lines --100%--3,41 All
RE: [squid-users] cache hit and byte hit ratio
I didn't understand this part. How firewall will increase cache byte hit ratio? Thanks - LK -Original Message- From: Kashif Ali Bukhari [mailto:[EMAIL PROTECTED] Sent: Monday, September 05, 2005 12:42 PM To: Lokesh Khanna Cc: squid-users@squid-cache.org Subject: Re: [squid-users] cache hit and byte hit ratio this thing not only depend on squid u should use firewall too On 9/5/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi > > I am running squid 2.5.10 stable. > I noticed cache hit ratio on my server is 30 % but byte hit ratio is > less than 15 %. > How can I increase byte hit ratio. I want to save BW. I am not able to > save much. > > Thanks > LK > Disclaimer > > The information contained in this e-mail, any attached files, and response threads are confidential and > may be legally privileged. It is intended solely for the use of individual(s) or entity to which it is addressed > and others authorised to receive it. If you are not the intended recipient, kindly notify the sender by return > mail and delete this message and any attachment(s) immediately. > > Save as expressly permitted by the author, any disclosure, copying, distribution or taking action in reliance > on the contents of the information contained in this e-mail is strictly prohibited and may be unlawful. > > Unless otherwise clearly stated, and related to the official business of Accelon Nigeria Limited, opinions, > conclusions, and views expressed in this message are solely personal to the author. > > Accelon Nigeria Limited accepts no liability whatsoever for any loss, be it direct, indirect or consequential, > arising from information made available in this e-mail and actions resulting there from. > > For more information about Accelon Nigeria Limited, please see our website at > http://www.accelonafrica.com > ** > -- Syed Kashif Ali Bukhari Jr. Network Officer Beaconet Disclaimer The information contained in this e-mail, any attached files, and response threads are confidential and may be legally privileged. It is intended solely for the use of individual(s) or entity to which it is addressed and others authorised to receive it. If you are not the intended recipient, kindly notify the sender by return mail and delete this message and any attachment(s) immediately. Save as expressly permitted by the author, any disclosure, copying, distribution or taking action in reliance on the contents of the information contained in this e-mail is strictly prohibited and may be unlawful. Unless otherwise clearly stated, and related to the official business of Accelon Nigeria Limited, opinions, conclusions, and views expressed in this message are solely personal to the author. Accelon Nigeria Limited accepts no liability whatsoever for any loss, be it direct, indirect or consequential, arising from information made available in this e-mail and actions resulting there from. For more information about Accelon Nigeria Limited, please see our website at http://www.accelonafrica.com **
Re: [squid-users] cache hit and byte hit ratio
this thing not only depend on squid u should use firewall too On 9/5/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi > > I am running squid 2.5.10 stable. > I noticed cache hit ratio on my server is 30 % but byte hit ratio is > less than 15 %. > How can I increase byte hit ratio. I want to save BW. I am not able to > save much. > > Thanks > LK > Disclaimer > > The information contained in this e-mail, any attached files, and response > threads are confidential and > may be legally privileged. It is intended solely for the use of individual(s) > or entity to which it is addressed > and others authorised to receive it. If you are not the intended recipient, > kindly notify the sender by return > mail and delete this message and any attachment(s) immediately. > > Save as expressly permitted by the author, any disclosure, copying, > distribution or taking action in reliance > on the contents of the information contained in this e-mail is strictly > prohibited and may be unlawful. > > Unless otherwise clearly stated, and related to the official business of > Accelon Nigeria Limited, opinions, > conclusions, and views expressed in this message are solely personal to the > author. > > Accelon Nigeria Limited accepts no liability whatsoever for any loss, be it > direct, indirect or consequential, > arising from information made available in this e-mail and actions resulting > there from. > > For more information about Accelon Nigeria Limited, please see our website at > http://www.accelonafrica.com > ** > -- Syed Kashif Ali Bukhari Jr. Network Officer Beaconet
[squid-users] cache hit and byte hit ratio
Hi I am running squid 2.5.10 stable. I noticed cache hit ratio on my server is 30 % but byte hit ratio is less than 15 %. How can I increase byte hit ratio. I want to save BW. I am not able to save much. Thanks LK Disclaimer The information contained in this e-mail, any attached files, and response threads are confidential and may be legally privileged. It is intended solely for the use of individual(s) or entity to which it is addressed and others authorised to receive it. If you are not the intended recipient, kindly notify the sender by return mail and delete this message and any attachment(s) immediately. Save as expressly permitted by the author, any disclosure, copying, distribution or taking action in reliance on the contents of the information contained in this e-mail is strictly prohibited and may be unlawful. Unless otherwise clearly stated, and related to the official business of Accelon Nigeria Limited, opinions, conclusions, and views expressed in this message are solely personal to the author. Accelon Nigeria Limited accepts no liability whatsoever for any loss, be it direct, indirect or consequential, arising from information made available in this e-mail and actions resulting there from. For more information about Accelon Nigeria Limited, please see our website at http://www.accelonafrica.com **