Re: 2.6.12 Performance problems

From: Ben Greear (greearb_at_candelatech.com)
Date: 08/25/05

  • Next message: Ingo Molnar: "Re: [RFC] RT-patch update to remove the global pi_lock"
    Date:	Wed, 24 Aug 2005 23:34:50 -0700
    To: danial_thom@yahoo.com
    
    

    Danial Thom wrote:
    >
    > --- Ben Greear <greearb@candelatech.com> wrote:
    >
    >
    >>Danial Thom wrote:
    >>
    >>
    >>>I think the concensus is that 2.6 has made
    >>
    >>trade
    >>
    >>>offs that lower raw throughput, which is what
    >>
    >>a
    >>
    >>>networking device needs. So as a router or
    >>>network appliance, 2.6 seems less suitable. A
    >>
    >>raw
    >>
    >>>bridging test on a 2.0Ghz operton system:
    >>>
    >>>FreeBSD 4.9: Drops no packets at 900K pps
    >>>Linux 2.4.24: Starts dropping packets at 350K
    >>
    >>pps
    >>
    >>>Linux 2.6.12: Starts dropping packets at 100K
    >>
    >>pps
    >>
    >>I ran some quick tests using kernel 2.6.11, 1ms
    >>tick (HZ=1000), SMP kernel.
    >>Hardware is P-IV 3.0Ghz + HT on a new
    >>SuperMicro motherboard with 64/133Mhz
    >>PCI-X bus. NIC is dual Intel pro/1000. Kernel
    >>is close to stock 2.6.11.
    >>
    >>I used brctl to create a bridge with the two
    >>GigE adapters in it and
    >>used pktgen to stream traffic through it
    >>(250kpps in one direction, 1kpps in
    >>the other.)
    >>
    >>I see a reasonable amount of drops at 250kpps
    >>(60 byte packets):
    >>about 60,000,000 packets received, 20,700
    >>dropped.

    I get slightly worse performance on this system when running RH9
    with kernel 2.4.29 (my hacks, HZ=1000, SMP). Tried increasing
    e1000 descriptors to 2048 tx and rx, but that didn't help, or at least
    not much.

    Will try some other tunings, but I doubt it will affect performance
    enough to come close to the discrepency that you show between 2.4
    and 2.6 kernels...

    I tried copying a 500MB CDROM to HD on my RH9 system, and only 6kpps
    of the 250kpps get through the bridge...btw.

    Ben

    -- 
    Ben Greear <greearb@candelatech.com>
    Candela Technologies Inc  http://www.candelatech.com
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Ingo Molnar: "Re: [RFC] RT-patch update to remove the global pi_lock"

    Relevant Pages

    • Re: [PATCH 1/3] 2.6.8-rc4-mm1 - Fix UML build
      ... can access them all, and initialized data all before uninitialized, so ... SYMLINKS:= $,$/$f) ... semaphore.c-dir = kernel ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Real-Time Preemption, -RT-2.6.12-final-V0.7.50-24
      ... > rebooted to a kernel that doesn't have the RT-preempt patch but ... getting a very verbose running trail, almost like an strace output, ... Copyright 2005 by Maurice Eugene Heskett, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • RE: Error mounting root fs on 72:01 using Promise FastTrak TX2000 (PDC20271)
      ... Subject: Error mounting root fs on 72:01 using Promise FastTrak TX2000 ... > Now I'm sucessfully booting my system with the 2.4.23 kernel using ... I think it's when the ATARAID driver is about to fire up. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • RE: Error mounting root fs on 72:01 using Promise FastTrak TX2000 (PDC20271)
      ... > Now I'm sucessfully booting my system with the 2.4.23 kernel using ... I think it's when the ATARAID driver is about to fire up. ... > the hard drives since this is the only thing that has changed. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: udev and devfs - The final word
      ... As each device driver loads and registers with the kernel, ... 'cookies' can be written out to keep them separately ID'd. ... e.g. increasing error rates and aging silicon will ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)