Bluehost.com Web Hosting $6.95

Re: [squid-users] cache_swap_low and cache_swap_high

This is a discussion on Re: [squid-users] cache_swap_low and cache_swap_high within the Squid Users forums, part of the Web Server and Related Forums category; On Wed, 5 Nov 2003, Raja R wrote: > Can you pls explain the cache_swap_low and cache_swap_high params w.r....


Go Back   Usenet Forums > Web Server and Related Forums > Squid Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-05-2003
Henrik Nordstrom
 
Posts: n/a
Default Re: [squid-users] cache_swap_low and cache_swap_high

On Wed, 5 Nov 2003, Raja R wrote:

> Can you pls explain the cache_swap_low and cache_swap_high params w.r.t the
> performance and if I can tune up any other params to speed up my proxy
> server ?


Not really related to performance. Just parameters used when maintainign
the already cached content and discarding old content.

I would recommend starting by doing some statistical analysis of your
server to try to determine what is causing the bottleneck:

* Amount of traffic to/from your clients
* Amount of traffic to/from the Internet link
* CPU utilisation
* Memory & Swap usage levels
* Disk I/O usage levels ("iostat -i 5" gives a good view of this)


What I can give as guidance is that when a Squid proxy feels slow the
reasons usually is one of the following:

* The Internet link is overloaded
- other traffic chewing up the link such as various peer-to-peer file
sharing networks, viruses etc.
- too small Internet link in relation to the demands from your users
* The Squid server is out of memory, pushing Squid into swap.
- cache_mem too high
- too little memory in relation to your cache_dir size
- other applications on the same server using a lot of memory
* The disk I/O subsytem is overloaded, causing Squid to wait a lot for
the harddrive.
- ufs cache_dir type and high request rate (30req/s or more)
- aufs/diskd cache_dir type and simply too few harddrives to keep up
with the rate required


as you can see the reasons and solutions can vary a lot, and without
knowing in more detail where the bottleneck may be it is hard to give a
good advice on what to change. But all the cases above is easily
identified by normal system & Internet link monitoring tools.

Regards
Henrik

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 06:34 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0