Re: 1 Mpps router and OpenBSD?

2011-10-31 Thread Henning Brauer
* Chris Cappuccio [2011-10-27 21:59]: > Tomas Bodzar [tomas.bod...@gmail.com] wrote: > > On Thu, Oct 27, 2011 at 8:23 PM, tx wrote: > > > Is it possible to make 1 Mpps router (BGP and routing between several 1GBE > > > links) with standard x86 CPU such as Xeon or Opteron and "accelerated" > > >

Re: 1 Mpps router and OpenBSD?

2011-10-27 Thread Chris Cappuccio
Tomas Bodzar [tomas.bod...@gmail.com] wrote: > On Thu, Oct 27, 2011 at 8:23 PM, tx wrote: > > Is it possible to make 1 Mpps router (BGP and routing between several 1GBE > > links) with standard x86 CPU such as Xeon or Opteron and "accelerated" NICs > > like Intel PRO1000/PT? All with latest stable

Re: 1 Mpps router and OpenBSD?

2011-10-27 Thread Geoff Steckel
I haven't looked for years, but in the dim dark past many NIC drivers made non-optimal hardware accesses which slowed them down quite a bit. Profiling helped find some of them. Exactly how many cycles of stall happen during a bus (PCI, PCIe, ISA, VME) reference depends on the CPU, but a wild gu

Re: 1 Mpps router and OpenBSD?

2011-10-27 Thread tx
OK. I'm about special network tweaks or something like this. For example, for FreeBSD there is a sysctl tweaks that give zero CPU load on 100 Mbps traffic with PRO1000/PT NIC, and about 10% CPU load without these tweaks on same hardware and in same conditions. 27.10.2011 22:54, Josh Hoppes P?P

Re: 1 Mpps router and OpenBSD?

2011-10-27 Thread Tomas Bodzar
On Thu, Oct 27, 2011 at 8:23 PM, tx wrote: > Is it possible to make 1 Mpps router (BGP and routing between several 1GBE > links) with standard x86 CPU such as Xeon or Opteron and "accelerated" NICs > like Intel PRO1000/PT? All with latest stable OpenBSD, of course :) Any > suggestions, tweaks, spe

Re: 1 Mpps router and OpenBSD?

2011-10-27 Thread Josh Hoppes
The only limitation I've seen lately to OpenBSD pushing packets is how many interrupts it can handle. I don't know if 5.0 has helped with this but 4.9 still appeared to be limited to CPU0 for processing interrupts. On Thu, Oct 27, 2011 at 1:35 PM, Chris Cappuccio wrote: > 5.0 may be able to do th

Re: 1 Mpps router and OpenBSD?

2011-10-27 Thread Chris Cappuccio
5.0 may be able to do this or close to it as long as you aren't load up lots of pf rules (perhaps, leave pf off entirely) the intel or broadcom gig nics should both be in the game here. tx [zzw...@gmail.com] wrote: > Is it possible to make 1 Mpps router (BGP and routing between > several 1GB

1 Mpps router and OpenBSD?

2011-10-27 Thread tx
Is it possible to make 1 Mpps router (BGP and routing between several 1GBE links) with standard x86 CPU such as Xeon or Opteron and "accelerated" NICs like Intel PRO1000/PT? All with latest stable OpenBSD, of course :) Any suggestions, tweaks, special techniques for that case, any documentation