Re: Preventing ng_callout() timeouts to trigger packet queuing

2014-04-09 Thread Adrian Chadd
Hi! Would you mind filing a PR for this? www.freebsd.org/send-pr.html That way it won't (hopefully!) get lost. Thanks! -a On 9 April 2014 14:25, Karim Fodil-Lemelin wrote: > Hi, > > Below is a revised patch for this issue. It accounts for nodes or hooks that > explicitly need to be queuing

Re: Some gruesome moments with performance of FreeBSD at over 20K interfaces

2014-04-09 Thread Adrian Chadd
Hi, There's likely many more places where these aren't O(1) operations. The patch in question should be in -HEAD now. a-a On 9 April 2014 14:14, Vladislav Prodan wrote: > Dear Colleagues! > > I had a task, using FreeBSD 10.0-STABLE: > 1) Receive 20-30 Q-in-Q VLAN (IEEE 802.1ad ), inside of whi

Some gruesome moments with performance of FreeBSD at over 20K interfaces

2014-04-09 Thread Vladislav Prodan
Dear Colleagues! I had a task, using FreeBSD 10.0-STABLE: 1) Receive 20-30 Q-in-Q VLAN (IEEE 802.1ad ), inside of which 2k-4k vlan (IEEE 802.1Q). Total ~60K vlan 2) To every vlan interface assign ipv4 and ipv6 addresses, define routes to ipv4 and ipv6 addresses on another side of vlan (ip unnum

Re: Preventing ng_callout() timeouts to trigger packet queuing

2014-04-09 Thread Karim Fodil-Lemelin
Hi, Below is a revised patch for this issue. It accounts for nodes or hooks that explicitly need to be queuing: @@ -3632,7 +3632,12 @@ ng_callout(struct callout *c, node_p node, hook_p hook, int ticks, if ((item = ng_alloc_item(NGQF_FN, NG_NOFLAGS)) == NULL) return (E

Some gruesome moments with performance of FreeBSD at over 20K interfaces

2014-04-09 Thread Vladislav Prodan
Dear Colleagues! I had a task, using FreeBSD 10.0-STABLE: 1) Receive 20-30 Q-in-Q VLAN (IEEE 802.1ad ), inside of which 2k-4k vlan (IEEE 802.1Q). Total ~60K vlan 2) To every vlan interface assign ipv4 and ipv6 addresses, define routes to ipv4 and ipv6 addresses on another side of vlan (ip unnumb

Racoon/IPSEC Tunnel in 9.2 vs 10.0

2014-04-09 Thread Matt Lager
I have used IPSEC tunnels w/ racoon to establish point to point VPN connections for a long time, with great success. I recently decided to upgrade one of my endpoints to 10.0-RELEASE from 9.2-RELEASE-p3. I didn't do an upgrade but did a fresh installation of 10.0-RELEASE, but applied the identi

Preventing ng_callout() timeouts to trigger packet queuing

2014-04-09 Thread Karim Fodil-Lemelin
Hi List, I'm calling out to the general wisdom ... I have seen an issue in netgraph where, if called, a callout routine registered by ng_callout() will trigger packet queuing inside the worklist of netgraph since ng_callout() makes my node suddenly a WRITER node (therefore non reentrant) for