Re[2]: routing for 1000 users and 10Mbit internet.

2004-06-03 Thread hugle
BM hugle wrote:
 BM hugle wrote:
 
BM hugle wrote:

FG On Mon, 31 May 2004, hugle wrote:

dammit..
why then my users eats so much CPU?
look:
CPU states:  0.0% user,  0.0% nice,  0.8% system,
38.0% interrupt, 61.2% idle
Mem: 21M Active, 177M Inact, 133M Wired, 1228K Cache, 199M Buf, 1677M Free

I have only 61% idle ?
usualy i have ~50 idle..
now I have P4 2.4GHZ

maybe my setup is bad (kernel I mean)?

FG My guess is either cheap hardware (NIC) or bad tuning. What NICs are you
FG using?

I'm using Intel cards (fxp) at the moment. But from reading the posts
I've decided to buy GBIT NIC.
Now the dilema is what brand name.. INTEL or 3COM ? maybe you guys
could advice?

BM I've always had good results with fxp cards.
 
how much users do you have? and what model?
 
 BM Never more than 100 ... it's been a year or two, so I don't remember the model.
 
And yes, my PC is dealing with lots of network traffic.. It's a
gateway + shaping. It deals with almost 1000 users..

Will this PC (p4 2.4GHZ) deal with 10mbit internet? as a gateway +
shaper ? with one GBIT NIC connected to 100Mbit swith?

BM A gbit NIC isn't going to run at gbit speed on a 100mbit switch.
 
I know, but as I know it'll have more memory, buffer or smth like
that. which somehow will help to deal with the problem, right?
 
 BM Probably.  It just seems like a lot of $$$ to drop when you haven't
 BM tried polling yet.  Keep in mind, that if you try polling and it
 BM doesn't work, you can just turn it back off, and you haven't spent
 BM any $$$ on hardware that didn't help.
 
BM I would look elsewhere than the NIC.  Intel NICs are good units (in my 
experience,
BM if someone knows of problems with them, please speak up)
from systam -v:
481 fxp0 irq12
226 fxp1 irq3
317 fxp2 irq7
I think it is quite high? right?
 
 BM I guess.  I would expect numbers like that considering the load it's
 BM under.
 
 BM I'll ask _again_ ... is the machine's performance poor?  Fact is, if
 BM you give it enough network traffic to shape, it's going to raise the
 BM CPU load, no matter what you do.
 
 now the main problem is.. that machine is shaping internet, right?
 I did shaping for my subnet, so users in /24 have 100kbits everybody.
 But they don't get such speed, they get about 70-80kbps . and if I
 try to skipt pipe rules for certain IPs, users get all available
 speed (which is left), it's about 500kbps..
 so why machine can't pipe it normally ?
 Didn't had these problems in the past...

BM Past when?  What changed?

BM Typically, only ~80% of available bandwidth is usable.  I don't know if
BM that applies to your situation, though, as that's usually referring to
BM ethernet, and you claim the problem hasn't always been there.

BM Try polling and see if the load reduces and the performance increases.
BM If all that machine is doing is routing, you can configure it to be
BM dedicated to routing.


Hello all:)
I'm here again..
so. I've purchased 3com nic, it recognises it as: bge0.
Situation went a bit better.. (in first hours on last nics i had ~50%
interrupt and here I had 30%) But after some time.. interrupts went up

COmpiled in polling support
But after enabling polling I don't see any changes..
Maybe bge NIC'a don't support pooling ?

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Re[2]: routing for 1000 users and 10Mbit internet.

2004-06-03 Thread Bill Moran
hugle [EMAIL PROTECTED] wrote:

  now the main problem is.. that machine is shaping internet, right?
  I did shaping for my subnet, so users in /24 have 100kbits everybody.
  But they don't get such speed, they get about 70-80kbps . and if I
  try to skipt pipe rules for certain IPs, users get all available
  speed (which is left), it's about 500kbps..
  so why machine can't pipe it normally ?
  Didn't had these problems in the past...
 
 BM Past when?  What changed?
 
 BM Typically, only ~80% of available bandwidth is usable.  I don't know if
 BM that applies to your situation, though, as that's usually referring to
 BM ethernet, and you claim the problem hasn't always been there.
 
 BM Try polling and see if the load reduces and the performance increases.
 BM If all that machine is doing is routing, you can configure it to be
 BM dedicated to routing.
 
 Hello all:)
 I'm here again..
 so. I've purchased 3com nic, it recognises it as: bge0.
 Situation went a bit better.. (in first hours on last nics i had ~50%
 interrupt and here I had 30%) But after some time.. interrupts went up

I didn't expect it to change significantly.

 COmpiled in polling support
 But after enabling polling I don't see any changes..
 Maybe bge NIC'a don't support pooling ?

The man page for polling does not list the bge driver as supported, and the
bge man page says nothing about polling that I can find.

However, the fxp driver (for the Intel NIC) _does_ support polling.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re[2]: routing for 1000 users and 10Mbit internet.

2004-06-01 Thread hugle
BM hugle wrote:
 FG On Mon, 31 May 2004, hugle wrote:
 
dammit..
why then my users eats so much CPU?
look:
CPU states:  0.0% user,  0.0% nice,  0.8% system, 38.0% interrupt, 61.2% idle
Mem: 21M Active, 177M Inact, 133M Wired, 1228K Cache, 199M Buf, 1677M Free

I have only 61% idle ?
usualy i have ~50 idle..
now I have P4 2.4GHZ

maybe my setup is bad (kernel I mean)?
 
 FG My guess is either cheap hardware (NIC) or bad tuning. What NICs are you
 FG using?
 
 I'm using Intel cards (fxp) at the moment. But from reading the posts
 I've decided to buy GBIT NIC.
 Now the dilema is what brand name.. INTEL or 3COM ? maybe you guys
 could advice?

BM I've always had good results with fxp cards.
how much users do you have? and what model?
 And yes, my PC is dealing with lots of network traffic.. It's a
 gateway + shaping. It deals with almost 1000 users..
 
 Will this PC (p4 2.4GHZ) deal with 10mbit internet? as a gateway +
 shaper ? with one GBIT NIC connected to 100Mbit swith?

BM A gbit NIC isn't going to run at gbit speed on a 100mbit switch.
I know, but as I know it'll have more memory, buffer or smth like
that. which somehow will help to deal with the problem, right?
BM I would look elsewhere than the NIC.  Intel NICs are good units (in my experience,
BM if someone knows of problems with them, please speak up)
from systam -v:
481 fxp0 irq12
226 fxp1 irq3
317 fxp2 irq7
I think it is quite high? right?
BM Read the polling man page and see if it will help you.




___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: routing for 1000 users and 10Mbit internet.

2004-06-01 Thread Bill Moran
hugle wrote:
BM hugle wrote:
FG On Mon, 31 May 2004, hugle wrote:
dammit..
why then my users eats so much CPU?
look:
CPU states:  0.0% user,  0.0% nice,  0.8% system, 38.0% interrupt, 61.2% idle
Mem: 21M Active, 177M Inact, 133M Wired, 1228K Cache, 199M Buf, 1677M Free
I have only 61% idle ?
usualy i have ~50 idle..
now I have P4 2.4GHZ
maybe my setup is bad (kernel I mean)?
FG My guess is either cheap hardware (NIC) or bad tuning. What NICs are you
FG using?
I'm using Intel cards (fxp) at the moment. But from reading the posts
I've decided to buy GBIT NIC.
Now the dilema is what brand name.. INTEL or 3COM ? maybe you guys
could advice?
BM I've always had good results with fxp cards.

how much users do you have? and what model?
Never more than 100 ... it's been a year or two, so I don't remember the model.
And yes, my PC is dealing with lots of network traffic.. It's a
gateway + shaping. It deals with almost 1000 users..
Will this PC (p4 2.4GHZ) deal with 10mbit internet? as a gateway +
shaper ? with one GBIT NIC connected to 100Mbit swith?
BM A gbit NIC isn't going to run at gbit speed on a 100mbit switch.

I know, but as I know it'll have more memory, buffer or smth like
that. which somehow will help to deal with the problem, right?
Probably.  It just seems like a lot of $$$ to drop when you haven't
tried polling yet.  Keep in mind, that if you try polling and it
doesn't work, you can just turn it back off, and you haven't spent
any $$$ on hardware that didn't help.
BM I would look elsewhere than the NIC.  Intel NICs are good units (in my experience,
BM if someone knows of problems with them, please speak up)
from systam -v:
481 fxp0 irq12
226 fxp1 irq3
317 fxp2 irq7
I think it is quite high? right?
I guess.  I would expect numbers like that considering the load it's
under.
I'll ask _again_ ... is the machine's performance poor?  Fact is, if
you give it enough network traffic to shape, it's going to raise the
CPU load, no matter what you do.
I guess, if you absolutely want to come up with a reason to buy new
hardware, this is as good a reason as any.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re[2]: routing for 1000 users and 10Mbit internet.

2004-06-01 Thread hugle
BM hugle wrote:
 BM hugle wrote:
 
FG On Mon, 31 May 2004, hugle wrote:

dammit..
why then my users eats so much CPU?
look:
CPU states:  0.0% user,  0.0% nice,  0.8% system, 38.0% interrupt, 61.2% idle
Mem: 21M Active, 177M Inact, 133M Wired, 1228K Cache, 199M Buf, 1677M Free

I have only 61% idle ?
usualy i have ~50 idle..
now I have P4 2.4GHZ

maybe my setup is bad (kernel I mean)?

FG My guess is either cheap hardware (NIC) or bad tuning. What NICs are you
FG using?

I'm using Intel cards (fxp) at the moment. But from reading the posts
I've decided to buy GBIT NIC.
Now the dilema is what brand name.. INTEL or 3COM ? maybe you guys
could advice?
 
 BM I've always had good results with fxp cards.
 
 how much users do you have? and what model?

BM Never more than 100 ... it's been a year or two, so I don't remember the model.

And yes, my PC is dealing with lots of network traffic.. It's a
gateway + shaping. It deals with almost 1000 users..

Will this PC (p4 2.4GHZ) deal with 10mbit internet? as a gateway +
shaper ? with one GBIT NIC connected to 100Mbit swith?
 
 BM A gbit NIC isn't going to run at gbit speed on a 100mbit switch.
 
 I know, but as I know it'll have more memory, buffer or smth like
 that. which somehow will help to deal with the problem, right?

BM Probably.  It just seems like a lot of $$$ to drop when you haven't
BM tried polling yet.  Keep in mind, that if you try polling and it
BM doesn't work, you can just turn it back off, and you haven't spent
BM any $$$ on hardware that didn't help.

 BM I would look elsewhere than the NIC.  Intel NICs are good units (in my 
 experience,
 BM if someone knows of problems with them, please speak up)
 from systam -v:
 481 fxp0 irq12
 226 fxp1 irq3
 317 fxp2 irq7
 I think it is quite high? right?

BM I guess.  I would expect numbers like that considering the load it's
BM under.

BM I'll ask _again_ ... is the machine's performance poor?  Fact is, if
BM you give it enough network traffic to shape, it's going to raise the
BM CPU load, no matter what you do.

now the main problem is.. that machine is shaping internet, right?
I did shaping for my subnet, so users in /24 have 100kbits everybody.
But they don't get such speed, they get about 70-80kbps . and if I
try to skipt pipe rules for certain IPs, users get all available
speed (which is left), it's about 500kbps..
so why machine can't pipe it normally ?
Didn't had these problems in the past...

BM I guess, if you absolutely want to come up with a reason to buy new
BM hardware, this is as good a reason as any.




___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: routing for 1000 users and 10Mbit internet.

2004-06-01 Thread Bill Moran
hugle wrote:
BM hugle wrote:
BM hugle wrote:
FG On Mon, 31 May 2004, hugle wrote:
dammit..
why then my users eats so much CPU?
look:
CPU states:  0.0% user,  0.0% nice,  0.8% system, 38.0% interrupt, 61.2% idle
Mem: 21M Active, 177M Inact, 133M Wired, 1228K Cache, 199M Buf, 1677M Free
I have only 61% idle ?
usualy i have ~50 idle..
now I have P4 2.4GHZ
maybe my setup is bad (kernel I mean)?
FG My guess is either cheap hardware (NIC) or bad tuning. What NICs are you
FG using?
I'm using Intel cards (fxp) at the moment. But from reading the posts
I've decided to buy GBIT NIC.
Now the dilema is what brand name.. INTEL or 3COM ? maybe you guys
could advice?
BM I've always had good results with fxp cards.

how much users do you have? and what model?
BM Never more than 100 ... it's been a year or two, so I don't remember the model.
And yes, my PC is dealing with lots of network traffic.. It's a
gateway + shaping. It deals with almost 1000 users..
Will this PC (p4 2.4GHZ) deal with 10mbit internet? as a gateway +
shaper ? with one GBIT NIC connected to 100Mbit swith?
BM A gbit NIC isn't going to run at gbit speed on a 100mbit switch.

I know, but as I know it'll have more memory, buffer or smth like
that. which somehow will help to deal with the problem, right?
BM Probably.  It just seems like a lot of $$$ to drop when you haven't
BM tried polling yet.  Keep in mind, that if you try polling and it
BM doesn't work, you can just turn it back off, and you haven't spent
BM any $$$ on hardware that didn't help.
BM I would look elsewhere than the NIC.  Intel NICs are good units (in my experience,
BM if someone knows of problems with them, please speak up)
from systam -v:
481 fxp0 irq12
226 fxp1 irq3
317 fxp2 irq7
I think it is quite high? right?
BM I guess.  I would expect numbers like that considering the load it's
BM under.
BM I'll ask _again_ ... is the machine's performance poor?  Fact is, if
BM you give it enough network traffic to shape, it's going to raise the
BM CPU load, no matter what you do.
now the main problem is.. that machine is shaping internet, right?
I did shaping for my subnet, so users in /24 have 100kbits everybody.
But they don't get such speed, they get about 70-80kbps . and if I
try to skipt pipe rules for certain IPs, users get all available
speed (which is left), it's about 500kbps..
so why machine can't pipe it normally ?
Didn't had these problems in the past...
Past when?  What changed?
Typically, only ~80% of available bandwidth is usable.  I don't know if
that applies to your situation, though, as that's usually referring to
ethernet, and you claim the problem hasn't always been there.
Try polling and see if the load reduces and the performance increases.
If all that machine is doing is routing, you can configure it to be
dedicated to routing.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re[2]: routing for 1000 users and 10Mbit internet.

2004-06-01 Thread hugle
BM hugle wrote:
 BM hugle wrote:
 
BM hugle wrote:

FG On Mon, 31 May 2004, hugle wrote:

dammit..
why then my users eats so much CPU?
look:
CPU states:  0.0% user,  0.0% nice,  0.8% system,
38.0% interrupt, 61.2% idle
Mem: 21M Active, 177M Inact, 133M Wired, 1228K Cache, 199M Buf, 1677M Free

I have only 61% idle ?
usualy i have ~50 idle..
now I have P4 2.4GHZ

maybe my setup is bad (kernel I mean)?

FG My guess is either cheap hardware (NIC) or bad tuning. What NICs are you
FG using?

I'm using Intel cards (fxp) at the moment. But from reading the posts
I've decided to buy GBIT NIC.
Now the dilema is what brand name.. INTEL or 3COM ? maybe you guys
could advice?

BM I've always had good results with fxp cards.
 
how much users do you have? and what model?
 
 BM Never more than 100 ... it's been a year or two, so I don't remember the model.
 
And yes, my PC is dealing with lots of network traffic.. It's a
gateway + shaping. It deals with almost 1000 users..

Will this PC (p4 2.4GHZ) deal with 10mbit internet? as a gateway +
shaper ? with one GBIT NIC connected to 100Mbit swith?

BM A gbit NIC isn't going to run at gbit speed on a 100mbit switch.
 
I know, but as I know it'll have more memory, buffer or smth like
that. which somehow will help to deal with the problem, right?
 
 BM Probably.  It just seems like a lot of $$$ to drop when you haven't
 BM tried polling yet.  Keep in mind, that if you try polling and it
 BM doesn't work, you can just turn it back off, and you haven't spent
 BM any $$$ on hardware that didn't help.
 
BM I would look elsewhere than the NIC.  Intel NICs are good units (in my 
experience,
BM if someone knows of problems with them, please speak up)
from systam -v:
481 fxp0 irq12
226 fxp1 irq3
317 fxp2 irq7
I think it is quite high? right?
 
 BM I guess.  I would expect numbers like that considering the load it's
 BM under.
 
 BM I'll ask _again_ ... is the machine's performance poor?  Fact is, if
 BM you give it enough network traffic to shape, it's going to raise the
 BM CPU load, no matter what you do.
 
 now the main problem is.. that machine is shaping internet, right?
 I did shaping for my subnet, so users in /24 have 100kbits everybody.
 But they don't get such speed, they get about 70-80kbps . and if I
 try to skipt pipe rules for certain IPs, users get all available
 speed (which is left), it's about 500kbps..
 so why machine can't pipe it normally ?
 Didn't had these problems in the past...

BM Past when?  What changed?
actualy nothing...
more users joint the LAN.
BM Typically, only ~80% of available bandwidth is usable.  I don't know if
BM that applies to your situation, though, as that's usually referring to
BM ethernet, and you claim the problem hasn't always been there.
no.. for example if i start downlaoding without using pipes (no
shaping) my total bandwith usage increases up to 98-99%

BM Try polling and see if the load reduces and the performance increases.
BM If all that machine is doing is routing, you can configure it to be
BM dedicated to routing.
I'll do it in ~10-12 hours..
I'll plug my server off, plug in new 3com gbit NIC.
and boot my kernel with new options - device_POOLING.
and see what is happening and so on..


PS. i think my PC has too less CPU.
cause I think that NAT + shaper both eats much processor.
and read somewhere, that:
interrupts apper if CPU doesn't manage to deal with them.

So, after changing NIC, i'll post my result here

hugle




___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


routing for 1000 users and 10Mbit internet.

2004-05-31 Thread hugle
Hello all.
I run into some problem here
Let's take, that I have 10mbit internet and 1000 users behind the
router.
All I want to do is to NAT internet over all of these users
give some users external IPs (BIMAP in ipfilter)
And olso do traffic shaping, like:
Some IP groups (10.0.0.0/24) one pipe   - 100kbits
some IP groups (10.0.1.0/24 and 10.0.2.0/24) another pipe.. - 300 kbits for example
some individual IPs individual pipes, like 10.10.10.10 has 400kbits

The question in what machine do i need?
What CPU and how much of ram ?
dual or single processor ?
or maybe there are any better suggestions ?

thanks

-- 
Best regards,Hugle

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: routing for 1000 users and 10Mbit internet.

2004-05-31 Thread Fernando Gleiser
On Mon, 31 May 2004, hugle wrote:

 The question in what machine do i need?
 What CPU and how much of ram ?

I set up a firewall for more than 300 users, a DMZ with a public webserver,
webmail and MX on a PII-350MHz with 128 MB RAM.

On another client, I set up a firewall for 50 users with a Pentium 90MHz
with 64MB RAM.

 dual or single processor ?

One. Don't waste you money. A firewall isn't very CPU intensive. And given
the fact that ipf works at the IP stack level, I don't think you can have
more than one thread active at a time messing with the IP data structures.


Fer

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re[2]: routing for 1000 users and 10Mbit internet.

2004-05-31 Thread hugle
FG On Mon, 31 May 2004, hugle wrote:

 The question in what machine do i need?
 What CPU and how much of ram ?

FG I set up a firewall for more than 300 users, a DMZ with a public webserver,
FG webmail and MX on a PII-350MHz with 128 MB RAM.
dammit..
why then my users eats so much CPU?
look:
CPU states:  0.0% user,  0.0% nice,  0.8% system, 38.0% interrupt, 61.2% idle
Mem: 21M Active, 177M Inact, 133M Wired, 1228K Cache, 199M Buf, 1677M Free

I have only 61% idle ?
usualy i have ~50 idle..
now I have P4 2.4GHZ

maybe my setup is bad (kernel I mean)?
ps. what those interrupt means?

FG On another client, I set up a firewall for 50 users with a Pentium 90MHz
FG with 64MB RAM.

 dual or single processor ?

FG One. Don't waste you money. A firewall isn't very CPU intensive. And given
FG the fact that ipf works at the IP stack level, I don't think you can have
FG more than one thread active at a time messing with the IP data structures.


FG Fer




___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: routing for 1000 users and 10Mbit internet.

2004-05-31 Thread Bill Moran
hugle wrote:
FG On Mon, 31 May 2004, hugle wrote:
The question in what machine do i need?
What CPU and how much of ram ?
FG I set up a firewall for more than 300 users, a DMZ with a public webserver,
FG webmail and MX on a PII-350MHz with 128 MB RAM.
dammit..
why then my users eats so much CPU?
look:
CPU states:  0.0% user,  0.0% nice,  0.8% system, 38.0% interrupt, 61.2% idle
Mem: 21M Active, 177M Inact, 133M Wired, 1228K Cache, 199M Buf, 1677M Free
I have only 61% idle ?
usualy i have ~50 idle..
now I have P4 2.4GHZ
maybe my setup is bad (kernel I mean)?
ps. what those interrupt means?
It probably means you have a cheapo network card and the OS has to work very
hard to keep it moving data.
The vmstat screen of systat will break down the interrupt usage per device,
which will tell you if my guess is right or not.
If I'm right, it would be worth your while to research the particular NIC you're
using to see if there are known problems.  Or, if you know it's a cheap NIC, you
might want to just replace it.
OTOH, if the machine is keeping up with the load, you might want to just leave
that NIC in there and let the CPU do its job.
There's also the option to switch to polling (if that NIC's drivers support it)
See man polling for the gory detail.
FG On another client, I set up a firewall for 50 users with a Pentium 90MHz
FG with 64MB RAM.
dual or single processor ?
FG One. Don't waste you money. A firewall isn't very CPU intensive. And given
FG the fact that ipf works at the IP stack level, I don't think you can have
FG more than one thread active at a time messing with the IP data structures.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: routing for 1000 users and 10Mbit internet.

2004-05-31 Thread Chuck Swiger
hugle wrote:
[ ... ]
why then my users eats so much CPU?
look:
CPU states:  0.0% user,  0.0% nice,  0.8% system, 38.0% interrupt, 61.2% idle
Mem: 21M Active, 177M Inact, 133M Wired, 1228K Cache, 199M Buf, 1677M Free
I have only 61% idle ?
usualy i have ~50 idle..
now I have P4 2.4GHZ
maybe my setup is bad (kernel I mean)?
ps. what those interrupt means?
English as a second language, hmm?  Very well:
Your network card generates a signal when it receives a network packet and 
wants the OS to pay attention.  That signal is called an interupt, and has a 
strong correlation with the term IRQ.  You are seeing lots of interrupts 
because your router is dealing with lots of packets.

It is very likely that you can improve the way your system handles this load 
by tuning your system better, yes.  Read man tuning, and consider rebuilding 
your kernel using HZ=1000 or so, and enabling DEVICE_POLLING.  You should also 
make sure you've got good network cards in the machine...

--
-Chuck
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re[2]: routing for 1000 users and 10Mbit internet.

2004-05-31 Thread Fernando Gleiser
On Mon, 31 May 2004, hugle wrote:

 dammit..
 why then my users eats so much CPU?
 look:
 CPU states:  0.0% user,  0.0% nice,  0.8% system, 38.0% interrupt, 61.2% idle
 Mem: 21M Active, 177M Inact, 133M Wired, 1228K Cache, 199M Buf, 1677M Free

 I have only 61% idle ?
 usualy i have ~50 idle..
 now I have P4 2.4GHZ

 maybe my setup is bad (kernel I mean)?

My guess is either cheap hardware (NIC) or bad tuning. What NICs are you
using?


Fer

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re[3]: routing for 1000 users and 10Mbit internet.

2004-05-31 Thread hugle
FG On Mon, 31 May 2004, hugle wrote:

 dammit..
 why then my users eats so much CPU?
 look:
 CPU states:  0.0% user,  0.0% nice,  0.8% system, 38.0% interrupt, 61.2% idle
 Mem: 21M Active, 177M Inact, 133M Wired, 1228K Cache, 199M Buf, 1677M Free

 I have only 61% idle ?
 usualy i have ~50 idle..
 now I have P4 2.4GHZ

 maybe my setup is bad (kernel I mean)?

FG My guess is either cheap hardware (NIC) or bad tuning. What NICs are you
FG using?

I'm using Intel cards (fxp) at the moment. But from reading the posts
I've decided to buy GBIT NIC.
Now the dilema is what brand name.. INTEL or 3COM ? maybe you guys
could advice?

And yes, my PC is dealing with lots of network traffic.. It's a
gateway + shaping. It deals with almost 1000 users..

Will this PC (p4 2.4GHZ) deal with 10mbit internet? as a gateway +
shaper ? with one GBIT NIC connected to 100Mbit swith?


Thanks once more for your time guys, and thanks for your support



FG Fer




___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: routing for 1000 users and 10Mbit internet.

2004-05-31 Thread Bill Moran
hugle wrote:
FG On Mon, 31 May 2004, hugle wrote:
dammit..
why then my users eats so much CPU?
look:
CPU states:  0.0% user,  0.0% nice,  0.8% system, 38.0% interrupt, 61.2% idle
Mem: 21M Active, 177M Inact, 133M Wired, 1228K Cache, 199M Buf, 1677M Free
I have only 61% idle ?
usualy i have ~50 idle..
now I have P4 2.4GHZ
maybe my setup is bad (kernel I mean)?
FG My guess is either cheap hardware (NIC) or bad tuning. What NICs are you
FG using?
I'm using Intel cards (fxp) at the moment. But from reading the posts
I've decided to buy GBIT NIC.
Now the dilema is what brand name.. INTEL or 3COM ? maybe you guys
could advice?
I've always had good results with fxp cards.
And yes, my PC is dealing with lots of network traffic.. It's a
gateway + shaping. It deals with almost 1000 users..
Will this PC (p4 2.4GHZ) deal with 10mbit internet? as a gateway +
shaper ? with one GBIT NIC connected to 100Mbit swith?
A gbit NIC isn't going to run at gbit speed on a 100mbit switch.
I would look elsewhere than the NIC.  Intel NICs are good units (in my experience,
if someone knows of problems with them, please speak up)
Read the polling man page and see if it will help you.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]