Re: routing for 1000 users and 10Mbit internet.

From: Bill Moran (wmoran_at_potentialtech.com)
Date: 06/01/04

  • Next message: hugle: "Re[2]: routing for 1000 users and 10Mbit internet."
    Date: Tue, 01 Jun 2004 11:27:31 -0400
    To: hugle <hugle@vkt.lt>
    
    

    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
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
    

  • Next message: hugle: "Re[2]: routing for 1000 users and 10Mbit internet."

    Relevant Pages

    • Re: device polling and weird timer interrupt count from vmstat
      ... if it is polling of int handling. ... web server eat a lot more cpu power then traffic handling, so, no ... separate measurement of traffic cpu load is possible. ... no matter whether polling is enabled or not. ...
      (freebsd-stable)
    • Re: Add subform to a form?
      ... Why not turn the blink ON (ie: load an embedded resource bitmap or such the ... like into a Picturebox control) at the moment you are about to poll. ... blink image will stay on-screen while polling. ...
      (microsoft.public.dotnet.languages.vb)
    • Re: Measuring tools - top and interrupts
      ... You polling guys just crack me up. ... which means a lower system load. ... not about how busy your PCI bus is. ... load average figures can be quite misleading. ...
      (Linux-Kernel)
    • Re: Measuring tools - top and interrupts
      ... We have fixed this problem in the kernel 2.4.19 which has been installed in few selected computers of the "Middleware grid" ... Also load average has been calculated for each login user. ... > much less work to be done with polling. ...
      (Linux-Kernel)
    • freebsd router project. Problems with polling?
      ... The routing software is quagga. ... Intel whitepaper shows a max pps for the em cards at 1.4mpps. ... But atm I've problems with device polling. ... Interrupt load is about 70% with net.inet.ip.fastforwarding enabled. ...
      (freebsd-net)