All of lore.kernel.org
 help / color / mirror / Atom feed
* Using old CPU for 100s of clients
@ 2004-12-03 20:06 Shawn Wright
  0 siblings, 0 replies; 5+ messages in thread
From: Shawn Wright @ 2004-12-03 20:06 UTC (permalink / raw)
  To: netfilter

Ok, I've flogged this issue on the shorewall list probably longer than some 
of you can stand by now. (remember, I'm the nut trying to use a PPro200 
to support ~500 users on a 10Mb internet link, and was experiencing 
random slow access/timeouts on first attempts to websites, but 2nd hits 
were fast. Problems can occur even during times of light load, and we 
have less than 25 rules in the firewall.)

To appease those who think I'm nuts, I am ordering a new firewall shortly 
to allow for future growth. (probably a Dell PE750 with P4/2.8 and dual 
GE nics, although I'm open to suggestions on best choice of CPU, etc)

However, since I have yet to prove that processor speed has anything to 
do with my random slow response times, I have this horrible nightmare 
that I will build a brand new 2.8Ghz firewall and *have the same problem*!

(I have reproduced the problem on a PPro200 and a PII/233, but CPU 
use never exceeds 15% on either, and no sign of dropped packets. A 
P3/667 is currently running fine, and I am working on duplicating it's 
setup, including exact kernel config on the slower machines as a test.)

So I won't bore you with any more details, but simply ask that anyone who 
is using iptables/shorewall on an aging CPU (say from 100-500 Mhz) 
supporting several hundred clients on a 10Mb link or faster, please let me 
know, on or off list. I just hate not knowing what is causing our problems, 
and having them occur on a new, fast firewall would probably push me 
over the edge....

Thanks.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Shawn Wright, I.T. Manager
Shawnigan Lake School
http://www.sls.bc.ca
swright@sls.bc.ca




^ permalink raw reply	[flat|nested] 5+ messages in thread
* RE: Using old CPU for 100s of clients
@ 2004-12-03 20:22 Daniel Chemko
  2004-12-03 21:57 ` Shawn Wright
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel Chemko @ 2004-12-03 20:22 UTC (permalink / raw)
  To: swright, netfilter

The Speed problems may not be isolated to your CPU. You'll want to make
sure your conntrack table isn't getting full, and that conntracks are
safely getting expired from your system. Are you using a custom kernel,
or a stock distro one?

Just for fun, could you forward me the following:

# cat /proc/loadavg
# free
# iostat 20 2 (sysstat package is nice for accounting)
# top (grab the CPU lines, over time is best)
# cat /proc/slabinfo
# cat /proc/net/ip_conntrack | wc -l
# hdparm /dev/<your disk(s)>
# cat /proc/sys/net/ipv4/netfilter/ip_conntrack_max
# w
# netstat -i
# mii-tool

wow.. there are a lot of areas to look into.. Anyways, hope to find
something.

> Thanks.
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> Shawn Wright, I.T. Manager
> Shawnigan Lake School
> http://www.sls.bc.ca
> swright@sls.bc.ca

Good ol' BC boy!


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-12-04  1:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-03 20:06 Using old CPU for 100s of clients Shawn Wright
  -- strict thread matches above, loose matches on Subject: below --
2004-12-03 20:22 Daniel Chemko
2004-12-03 21:57 ` Shawn Wright
2004-12-04  1:24   ` Shawn Wright
2004-12-04  1:27   ` Michael Gale

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.