On Thu, Feb 7, 2013 at 9:25 PM, Allan Sundry <4flatl...@gmail.com> wrote:
> Hi,

Hi,

>
> Will I get using BSDRP better performance on the new server, as
> compared to existing ones?
> Can my existing router to handle more traffic using BSDRP?

Short answer: no… But don't leave us now ! Read the end of my mail please :-)
Theorically the FreeBSD version that can give you more performance
should be the -current or 9-stable because they included latest NIC
drivers.

Tuning network stack on FreeBSD is not very easy and I would like to
compile all informations and tuning tips for document this part.
My idea is to to provide a simple shell script that collect server
inventory and under-load statistics for proposing tuning advice… And
your running system can help us.

Can you answer to these questions:

Regarding your sysctl.conf:

Why "kern.ipc.nmbclusters = 512000", and not a smaller or bigger value
? How did you choose this exact value ?
Same question for "kern.ipc.nmbjumbop = 256000" and
"hw.intr_storm_threshold = 9000"
=> There are lot's of "tuning" guide that give these kind of raw
numbers, but neither explain how to calculate these number for your
needs.
And a a router can't be tuned like a firewall or a end-host.

Then can you post (during high load) the output of
vmstat -i
  => interrupt rate
top -SCHP
  => Core/NIC queue usage
netstat -Q
  => netisr stats
netstat -m
  => mbuf usage
netstat -B
  => for checking if BPF is used or not (performance impact)

And your hardware detail and ixgbe stats:
cat /var/run/dmesg.boot
  => Can be interressing message during loading NIC drivers
pciconf -lvc
  => Exact chip number and PCI bus information
ifconfig -m
  => NIC capabilities and status
sysctl hw.ixgbe
sysctl dev.ixgbe
   => Tuning parameters regarding ixgbe drivers
sysctl net.route
sysctl net.isr
   => netisr configuration
sysctl net.inet.ip
  => gloal IPv4 configuration
sysctl net.inet.raw
  => maximum datagram length
sysctl sysctl net.inet.flowtable
  => For checking if you use or not flowtable
kldstat -v
  => For checking all modules loaded (and if you are using pf on ipfw)

Thanks,

Olivier

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Bsdrp-users mailing list
Bsdrp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bsdrp-users

Reply via email to