Re: [squid-users] Cache Performance Tips

2004-05-20 Thread Hendrik Voigtlaender
Read this:
http://www.devshed.com/c/a/Administration/High-Performance-Web-Caching-With-Squid
I think this machine is not suitable for a bigger production environment 
- it wont hold enough disks.
If you do a demo, you will probably have only a couple of clients? No 
need to tune the cache in this case.

Otherwise I would suggest reiserfs on the cachedisk/partition. I would 
increase cache_mem and cache_dir size moderately.

How do you define good impression?  E.g. using delay pools, redirectors 
like squidGuard or authentication will probably impress people,
but it is not really performance tuning...

Regards, Hendrik.
Jerry Norton wrote:
Hello all,
I am new to squid and very impressed so far.  I'm feeling a little
swamped though as I'm on a timeline to demo this for production.  I have
the O'Reilly Squid book and have read through the first few chapters and
skimmed the rest.  With so many config options, I was hoping I could run
my server specs by you all to get some suggestions on tuning for
performance.  I'm just using the defaults currently.
Server is a Compaq DL360, 800mhz, 1gb RAM, 9gb HDD.
Anyone suggest any variables that I can change from the defaults and
why?  
Again I'm just learning but I really need to make a good impression
fast.

Thanks everyone for your help,
.
Jerry Norton
broadGap Technologies
(801)763-8056 / (877)broadgap
802 East Bamberger Drive - American Fork - UT - 84003
.
 




RE: [squid-users] Cache Performance Tips

2004-05-20 Thread Jerry Norton
Thank you for the link..that was what I was looking for.

Yes the DL360 will just be used for a demo.  I am using squidGuard for
redirection and blacklists and feel comfortble with that but the sheer
volume of different settings in squid.conf has me a little worried.

For the demo, the ACL's and blacklists will impress the most but I want
to understand the caching better before the server gets thrown into the
fire.  Is there any way to auto stress test squid?  Any apps or the
like?

If all goes well, we will implement squid in a tradeshow environment
with about 500 computers.  I have a request to purchase 2 bigger and
faster servers that will be run as peers to load balance.

Specs for production servers are follows:

Debian Woody Stable
P4 2.6 GHz / 512k cache
1 gb RAM
(2) 80gb ATA HDD - probably be mirrored for failsafe


Thanks for the help everyone!
-jnorton


-Original Message-
From: Hendrik Voigtlaender [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 20, 2004 6:50 AM
To: Jerry Norton
Cc: [EMAIL PROTECTED]
Subject: Re: [squid-users] Cache Performance Tips


Read this:
http://www.devshed.com/c/a/Administration/High-Performance-Web-Caching-W
ith-Squid

I think this machine is not suitable for a bigger production environment

- it wont hold enough disks.
If you do a demo, you will probably have only a couple of clients? No 
need to tune the cache in this case.

Otherwise I would suggest reiserfs on the cachedisk/partition. I would 
increase cache_mem and cache_dir size moderately.

How do you define good impression?  E.g. using delay pools, redirectors 
like squidGuard or authentication will probably impress people, but it
is not really performance tuning...

Regards, Hendrik.

Jerry Norton wrote:

Hello all,

I am new to squid and very impressed so far.  I'm feeling a little 
swamped though as I'm on a timeline to demo this for production.  I 
have the O'Reilly Squid book and have read through the first few 
chapters and skimmed the rest.  With so many config options, I was 
hoping I could run my server specs by you all to get some suggestions 
on tuning for performance.  I'm just using the defaults currently.

Server is a Compaq DL360, 800mhz, 1gb RAM, 9gb HDD.

Anyone suggest any variables that I can change from the defaults and 
why?
Again I'm just learning but I really need to make a good impression
fast.

Thanks everyone for your help,

.
Jerry Norton
broadGap Technologies
(801)763-8056 / (877)broadgap
802 East Bamberger Drive - American Fork - UT - 84003 
.
 
 
  




Re: [squid-users] Cache Performance Tips

2004-05-20 Thread Hendrik Voigtländer
http://www.squid-cache.org/Benchmarking/
http://www.web-polygraph.org/
Production spec: I would get more RAM and more disks. Mirror only for 
system disks, you can afford to lose the cache.

At the moment I am using striped cache disks, but striping does not 
improve perfomance with squid but increases the chance of losing the 
whole cache completely (thanks to Adam Aube for pointing this out).

With ATA I would use at least two or three disks for the cache only. 
Squid depends heavily on disk performance.

If you are going to setup multiple caches you can probably use cheaper 
but more machines to balance the load. This way you can achieve high 
availability  high performance at moderate costs.

We are serving about 1000 Clients / 8...10GByte Traffic a day with a 
single machine (Compaq ML370, 2GB RAM, 2.something GHz, 2x36GB SCSI for 
the cache_dir), but I think at a tradeshow you can expect a much higher 
usage of the clients.

Good luck,
Hendrik Voigtländer
Jerry Norton wrote:
Thank you for the link..that was what I was looking for.
Yes the DL360 will just be used for a demo.  I am using squidGuard for
redirection and blacklists and feel comfortble with that but the sheer
volume of different settings in squid.conf has me a little worried.
For the demo, the ACL's and blacklists will impress the most but I want
to understand the caching better before the server gets thrown into the
fire.  Is there any way to auto stress test squid?  Any apps or the
like?
If all goes well, we will implement squid in a tradeshow environment
with about 500 computers.  I have a request to purchase 2 bigger and
faster servers that will be run as peers to load balance.
Specs for production servers are follows:
Debian Woody Stable
P4 2.6 GHz / 512k cache
1 gb RAM
(2) 80gb ATA HDD - probably be mirrored for failsafe
Thanks for the help everyone!
-jnorton
-Original Message-
From: Hendrik Voigtlaender [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 20, 2004 6:50 AM
To: Jerry Norton
Cc: [EMAIL PROTECTED]
Subject: Re: [squid-users] Cache Performance Tips

Read this:
http://www.devshed.com/c/a/Administration/High-Performance-Web-Caching-W
ith-Squid
I think this machine is not suitable for a bigger production environment
- it wont hold enough disks.
If you do a demo, you will probably have only a couple of clients? No 
need to tune the cache in this case.

Otherwise I would suggest reiserfs on the cachedisk/partition. I would 
increase cache_mem and cache_dir size moderately.

How do you define good impression?  E.g. using delay pools, redirectors 
like squidGuard or authentication will probably impress people, but it
is not really performance tuning...

Regards, Hendrik.
Jerry Norton wrote:

Hello all,
I am new to squid and very impressed so far.  I'm feeling a little 
swamped though as I'm on a timeline to demo this for production.  I 
have the O'Reilly Squid book and have read through the first few 
chapters and skimmed the rest.  With so many config options, I was 
hoping I could run my server specs by you all to get some suggestions 
on tuning for performance.  I'm just using the defaults currently.

Server is a Compaq DL360, 800mhz, 1gb RAM, 9gb HDD.
Anyone suggest any variables that I can change from the defaults and 
why?
Again I'm just learning but I really need to make a good impression
fast.

Thanks everyone for your help,
.
Jerry Norton
broadGap Technologies
(801)763-8056 / (877)broadgap
802 East Bamberger Drive - American Fork - UT - 84003 
.





[squid-users] Cache Performance Tips

2004-05-19 Thread Jerry Norton
Hello all,

I am new to squid and very impressed so far.  I'm feeling a little
swamped though as I'm on a timeline to demo this for production.  I have
the O'Reilly Squid book and have read through the first few chapters and
skimmed the rest.  With so many config options, I was hoping I could run
my server specs by you all to get some suggestions on tuning for
performance.  I'm just using the defaults currently.

Server is a Compaq DL360, 800mhz, 1gb RAM, 9gb HDD.

Anyone suggest any variables that I can change from the defaults and
why?  
Again I'm just learning but I really need to make a good impression
fast.

Thanks everyone for your help,

.
Jerry Norton
broadGap Technologies
(801)763-8056 / (877)broadgap
802 East Bamberger Drive - American Fork - UT - 84003
.