Re: Network stack changes

2013-09-22 Thread Adrian Chadd
On 22 September 2013 21:52, Luigi Rizzo wrote: > locking affects scalability; but dxr and similar algorithms have much fewer > memory lookups, not to mention the huge memory footprint of > the freebsd radix tree code. > > Anyways i'd really encourage you to read the dxr paper, it is short > and

Re: Network stack changes

2013-09-22 Thread Luigi Rizzo
On Mon, Sep 23, 2013 at 6:42 AM, Adrian Chadd wrote: > Hi! > > > > On 22 September 2013 13:12, Alexander V. Chernikov < > melif...@yandex-team.ru> wrote: > > >> I'm thinking the same way, but we're stuck with 'forwarding lookup' due >> to problem with egress interface pointer, as I mention earli

Re: Programmatically forwarding packets to outgoing interface

2013-09-22 Thread Ihsan Junaidi Ibrahim
Thanks. Is there a specific C API I can use to call this? On Sep 23, 2013, at 12:10 PM, Julian Elischer wrote: > On 9/23/13 11:55 AM, Ihsan Junaidi Ibrahim wrote: >> Hi folks, >> >> I'm trying to learn building a VPN-type application on FreeBSD and I'm >> currently stuck at trying to route pac

Re: Network stack changes

2013-09-22 Thread Adrian Chadd
Hi! On 22 September 2013 13:12, Alexander V. Chernikov wrote: > I'm thinking the same way, but we're stuck with 'forwarding lookup' due > to problem with egress interface pointer, as I mention earlier. However it > is interesting to see how much it helps, regardless of locking. > > Currently

Re: Programmatically forwarding packets to outgoing interface

2013-09-22 Thread Julian Elischer
On 9/23/13 11:55 AM, Ihsan Junaidi Ibrahim wrote: Hi folks, I'm trying to learn building a VPN-type application on FreeBSD and I'm currently stuck at trying to route packets to outgoing interface. I've managed to push/pop IP packets in a tun(4) interface but now that I can read the inner pack

Programmatically forwarding packets to outgoing interface

2013-09-22 Thread Ihsan Junaidi Ibrahim
Hi folks, I'm trying to learn building a VPN-type application on FreeBSD and I'm currently stuck at trying to route packets to outgoing interface. I've managed to push/pop IP packets in a tun(4) interface but now that I can read the inner packet header, I need to route the payload out of the bo

Re: Network stack changes

2013-09-22 Thread Alexander V. Chernikov
On 14.09.2013 22:49, Olivier Cochard-Labbé wrote: On Sat, Sep 14, 2013 at 4:28 PM, Luigi Rizzo wrote: IXIA ? For the timescales we need to address we don't need an IXIA, a netmap sender is more than enough The great netmap generates only one IP flow (same src/dst IP and same src/dst port). Th

Re: Network stack changes

2013-09-22 Thread Slawa Olhovchenkov
On Mon, Sep 23, 2013 at 12:01:17AM +0400, Alexander V. Chernikov wrote: > On 29.08.2013 05:32, Slawa Olhovchenkov wrote: > > On Thu, Aug 29, 2013 at 12:24:48AM +0200, Andre Oppermann wrote: > > > >>> .. > >>> while Intel DPDK claims 80MPPS (and 6windgate talks about 160 or so) on > >>> the same-c

Re: kern/182297: [cm] ArcNet driver fails to detect the link address - and does not work at all

2013-09-22 Thread linimon
Old Synopsis: ArcNet driver fails to detect the link address - and does not work at all New Synopsis: [cm] ArcNet driver fails to detect the link address - and does not work at all Responsible-Changed-From-To: freebsd-i386->freebsd-net Responsible-Changed-By: linimon Responsible-Changed-When: Su

Re: Network stack changes

2013-09-22 Thread Alexander V. Chernikov
On 29.08.2013 15:49, Adrian Chadd wrote: Hi, Hello Adrian! I'm very sorry for the looong reply. There's a lot of good stuff to review here, thanks! Yes, the ixgbe RX lock needs to die in a fire. It's kinda pointless to keep locking things like that on a per-packet basis. We should be able

Re: Network stack changes

2013-09-22 Thread Alexander V. Chernikov
On 29.08.2013 05:32, Slawa Olhovchenkov wrote: On Thu, Aug 29, 2013 at 12:24:48AM +0200, Andre Oppermann wrote: .. while Intel DPDK claims 80MPPS (and 6windgate talks about 160 or so) on the same-class hardware and _userland_ forwarding. Those numbers sound a bit far out. Maybe if the packet

Re: Network stack changes

2013-09-22 Thread Alexander V. Chernikov
On 29.08.2013 02:24, Andre Oppermann wrote: On 28.08.2013 20:30, Alexander V. Chernikov wrote: Hello list! Hello Alexander, Hello Andre! I'm very sorry to answer so late. you sent quite a few things in the same email. I'll try to respond as much as I can right now. Later you should split

Exposing sysctls for ixgbe

2013-09-22 Thread hiren panchasara
$ sysctl hw.igb hw.igb.rxd: 4096 hw.igb.txd: 4096 hw.igb.enable_aim: 1 hw.igb.enable_msix: 1 hw.igb.max_interrupt_rate: 8000 hw.igb.buf_ring_size: 4096 hw.igb.header_split: 0 hw.igb.num_queues: 1 hw.igb.rx_process_limit: 100 $ sysctl hw.ix sysctl: unknown oid 'hw.ix': No such file or directory I t

IPv6 privacy extensions breaks kerberos

2013-09-22 Thread Martin Laabs
Hi, I noticed that kerberos stops working when enabling the privacy extension. This is caused by the changing outgoing IP that does not fit to the dns name anymore (or do not have a dns record at all) So every host enabling the privacy extension will be unable to use kerberos and kerberos enabled