Re: netmap, netmap-fwd, and how many M packets-per-second?

2016-12-02 Thread Jakub Palider
Hi, I have run some performance tests but not as router, which is your case, so some information might not be relevant: 0. validate your hw stats with what you get from the output 1. Try using FLOWTABLE option in your kernel config - this may kill your machine in -CURRENT, but it's worth checking

[Bug 206185] [netgraph][patch] refactoring ng_patch

2016-12-02 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206185 --- Comment #4 from commit-h...@freebsd.org --- A commit references this bug: Author: julian Date: Fri Dec 2 10:47:10 UTC 2016 New revision: 309408 URL: https://svnweb.freebsd.org/changeset/base/309408 Log: Changes to allow the patching

Re: netmap, netmap-fwd, and how many M packets-per-second?

2016-12-02 Thread Vincenzo Maffione
Hi, If I'm getting it right, you are doing a test with 10 machines directly connected on the same LAN, using iperf to test the performance of the TCP/IP stack with your 10Gbit cards. But as far as I can see, netmap is not involved in your setup, you are not using it, aren't you? IOW , I don't und

Re: Looking for some help with netmap/bhyve

2016-12-02 Thread Vincenzo Maffione
Hi, Thanks for testing, the numbers you report make sense, 7-15 Mpps is good for an old machine. On my machine I get 25 Mpps, so probably you could get something similar with newer hardware. The crash dumps you reported are not related to ptnetmap, but to the emulated (aka generic) netmap mode d

File duplication on NFSv4 exported ZFS filesystems to centos client

2016-12-02 Thread Jordan Ladora
Curious phenomenon of file pseudo-dup with exported ZFS filesystems on FreeBSD 10.3-REL NFSv4 export to a centos7 client. *FreeBSD server-* zpool create zpool_nfsv4 ... zfs create zpool_nfsv4/zfs2 zfs create zpool_nfsv4/zfs3 /etc/exports- V4: / /zpool_nfsv4 /zpool_nfsv4/zfs2 /zpool_nfsv4

mutex usage in if_bridge vs other drivers

2016-12-02 Thread Chris Torek
I'm not sure if this is really a freebsd-net topic or more generic kernel, but since I observed this by looking for possible causes of a bizarre network driver crash I'll send it here (I'm not on the freebsd-net mailing list but I'll check the archives for a bit too). When doing if_bridge SIOCSDRV

Re: File duplication on NFSv4 exported ZFS filesystems to centos client

2016-12-02 Thread Rick Macklem
Jordan Ladora wrote: >Curious phenomenon of file pseudo-dup with exported ZFS filesystems on >FreeBSD 10.3-REL NFSv4 export to a centos7 client. > > >*FreeBSD server-* > >zpool create zpool_nfsv4 ... > >zfs create zpool_nfsv4/zfs2 > >zfs create zpool_nfsv4/zfs3 > > >/etc/exports- > >V4: / > >/zpool

[Bug 214746] Carp ipv6 duplicate address detection

2016-12-02 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214746 Kubilay Kocak changed: What|Removed |Added Status|New |Open Keywords|

Re: mutex usage in if_bridge vs other drivers

2016-12-02 Thread Ryan Stone
On Fri, Dec 2, 2016 at 3:42 PM, Chris Torek wrote: > THE QUESTION: > > - Who is wrong, the bxe driver or the bridge code? I.e., >does the bridge driver need to release its lock here, >and if so, is that actually safe to do? (We might need >to restart the loop over all the members if

Re: mutex usage in if_bridge vs other drivers

2016-12-02 Thread Chris Torek
>... Dropping the lock is entirely the wrong thing to do -- as >you note, if we do, then the bridge members can change out from >under us. The only path forward is to use an sx lock, but ... [snip] >In code paths that modify the list of bridge members, hold both the >BRIDGE_LOCK and the new sx lo