Re: Accelerator Vs. Virtual Domains

From: Miguel A.L. Paraz <map@dont-contact.us>
Date: Thu, 17 Oct 1996 19:02:42 +0000 ()

Hi,

Nelson Posse Lago wrote:

> Miguel Paraz considered running multiple Squids, binding each to a
> specific interface. Since a good deal of memory would be shared among the
> squid copies, maybe the memory usage would be reasonable. I guess it's
> difficult to predict what option is worse :-), memory usage or CPU usage.
> Can anyone throw in some estimatives?

Caught my name there. :) I'm actually doing it, though the machine does
not get too many hits. This is a T1-connected mirror server in the US which
we use to serve up hits to our local sites, speeding up our perceived
WWW speed, when working in conjunction with a "redirector" script under
Apache which just gives the browsers a Location: header.

Look at the process start dates; in fact, they're still doing Squid 1.0.2.
RunAccelOne is a script that runs a single accelerator, taking care of
putting logs. Consolidating all these processes into a single one
would be nice though. Eliminating the useless ftpget would be easier,
but since it isn't a problem at this site, I haven't taken the trouble yet.

This is a FreeBSD 2.1.5 system, P150, 32 MB RAM:
 2:50PM up 73 days, 22:14, 1 user, load averages: 0.04, 0.01, 0.00

ps -axuw | grep squid

root 153 0.0 0.0 600 0 ??- IW 4Aug96 0:00.03 /usr/bin/perl /usr/local/squid/bin/RunAccelAll
root 159 0.0 0.0 460 0 ?? IW 4Aug96 0:00.01 sh -c /usr/local/squid/bin/RunAccelOne www.iconn.com.ph\n &
root 160 0.0 0.0 788 0 ?? IW 4Aug96 0:00.12 /usr/bin/perl /usr/local/squid/bin/RunAccelOne www.iconn.com.ph
root 161 0.0 12.8 26636 3948 ?? S 4Aug96 87:58.01 /usr/local/squid/bin/squid -f /usr/local/squid/etc/squid.conf.www.
root 877 0.0 0.0 792 0 p0- IW 4Aug96 0:00.12 /usr/bin/perl /usr/local/squid/bin/RunAccelOne www.iphil.net
root 878 0.0 5.0 33672 1544 p0- S 4Aug96 70:22.16 /usr/local/squid/bin/squid -f /usr/local/squid/etc/squid.conf.www.
root 10325 0.0 0.0 788 0 p0- IW 16Aug96 0:00.12 /usr/bin/perl /usr/local/squid/bin/RunAccelOne www.mindgate.com.ph
root 10326 0.0 1.3 2052 384 p0- S 16Aug96 54:12.46 /usr/local/squid/bin/squid -f /usr/local/squid/etc/squid.conf.www.
root 16343 0.0 0.0 792 0 p0- IW 12Sep96 0:00.12 /usr/bin/perl /usr/local/squid/bin/RunAccelOne www.tridel.com.ph
root 16344 0.0 1.3 1936 384 p0- S 12Sep96 31:01.92 /usr/local/squid/bin/squid -f /usr/local/squid/etc/squid.conf.www.
root 27344 0.0 0.0 788 0 p0- IW 27Sep96 0:00.14 /usr/bin/perl /usr/local/squid/bin/RunAccelOne www.pworld.net.ph
root 27346 0.0 11.2 4552 3452 p0- S 27Sep96 24:13.91 /usr/local/squid/bin/squid -f /usr/local/squid/etc/squid.conf.www.
root 28093 0.0 0.0 512 0 ?? IWs 12:00AM 0:00.02 /usr/local/squid/bin/ftpget -S 4285
root 28094 0.0 0.0 512 0 ?? IWs 12:00AM 0:00.02 /usr/local/squid/bin/ftpget -S 4286
root 28095 0.0 0.0 512 0 ?? IWs 12:00AM 0:00.02 /usr/local/squid/bin/ftpget -S 4287
root 28099 0.0 0.0 512 0 ?? IWs 12:00AM 0:00.02 /usr/local/squid/bin/ftpget -S 4288
root 28100 0.0 0.0 512 0 ?? IWs 12:00AM 0:00.02 /usr/local/squid/bin/ftpget -S 4291

-- 
miguel a.l. paraz  <map@iphil.net>  http://www.iphil.net/~map/  PGP: 0x43F0D011
iphil communications:  isp/intranet design and implementation, makati city, ph
Received on Thu Oct 17 1996 - 04:00:18 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:33:18 MST