Search squid archive

RE: speeding up browsing? any advice?!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



thanks for the advice, i just increased cache size to 300 GB (i have 1 Terra raided hdd so i dont mind the size) 
as for object size i've set it to 15 MB. though one question, i've read that there's a certain option that keeps cached objects in memory for quick retrieval..
i've got 6 GB of ram, so i dont mind doing so.. any advice? would it do good or .. ?

PS: i've started the delay pools yesterday i'll b testing it today to see if it works well.. 

once again thanks for the advice


----------------------------------------
> Date: Sun, 10 May 2009 23:20:31 +0100
> From: gavin.mccullagh@xxxxxx
> To: squid-users@xxxxxxxxxxxxxxx
> Subject: Re:  speeding up browsing? any advice?!
>
> Hi,
>
> On Sun, 10 May 2009, Roland Roland wrote:
>
>> users on my network have been complaining of slow browsing sessions for a
>> while now..
>> i'm trying to figure out ways to speed sessions up without necessarily
>> upgrading my current bandwidth plan...
>
> Squid may help with this. However, you don't seem to say that you have
> determined the cause of the slowness yet. One potential reason is your
> users are saturating the available bandwidth. Another however, is that you
> have loss on a link somewhere. Another might be your ISP over-contending
> you or not giving you the bandwidth you expect. Another might be slow DNS.
>
> Squid might indeed help in any or all of these situations. However, I'd be
> inclined to monitor the edge router device with MRTG or similar and track
> exactly how much bandwidth is being used. Also, I'd run smokeping across
> the link to some upstream sites and see have you any packet loss. If you
> know the cause, you'll be better able to address the problem.
>
>> though one more question if possible, is there anything i could
>> possibly do to speed up browsing aside what i mentioned earlier?
>>
>> keep in mind that i only added an allow ACL to my subnet... and that's
>> it! is it enough?
>
> For a start, you may want to look at increasing the cache_dir size. The
> default is 1GB which is pretty small. The larger your cache, the larger
> (albeit decreasingly) your hit rate will be. Once you have a large cache,
> you probably want to increase maximum_object_size. If you want to save
> bandwidth "Heap LFUDA" may be the best cache removal policy, as opposed to
> LRU. There might also be some sense in looking at delay pools to better
> prioritise the bandwidth given to individual users.
>
> Optimising squid's caching can be a big complicated job.
>
> Gavin
>

_________________________________________________________________
Drag n’ drop—Get easy photo sharing with Windows Live™ Photos.

http://www.microsoft.com/windows/windowslive/products/photos.aspx

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux