FreeBSD 8.2 and MPD5 stability issues
Hello, I am testing a RAS solution and I experience some crashes when the L2TP tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6 enabled the limit is around 1700 (half). Does anyone has a sugesstion what I should try next ? total traffic: ~ 100mbps load averages: ~1.8 Kernel: FreeBSD 8.2-RELEASE MPD5:mpd-5.5 /boot/loader.conf net.graph.maxdata=65536 net.graph.maxalloc=65536 kern.ipc.maxpipekva=32000 /etc/sysctl.conf net.inet.ip.forwarding=1 kern.maxfiles=65535 net.inet.icmp.icmplim=0 net.inet.ip.fastforwarding=1 kern.ipc.nmbclusters=128 kern.ipc.maxsockbuf=12800 net.graph.maxdgram=1024 net.graph.recvspace=1024 -- Best regards, Adrian MintaMA3173-RIPE tel. +4.0212.022.660 +4.0726.110.369 ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"
Re: FreeBSD 8.2 and MPD5 stability issues
On 6/23/2011 8:55 AM, Adrian Minta wrote: > Hello, > I am testing a RAS solution and I experience some crashes when the L2TP > tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6 > enabled the limit is around 1700 (half). Does anyone has a sugesstion > what I should try next ? There are many bug fixes to netgraph in RELENG_8. cvsup to stable as a start. How much RAM do you have ? i386 or AMD64 ? ---Mike > > total traffic: ~ 100mbps > load averages: ~1.8 > > > Kernel: FreeBSD 8.2-RELEASE > MPD5:mpd-5.5 > > /boot/loader.conf > net.graph.maxdata=65536 > net.graph.maxalloc=65536 > kern.ipc.maxpipekva=32000 > > /etc/sysctl.conf > net.inet.ip.forwarding=1 > kern.maxfiles=65535 > net.inet.icmp.icmplim=0 > net.inet.ip.fastforwarding=1 > kern.ipc.nmbclusters=128 > kern.ipc.maxsockbuf=12800 > net.graph.maxdgram=1024 > net.graph.recvspace=1024 > -- --- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, m...@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/ ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"
Re: FreeBSD 8.2 and MPD5 stability issues
> On 6/23/2011 8:55 AM, Adrian Minta wrote: >> Hello, >> I am testing a RAS solution and I experience some crashes when the L2TP >> tunnels grow above 3500. The IPv6 is disabled on the box. With IPv6 >> enabled the limit is around 1700 (half). Does anyone has a sugesstion >> what I should try next ? > > There are many bug fixes to netgraph in RELENG_8. cvsup to stable as a > start. How much RAM do you have ? i386 or AMD64 ? > > ---Mike >> >> total traffic: ~ 100mbps >> load averages: ~1.8 >> >> >> Kernel: FreeBSD 8.2-RELEASE >> MPD5:mpd-5.5 >> >> /boot/loader.conf >> net.graph.maxdata=65536 >> net.graph.maxalloc=65536 >> kern.ipc.maxpipekva=32000 >> >> /etc/sysctl.conf >> net.inet.ip.forwarding=1 >> kern.maxfiles=65535 >> net.inet.icmp.icmplim=0 >> net.inet.ip.fastforwarding=1 >> kern.ipc.nmbclusters=128 >> kern.ipc.maxsockbuf=12800 >> net.graph.maxdgram=1024 >> net.graph.recvspace=1024 >> > Sorry if I miss something, but just started using freebsd, I use mostly linux. The server use AMD64 flavor and have 4G of RAM. RELENG_8 is not the prerelease for 8.0 ? I have 8.2-RELEASE isn't it newer ? ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"
Re: FreeBSD 8.2 and MPD5 stability issues
On Jun 23, 2011, at 12:55 PM, Adrian Minta wrote: > Hello, > I am testing a RAS solution and I experience some crashes when the L2TP > tunnels grow above 3500. I guess you mean sessions, not tunnels. > The IPv6 is disabled on the box. With IPv6 enabled the limit is around 1700 > (half). Does anyone has a sugesstion what I should try next ? backtraces would be a good start if things persist after what Mike has suggested (updating to stable/8). /bz -- Bjoern A. Zeeb You have to have visions! Stop bit received. Insert coin for new address family. ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"
Re: FreeBSD 8.2 and MPD5 stability issues
On 6/23/2011 11:56 AM, Adrian Minta wrote: > > Sorry if I miss something, but just started using freebsd, I use mostly > linux. > The server use AMD64 flavor and have 4G of RAM. > RELENG_8 is not the prerelease for 8.0 ? I have 8.2-RELEASE isn't it newer ? > Hi, RELENG_8 is the present state of what is in the tree and will eventually make 8.3-RELEASE. Its called STABLE, but that means no ABI changes to the branch. But you can generally think of it being "stable" as well in that the goal is to have less bugs then previous versions. Have a read through http://www.freebsd.org/doc/handbook/updating-upgrading.html Then the broad steps to upgrade your source, cp /usr/share/examples/cvsup/stable-supfile /tmp edit the file in tmp and make sure the line reads as follows for the release *default release=cvs tag=RELENG_8 csup -g -L2 -h cvsup10.freebsd.org /tmp/stable-supfile This will pull down all the source for the RELENG_8, the most uptodate source tree and put it in /usr/src from the cvsup mirror cvsup10.freebsd.org. Where you see references to cvsup (the client app) use instead csup which will do everything you need. then cd /usr/src;make -j2 buildworld > b.out;make -j2 buildkernel > b.out.k If all goes well, you will see in b.out at the end -- >>> World build completed on Wed Jun 22 07:10:37 EDT 2011 -- and -- >>> Kernel build for GENERIC completed on Wed Jun 22 07:18:49 EDT 2011 -- Then follow the steps to install the kernel and world http://www.freebsd.org/doc/handbook/makeworld.html ---Mike -- --- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, m...@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/ ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"
RE: H/W offload VLAN/PPPoE/NAT
Hi! Another way for vlans is: "ng_ether + ng_vlan + ng_iface". See in sources: VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM I don’t see any profits with hardware PPPoE, mpd5 is fast. For hardware NAT you can try make "closed" netgraph based interface. Node like "ng_ether + ng_nat" = ng_hwnat, compatible with ng_nat -- Rozhuk Ivan > -Original Message- > From: owner-freebsd-...@freebsd.org [mailto:owner-freebsd- > n...@freebsd.org] On Behalf Of Aleksandr Rybalko > Sent: Monday, June 13, 2011 11:58 PM > To: freebsd-net@FreeBSD.org > Subject: H/W offload VLAN/PPPoE/NAT > > Hi folks, > > I work with System-on-Chip(SoC) Ralink RT3052F and I have a questions > which I think preferred to discuss here. > > SoC have Ethernet MAC and Ethernet switch, they connected together > with two ports at MAC side called as GMAC1 and GMAC2. > > MAC internally have so called Frame-Engine, bus that deliver packets > between GMAC1, GMAC2, CPU port, Discard port and PPE (Packet > Processing Engine) > > Packet Processing Engine can insert/remove VLAN tag and PPPoE headers > and do NAT/PAT translations. > > VLAN offload I will implement w/ IFCAP_VLAN_HWTAGGING and will use > EVENTHANDLER_REGISTER(vlan_[un]config, ...) to limit max vlan subifaces > to max 16 items supported by MAC. Right? > > Problem with PPPoE offload, since chip support only insert/remove PPPoE > session header, so we need something like vlan clones, but for PPPoE. > And session setup still should be done at parent interface. Any ideas? > > Another big question is a PPE, which seems just return packets to > driver after processing, so I don't have any idea how to correct > implement it. May someone help me with ideas, samples or something else > what may help me? > > I would be thankful for any ideas. > > WBW > -- > Aleksandr Rybalko > -- > Aleksandr Rybalko > ___ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org" ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"
Re: FreeBSD 8.2 and MPD5 stability issues
> *default release=cvs tag=RELENG_8 > > > csup -g -L2 -h cvsup10.freebsd.org /tmp/stable-supfile > > This will pull down all the source for the RELENG_8, the most uptodate > source tree and put it in /usr/src from the cvsup mirror > cvsup10.freebsd.org. Where you see references to cvsup (the client app) > use instead csup which will do everything you need. > > then > cd /usr/src;make -j2 buildworld > b.out;make -j2 buildkernel > b.out.k > > If all goes well, you will see in b.out at the end > > -- World build completed on Wed Jun 22 07:10:37 EDT 2011 > -- > > and > > -- Kernel build for GENERIC completed on Wed Jun 22 07:18:49 EDT 2011 > -- > > Then follow the steps to install the kernel and world > > http://www.freebsd.org/doc/handbook/makeworld.html > > > ---Mike > Thank you ! My server is stable now with 3572 sessions. The issue now seems to be the rate of new connections/sec. When a new "ng" device is created some scripts are run (like /etc/pccard_ether ). The scripts drive the CPU to 100% and sometimes new connections fail to establish. I guess I have to find a bigger CPU now :) ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"
Re: FreeBSD 8.2 and MPD5 stability issues
> On 6/23/2011 1:37 PM, Adrian Minta wrote: >>> *default release=cvs tag=RELENG_8 >>> Then follow the steps to install the kernel and world >>> >>> http://www.freebsd.org/doc/handbook/makeworld.html >> >> Thank you ! >> My server is stable now with 3572 sessions. >> The issue now seems to be the rate of new connections/sec. When a new >> "ng" >> device is created some scripts are run (like /etc/pccard_ether ). The >> scripts drive the CPU to 100% and sometimes new connections fail to >> establish. >> >> I guess I have to find a bigger CPU now :) > > > Thats great to hear! Is that with ivp6 enabled or disabled ? > > ---Mike > I left him disabled because I don't need it anyway. ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"
Re: FreeBSD 8.2 and MPD5 stability issues
On 6/23/2011 1:37 PM, Adrian Minta wrote: >> *default release=cvs tag=RELENG_8 >> Then follow the steps to install the kernel and world >> >> http://www.freebsd.org/doc/handbook/makeworld.html > > Thank you ! > My server is stable now with 3572 sessions. > The issue now seems to be the rate of new connections/sec. When a new "ng" > device is created some scripts are run (like /etc/pccard_ether ). The > scripts drive the CPU to 100% and sometimes new connections fail to > establish. > > I guess I have to find a bigger CPU now :) Thats great to hear! Is that with ivp6 enabled or disabled ? ---Mike -- --- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, m...@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/ ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"
Re: kern/158156: [bce] bce driver shows "no carrier" on IBM blade (HS22 with BCM5709)
Old Synopsis: bce driver shows "no carrier" on IBM blade (HS22 with BCM5709) New Synopsis: [bce] bce driver shows "no carrier" on IBM blade (HS22 with BCM5709) Responsible-Changed-From-To: freebsd-bugs->freebsd-net Responsible-Changed-By: linimon Responsible-Changed-When: Thu Jun 23 18:13:10 UTC 2011 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=158156 ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"
Re: FreeBSD 8.2 and MPD5 stability issues
Oops i spoke too soon ... The system is stable without hyperthreading. With hyperthreading activated i't freezes again. ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"
Re: FreeBSD I/OAT (QuickData now?) driver [10gb pfring silicom]
Hi, On Sun, Jun 19, 2011 at 11:42 PM, Jack Vogel wrote: > Affinity to open source eh, you mean they repackage Intel hardware and > then just use MY drivers, they've been doing it for 1G, and now they're > gonna extend their "affinity" to 10G it seems, impressive :) > AFAICS, files in `sys/dev/e1000/' and `sys/dev/ixgbe/' are copyrighted by Intel Corporation, not "Jack Vogel " :-) Moreover, the SVN seem to use the Linux driver, not the BSD one, which in any case seem to share the same core, beside a different license. But still, I'd admit that "affinity to open source" definitively sounds merely be "GPL compliance". A. > Jack > > > On Sun, Jun 19, 2011 at 6:27 PM, grarpamp wrote: > >> Perhaps some similar work here. And maybe a card vendor >> with docs and an affinity to open source. Just news, that's all. >> >> >> http://www.ntop.org/blog/pf_ring/introducing-the-10-gbit-pf_ring-dna-driver/ >> >> bcc: hackers, isp. reply to net. >> ___ >> freebsd-net@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-net >> To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org" >> > ___ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org" > ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"
Re: FreeBSD 8.2 and MPD5 stability issues
On 6/23/2011 3:18 PM, Adrian Minta wrote: > Oops i spoke too soon ... > The system is stable without hyperthreading. With hyperthreading activated > i't freezes again. > I also run with devd_enable="NO" in /etc/rc.conf and in /etc/syctl.conf kern.random.sys.harvest.ethernet=0 Does it actually freeze or panic and crash ? ---Mike -- --- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, m...@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/ ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"
RE: FreeBSD 8.2 and MPD5 stability issues
Try: net.inet.ip.fastforwarding = 0 net.isr.bindthreads = 1 net.isr.direct = 0 net.isr.direct_force = 0 -- Rozhuk Ivan > -Original Message- > From: owner-freebsd-...@freebsd.org [mailto:owner-freebsd- > n...@freebsd.org] On Behalf Of Mike Tancsa > Sent: Friday, June 24, 2011 4:56 AM > To: Adrian Minta > Cc: freebsd-net@freebsd.org > Subject: Re: FreeBSD 8.2 and MPD5 stability issues > > On 6/23/2011 3:18 PM, Adrian Minta wrote: > > Oops i spoke too soon ... > > The system is stable without hyperthreading. With hyperthreading > activated > > i't freezes again. > > > > I also run with > > devd_enable="NO" > > in /etc/rc.conf > and > in /etc/syctl.conf > kern.random.sys.harvest.ethernet=0 > > Does it actually freeze or panic and crash ? > > > ---Mike > > > > > -- > --- > Mike Tancsa, tel +1 519 651 3400 > Sentex Communications, m...@sentex.net > Providing Internet services since 1994 www.sentex.net > Cambridge, Ontario Canada http://www.tancsa.com/ > ___ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org" ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"
Re: FreeBSD 8.2 and MPD5 stability issues
On 6/23/2011 4:17 PM, rozhuk...@gmail.com wrote: > > Try: > net.inet.ip.fastforwarding = 0 > net.isr.bindthreads = 1 > net.isr.direct = 0 > net.isr.direct_force = 0 If net.isr.direct is disabled, does setting net.isr.bindthreads do anything ? Also, why disable the fastforwarding ? ---Mike -- --- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, m...@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/ ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"
RE: FreeBSD 8.2 and MPD5 stability issues
net.inet.ip.fastforwarding - double check incoming packet, if: dst = this host / multicast / contain options - all packets processing by one cpu core This option is good for one cpu core routers. -- Rozhuk Ivan > -Original Message- > From: Mike Tancsa [mailto:m...@sentex.net] > Sent: Friday, June 24, 2011 5:40 AM > To: rozhuk...@gmail.com > Cc: 'Adrian Minta'; freebsd-net@freebsd.org > Subject: Re: FreeBSD 8.2 and MPD5 stability issues > > On 6/23/2011 4:17 PM, rozhuk...@gmail.com wrote: > > > > Try: > > net.inet.ip.fastforwarding = 0 > > net.isr.bindthreads = 1 > > net.isr.direct = 0 > > net.isr.direct_force = 0 > > If net.isr.direct is disabled, does setting net.isr.bindthreads do > anything ? Also, why disable the fastforwarding ? > > ---Mike > > > > -- > --- > Mike Tancsa, tel +1 519 651 3400 > Sentex Communications, m...@sentex.net > Providing Internet services since 1994 www.sentex.net > Cambridge, Ontario Canada http://www.tancsa.com/ ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"
ng_vlan improvements
Hi! Changes: 1. list + hash was replaced by array of hooks: its simple and faster 2. added encap setting. "getencap" and "setencap" messages for control it: Default = 1 (do the VLAN encapsulation) 0: no encapsulation, just: m->m_flags |= M_VLANTAG; m->m_pkthdr.ether_vtag = (vlan & EVL_VLID_MASK); Who can test? -- Rozhuk Ivan /*- * Copyright (c) 2003 IPNET Internet Communication Company * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright *notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright *notice, this list of conditions and the following disclaimer in the *documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * Author: Ruslan Ermilov * * $FreeBSD: src/sys/netgraph/ng_vlan.c,v 1.6.2.1 2009/08/03 08:13:06 kensmith Exp $ */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include static ng_constructor_t ng_vlan_constructor; static ng_rcvmsg_t ng_vlan_rcvmsg; static ng_shutdown_tng_vlan_shutdown; static ng_newhook_t ng_vlan_newhook; static ng_rcvdata_t ng_vlan_rcvdata; static ng_disconnect_t ng_vlan_disconnect; /* Parse type for struct ng_vlan_filter. */ static const struct ng_parse_struct_field ng_vlan_filter_fields[] = NG_VLAN_FILTER_FIELDS; static const struct ng_parse_type ng_vlan_filter_type = { &ng_parse_struct_type, &ng_vlan_filter_fields }; static int ng_vlan_getTableLength(const struct ng_parse_type *type, const u_char *start, const u_char *buf) { const struct ng_vlan_table *const table = (const struct ng_vlan_table *)(buf - sizeof(u_int32_t)); return table->n; } /* Parse type for struct ng_vlan_table. */ static const struct ng_parse_array_info ng_vlan_table_array_info = { &ng_vlan_filter_type, ng_vlan_getTableLength }; static const struct ng_parse_type ng_vlan_table_array_type = { &ng_parse_array_type, &ng_vlan_table_array_info }; static const struct ng_parse_struct_field ng_vlan_table_fields[] = NG_VLAN_TABLE_FIELDS; static const struct ng_parse_type ng_vlan_table_type = { &ng_parse_struct_type, &ng_vlan_table_fields }; /* List of commands and how to convert arguments to/from ASCII. */ static const struct ng_cmdlist ng_vlan_cmdlist[] = { { NGM_VLAN_COOKIE, NGM_VLAN_ADD_FILTER, "addfilter", &ng_vlan_filter_type, NULL }, { NGM_VLAN_COOKIE, NGM_VLAN_DEL_FILTER, "delfilter", &ng_parse_hookbuf_type, NULL }, { NGM_VLAN_COOKIE, NGM_VLAN_GET_TABLE, "gettable", NULL, &ng_vlan_table_type }, { NGM_VLAN_COOKIE, NGM_VLAN_GET_ENCAP, "getencap", NULL, &ng_parse_int32_type }, { NGM_VLAN_COOKIE, NGM_VLAN_SET_ENCAP, "setencap", &ng_parse_int32_type, NULL }, { 0 } }; static struct ng_type ng_vlan_typestruct = { .version = NG_ABI_VERSION, .name = NG_VLAN_NODE_TYPE, .constructor = ng_vlan_constructor, .rcvmsg = ng_vlan_rcvmsg, .shutdown = ng_vlan_shutdown, .newhook = ng_vlan_newhook, .rcvdata = ng_vlan_rcvdata, .disconnect = ng_vlan_disconnect, .cmdlist = ng_vlan_cmdlist, }; NETGRAPH_INIT(vlan, &ng_vlan_typestruct); typedef struct { hook_p downstream_hook; hook_p nomatch_hook; hook_p vlan_hook[(EVL_VLID_MASK + 1)]; int vlan_encap; } *priv_p; #define HOOK_VLAN_SET_MASK ((uintptr_t)((~0) & ~(EVL_VLID_MASK))) static int ng_vlan_constructor(node_p node) { priv_p priv; priv
Re: FreeBSD 8.2 and MPD5 stability issues
On 6/23/2011 5:47 PM, rozhuk...@gmail.com wrote: > > net.inet.ip.fastforwarding > - double check incoming packet, if: dst = this host / multicast / contain > options > - all packets processing by one cpu core > > This option is good for one cpu core routers. Thanks, I didnt know that. And the netisr option ? Have you found that to be buggy ? ---Mike > > > -- > Rozhuk Ivan > > > >> -Original Message- >> From: Mike Tancsa [mailto:m...@sentex.net] >> Sent: Friday, June 24, 2011 5:40 AM >> To: rozhuk...@gmail.com >> Cc: 'Adrian Minta'; freebsd-net@freebsd.org >> Subject: Re: FreeBSD 8.2 and MPD5 stability issues >> >> On 6/23/2011 4:17 PM, rozhuk...@gmail.com wrote: >>> >>> Try: >>> net.inet.ip.fastforwarding = 0 >>> net.isr.bindthreads = 1 >>> net.isr.direct = 0 >>> net.isr.direct_force = 0 >> >> If net.isr.direct is disabled, does setting net.isr.bindthreads do >> anything ? Also, why disable the fastforwarding ? >> >> ---Mike >> >> >> >> -- >> --- >> Mike Tancsa, tel +1 519 651 3400 >> Sentex Communications, m...@sentex.net >> Providing Internet services since 1994 www.sentex.net >> Cambridge, Ontario Canada http://www.tancsa.com/ > > > -- --- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, m...@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/ ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"