Re: high CPU usage

From: Dancer <dancer@dont-contact.us>
Date: Thu, 25 Nov 1999 23:42:34 +0000

You're using a development version of squid. You probably shouldn't be
unless you can answer these questions for yourself. I'd recommend using
2.2.STABLE5, if I were you.

D

¤ý²Ð¦t wrote:
>
> Dear sir:
> if i mount cache file system in async mode , does this can improve
> disk I/O performance.
> like this:
> /dev/da4s1e /cache5 ufs rw,async
> 2 2
>
> if i complie squid with async-io and mount my cache file system in
> async mode.
> Dose we can get better performance..
>
> my system using piii 450 , 100GB cache (6*18G ultra wide scsi
> disk)..1GB ram
>
> -----Original Message-----
> From: Francis A. Vidal [mailto:francis@usls.edu]
> Sent: Thursday, November 25, 1999 11:51 AM
> To: Clifton Royston
> Cc: Squid Users
> Subject: Re: high CPU usage
>
> ---- Quoting Clifton Royston's message, sent 11/24/99 7:37am ----
>
> > > i'm running squid2.2-stable4 (async-io enabled) on a FreeBSD 3.3-stable
> > > (w/ softupdates) machine with 16GB cache space and 256MB of RAM. my
> system
> > > is experiencing 97-98% CPU usage with 5-6 clients accessing it. any
> > > related experiences?
> >
> > You need to give a little more info for people to be able to help.
> >
> > 97-98% CPU usage for the *system overall* is normal if you have any
> > "niced" processes running to use idle time; for instance, if you run
> > Seti@Home, RC5 codebreaking, the Mersenne prime search, or any of many
> > other programs which essentially put all the idle cycles to use.
> > That doesn't have anything to do with Squid, and won't significantly
> > interfere with Squid performance or with other processes.
>
> not the overall CPU usage but just the squid process. i'm not running any
> code-breaking process or Seti@Home on the machine. it's purely a
> proxy/cache machine.
>
> > An ongoing 97-98% CPU usage for Squid, on the other hand, would be
> > very unusual. On a 486 system I run with far less RAM, it's never
> > anything near that.
>
> yes, my earlier squid setup did not exhibit this behaviour just now.
>
> > What is the "load" figure reported by uptime or top? And is Squid
> > consistently the top process, or are other things taking most of the
> > CPU?
>
> the load figure is from top and is the squid process itself.
>
> > P.S.: async-io is not needed or helpful for Squid on current FreeBSD,
> > and should be turned off.
>
> why? can you please elaborate? in the squid FAQ, it mentioned to turn on
> async-io on "very busy" machines. what exactly is a "very busy" machine?
>
> --
> francis vidal university of st. la salle, bacolod city, philippines
> . . . . . . . PGP key available via e-mail / subject: get PGP key
> u s l s N E T tel nos. (+63.34).433.3526 / fax (+63.34).434.0415
Received on Thu Nov 25 1999 - 16:49:31 MST

This archive was generated by hypermail pre-2.1.9 : Wed Apr 09 2008 - 11:57:32 MDT