Re: mlx5 irq

2020-10-01 Thread Slawa Olhovchenkov
On Thu, Oct 01, 2020 at 10:10:42AM +0200, Hans Petter Selasky wrote: > On 2020-10-01 09:39, Michal Vančo via freebsd-net wrote: > > Hi > > Hi Michal, > > > I have a server with one Mellanox ConnectX-4 adapter and the following > > CPU configuration (SMT disabled): > > > > # dmesg | grep SMP > >

Re: mlx5 interrupts

2020-07-20 Thread Slawa Olhovchenkov
On Mon, Jul 20, 2020 at 03:38:48PM +0300, Slawa Olhovchenkov wrote: > On Mon, Jul 20, 2020 at 03:05:50PM +0300, Slawa Olhovchenkov wrote: > > > > > Currently this is idle server and totaly interrupts count for firmware > > > > command completion is 50x mor

Re: mlx5 interrupts

2020-07-20 Thread Slawa Olhovchenkov
On Mon, Jul 20, 2020 at 03:05:50PM +0300, Slawa Olhovchenkov wrote: > > > Currently this is idle server and totaly interrupts count for firmware > > > command completion is 50x more compared to completion queue > > > interrupts. I am afraid to flooded at prodation

Re: mlx5 interrupts

2020-07-20 Thread Slawa Olhovchenkov
On Mon, Jul 20, 2020 at 02:31:48PM +0300, Konstantin Belousov wrote: > On Mon, Jul 20, 2020 at 02:04:26PM +0300, Slawa Olhovchenkov wrote: > > On Mon, Jul 20, 2020 at 01:43:39PM +0300, Konstantin Belousov wrote: > > > > > On Sun, Jul 19, 2020 at 07:12:07PM +0300,

Re: mlx5 interrupts

2020-07-20 Thread Slawa Olhovchenkov
On Mon, Jul 20, 2020 at 01:43:39PM +0300, Konstantin Belousov wrote: > On Sun, Jul 19, 2020 at 07:12:07PM +0300, Slawa Olhovchenkov wrote: > > Can anybody explain what purpose of unnamed interrupts of Mellanox > > ConnectX-5 cards? > > > > I am see 19 interrupts per ca

mlx5 interrupts

2020-07-19 Thread Slawa Olhovchenkov
Can anybody explain what purpose of unnamed interrupts of Mellanox ConnectX-5 cards? I am see 19 interrupts per card. I am mean last 16 is RX queue. What about first 3? Also I am see very high rate for irq287/irq306 -- is this good? # vmstat -i | grep -e ^int -e mlx interrupt

Re: netmap/ixl and crc addition..

2020-03-25 Thread Slawa Olhovchenkov
On Wed, Mar 25, 2020 at 11:31:30PM +0100, Vincenzo Maffione wrote: > Hi Alexandre, > Thanks. Your patch looks good to me. I assume you have tested it? > I will commit that to stable/11. > > The issue you report on stable/12 is more worrisome. The 'no space in TX > ring' condition (head==cur==ta

Re: Intel NETMAP performance and packet type

2020-02-28 Thread Slawa Olhovchenkov
On Fri, Feb 28, 2020 at 06:37:22PM +0100, Vincenzo Maffione wrote: > Il giorno ven 28 feb 2020 alle ore 12:26 Slawa Olhovchenkov > ha scritto: > > > On Thu, Feb 27, 2020 at 11:16:50PM +0300, Slawa Olhovchenkov wrote: > > > > > On Thu, Feb 27, 2020 at 06:51:54PM

Re: Intel NETMAP performance and packet type

2020-02-28 Thread Slawa Olhovchenkov
On Fri, Feb 28, 2020 at 06:31:36PM +0100, Vincenzo Maffione wrote: > Il giorno gio 27 feb 2020 alle ore 21:17 Slawa Olhovchenkov > ha scritto: > > > On Thu, Feb 27, 2020 at 06:51:54PM +0100, Vincenzo Maffione wrote: > > > > > Hi, > > > So, the issue i

Re: Intel ix staled under heavy load

2020-02-28 Thread Slawa Olhovchenkov
On Wed, Jan 15, 2020 at 09:41:06AM +0100, Hans Petter Selasky wrote: > On 2020-01-14 19:26, Nick Rogers wrote: > > On Tue, Jan 14, 2020 at 10:09 AM Hans Petter Selasky > > wrote: > > > >> On 2020-01-14 16:07, Slawa Olhovchenkov wrote: > >>>> thi

Re: Chelsio NETMAP performance

2020-02-25 Thread Slawa Olhovchenkov
On Wed, Feb 05, 2020 at 05:59:14PM -0800, Navdeep Parhar wrote: > On Wed, Feb 05, 2020 at 02:38:32PM +0300, Slawa Olhovchenkov wrote: > > On Tue, Feb 04, 2020 at 12:37:08PM -0800, Navdeep Parhar wrote: > > > > > >> nm_holdoff_tmr_idx is a 0-based index i

Re: Chelsio NETMAP performance

2020-02-05 Thread Slawa Olhovchenkov
On Tue, Feb 04, 2020 at 12:37:08PM -0800, Navdeep Parhar wrote: > >> nm_holdoff_tmr_idx is a 0-based index into the list above. So if the > >> tmr idx is 0 you are using the 0th (first) value from the list of > >> timers. Try increasing nm_holdoff_tmr_idx and see if that brings down > >> the int

Re: Chelsio NETMAP performance

2020-02-04 Thread Slawa Olhovchenkov
On Mon, Feb 03, 2020 at 02:39:03PM -0800, Navdeep Parhar wrote: > On 2/3/20 2:23 PM, Slawa Olhovchenkov wrote: > > On Mon, Feb 03, 2020 at 01:39:52PM -0800, Navdeep Parhar wrote: > > > >> On 2/3/20 12:17 PM, Slawa Olhovchenkov wrote: > >>> I am try to use Ch

Intel X710 NETMAP trouble

2020-02-04 Thread Slawa Olhovchenkov
I am see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230465 about troubles w/ NETMAP and Intel X710. I am try use X710 on FreeBSD 12-STABLE and pkt-get don't able send many packets (sending staled after first second). I.e. problem still exist and no progress? ___

Re: Chelsio NETMAP performance

2020-02-03 Thread Slawa Olhovchenkov
On Mon, Feb 03, 2020 at 01:39:52PM -0800, Navdeep Parhar wrote: > On 2/3/20 12:17 PM, Slawa Olhovchenkov wrote: > > I am try to use Chelsio T540-CR in netmap mode and see poor (compared > > to Intel 82599ES) performance. > > What approximate FreeBSD version is this? 12.1-

Intel NETMAP performance and packet type

2020-02-03 Thread Slawa Olhovchenkov
I am try use Intel 82599ES in NETMAP mode for filtering traffic. For SYN-flood case my application can recive (by poll(2)) about 12-13Mpps by 2 thread at X5675@3.07GHz (all other traffic don't recived by kernel). For ACK-flood case my application can recive (by poll(2)) only about 5.8Mpss by 2 t

Chelsio NETMAP performance

2020-02-03 Thread Slawa Olhovchenkov
I am try to use Chelsio T540-CR in netmap mode and see poor (compared to Intel 82599ES) performance. Same application ac receive only about 8.9Mpss, compared to 12.5Mpps at Intel. pmc profile show mostly time spend in: 49.76% [17802]service_nm_rxq @ /boot/kernel/if_cxgbe.ko 100.0% [17802]

Re: Intel ix staled under heavy load

2020-01-15 Thread Slawa Olhovchenkov
On Wed, Jan 15, 2020 at 09:41:06AM +0100, Hans Petter Selasky wrote: > On 2020-01-14 19:26, Nick Rogers wrote: > > On Tue, Jan 14, 2020 at 10:09 AM Hans Petter Selasky > > wrote: > > > >> On 2020-01-14 16:07, Slawa Olhovchenkov wrote: > >>>> thi

Re: Intel ix staled under heavy load

2020-01-14 Thread Slawa Olhovchenkov
On Tue, Jan 14, 2020 at 04:01:03PM +0100, Hans Petter Selasky wrote: > On 2020-01-14 15:54, Slawa Olhovchenkov wrote: > > What is problem? How to resolve this? > > Iff you do "ifconfig xxx down" and then "ifconfig xxx up" and the > interface comes back,

Intel ix staled under heavy load

2020-01-14 Thread Slawa Olhovchenkov
I am see strange behavior of Intel ix card (82599ES 10-Gigabit SFI/SFP+ Network Connection). Under heavy load in NETMAP mode NIC is lost input traffic, i.e. all packets counted as `dev.ix.1.mac_stats.rx_missed_packets`, netstat show high traffic rate: # netstat -nbI ix1 1 input

Re: NFSv4 without Kerberos

2019-08-16 Thread Slawa Olhovchenkov
On Fri, Aug 16, 2019 at 03:37:49PM +0300, Alexander Lunev via freebsd-net wrote: > > /NFS -maproot=root -sec=krb5i > > V4: /NFS -sec=krb5i > > > > and this work ok for nfsv4 mount (mount -t nfsv4 host:/) > > > > May be order is important? > > I've already tried in any order, it doesn't change

Re: NFSv4 without Kerberos

2019-08-16 Thread Slawa Olhovchenkov
On Fri, Aug 16, 2019 at 03:09:22PM +0300, Alexander Lunev via freebsd-net wrote: > > And add to exports: > > > > /mnt/v4share -sec=sys -network 10.101.0 -mask 255.255.255.0 > > It gives mountd error: > > bad exports list line '/mnt/v4share -sec' > > If I remove -sec=sys, then mountd errors in

Re: NFSv4 without Kerberos

2019-08-16 Thread Slawa Olhovchenkov
On Fri, Aug 16, 2019 at 02:44:34PM +0300, Alexander Lunev via freebsd-net wrote: > >> root@netboot_v4: ~# mount_nfs -o nfsvers=4 10.101.0.1:/mnt/v4share /var/mnt > >> [tcp] 10.101.0.1:/mnt/v4share: Permission denied > > > > try `mount_nfs -o nfsvers=4 10.101.0.1:/ /var/mnt` > > Tried, same resul

Re: NFSv4 without Kerberos

2019-08-16 Thread Slawa Olhovchenkov
On Fri, Aug 16, 2019 at 01:05:27PM +0300, Alexander Lunev via freebsd-net wrote: > Hello everyone! > > I'm trying to build diskless system with some mounts done by NFSv4, and > i can't figure out how to mount share without kerberos, with -sec=sys > flavour. Doing all by handbook, on server i ha

Re: NETGRAPH- bridge vlans using netgraph help

2018-04-27 Thread Slawa Olhovchenkov
On Fri, Apr 27, 2018 at 01:13:48AM +0700, Eugene Grosbein wrote: > 27.04.2018 0:58, Abdullah Tariq wrote: > > > I am trying to make 2 systems connected to freebsd box directly to be able > > to communicated with each other. Explanation diagram is attached > > > > ifconfig vlan2 create vlan 5 vla

Re: mlx4en, timer irq @100%... (11.0 stuck on high network load ???)

2017-08-08 Thread Slawa Olhovchenkov
On Tue, Aug 08, 2017 at 01:49:08PM +0200, Hans Petter Selasky wrote: > On 08/08/17 13:33, Slawa Olhovchenkov wrote: > > TW_RUNLOCK(V_tw_lock); > > and > > if (INP_INFO_TRY_WLOCK(&V_tcbinfo)) { > > > > `inp` can be invalidated, freed and this pointer may be

Re: mlx4en, timer irq @100%... (11.0 stuck on high network load ???)

2017-08-08 Thread Slawa Olhovchenkov
On Tue, Aug 08, 2017 at 10:31:33AM +0200, Hans Petter Selasky wrote: > Here is the conclusion: > > The following code is going in an infinite loop: > > > > for (;;) { > > TW_RLOCK(V_tw_lock); > > tw = TAILQ_FIRST(&V_twq_2msl); > > if (tw =

Re: The fate of ngatm

2017-04-28 Thread Slawa Olhovchenkov
On Thu, Apr 27, 2017 at 06:00:29PM +, Brooks Davis wrote: > As previous threatened, I've removed support for NATM (as well as a > remarkable number of remnants of the old ATM framework). One piece > that still remains is the ngatm framework in netgraph. This includes > the ng_ccatm(4), ng_ss

Re: [PF] Symmetric routing enforcement, how-to without using "reply-to"...

2017-04-05 Thread Slawa Olhovchenkov
On Wed, Apr 05, 2017 at 02:46:06PM +0200, Nils Beyer wrote: > I wrote: > > If I try > > > > ping -S 8.0.0.1 8.8.8.8 > > > > or > > > > ping -S 9.0.0.1 8.8.8.8 > > > > I always see packets only going out on the default gateway's interface. > > sorry, my fault. After issuing a "pfctl -F

Re: [PF] Symmetric routing enforcement, how-to without using "reply-to"...

2017-04-05 Thread Slawa Olhovchenkov
On Wed, Apr 05, 2017 at 01:20:57PM +0200, Nils Beyer wrote: > Hi, > > we have two internet lines here. > > Following situation (IP addresses changed) on my server: > > iface "wan1" = 8.0.0.1/24 - GW1 8.0.0.254 (internet line 1) > iface "wan2" = 9.0.0.1/24 - GW2 9.0.0.254 (internet l

Re: TSO and packets accounting

2017-03-25 Thread Slawa Olhovchenkov
On Sat, Mar 25, 2017 at 04:32:33PM -0700, Navdeep Parhar wrote: > On Sun, Mar 26, 2017 at 01:39:30AM +0300, Slawa Olhovchenkov wrote: > > How to acoount output packets w/ TSO? > > I mean as one large packet. What I see: > > > > # netstat -nbI lagg0 1 > >

TSO and packets accounting

2017-03-25 Thread Slawa Olhovchenkov
How to acoount output packets w/ TSO? I mean as one large packet. What I see: # netstat -nbI lagg0 1 input lagg0 output packets errs idrops bytespackets errs bytes colls 1702715 0 0 185606274492 0 9401968581 0 1623416

Re: bad throughput performance on multiple systems: Re: Fwd: Re: Disappointing packets-per-second performance results on a Dell,PE R530

2017-03-17 Thread Slawa Olhovchenkov
On Fri, Mar 17, 2017 at 03:21:37PM -0400, John Jasen wrote: > On 03/17/2017 06:08 AM, Slawa Olhovchenkov wrote: > > > On Thu, Mar 16, 2017 at 03:50:42PM -0400, John Jasen wrote: > > > >> As a few points of note, partial resolution, and curiosity: > >> > >

Re: bad throughput performance on multiple systems: Re: Fwd: Re: Disappointing packets-per-second performance results on a Dell,PE R530

2017-03-17 Thread Slawa Olhovchenkov
On Thu, Mar 16, 2017 at 03:50:42PM -0400, John Jasen wrote: > As a few points of note, partial resolution, and curiosity: > > Following down leads that 11-STABLE had tryforward improvements over > 11-RELENG, I upgraded. The same tests (24 client streams over UDP with > small packets), the system

Re: bad throughput performance on multiple systems: Re: Fwd: Re: Disappointing packets-per-second performance results on a Dell,PE R530

2017-03-12 Thread Slawa Olhovchenkov
On Sun, Mar 12, 2017 at 06:13:46PM -0400, John Jasen wrote: > I think I am able to confirm Mr. Caraballo's findings. > > I pulled a Dell PowerEdge 720 out of production, and upgraded it to > 11-RELEASE-p8. > > Currently, as in the R530, it has a single Chelsio T5-580, but has two > v2 Intel E5-2

Re: ipsec with ipfw

2017-03-12 Thread Slawa Olhovchenkov
On Sat, Mar 11, 2017 at 09:53:39PM -0800, Ermal Luçi wrote: > On Sat, Mar 11, 2017 at 2:16 PM, Slawa Olhovchenkov wrote: > > > On Sun, Mar 12, 2017 at 12:53:44AM +0330, Hooman Fazaeli wrote: > > > > > Hi, > > > > > > As you know the ipsec/set

Re: ipsec with ipfw

2017-03-11 Thread Slawa Olhovchenkov
On Sun, Mar 12, 2017 at 12:53:44AM +0330, Hooman Fazaeli wrote: > Hi, > > As you know the ipsec/setkey provide limited syntax to define security > policies: only a single subnet/host, protocol number and optional port > may be used to specify traffic's source and destination. > > I was thinking

Re: about that DFBSD performance test

2017-03-08 Thread Slawa Olhovchenkov
On Wed, Mar 08, 2017 at 04:03:46PM +0100, Mateusz Guzik wrote: > On Wed, Mar 08, 2017 at 03:57:10PM +0300, Slawa Olhovchenkov wrote: > > On Wed, Mar 08, 2017 at 05:25:57AM -0700, Kevin Bowling wrote: > > > > > Right off the bat, FreeBSD doesn't really understand

Re: about that DFBSD performance test

2017-03-08 Thread Slawa Olhovchenkov
On Wed, Mar 08, 2017 at 05:25:57AM -0700, Kevin Bowling wrote: > Right off the bat, FreeBSD doesn't really understand NUMA in any sufficient > capacity. Unfortunately at companies like the one I work at, we take that > to mean "OK buy a high bin CPU and only populate one socket" which serves NUM

Re: about that DFBSD performance test

2017-03-08 Thread Slawa Olhovchenkov
On Wed, Mar 08, 2017 at 09:00:34AM +0500, Eugene M. Zheganin wrote: > Hi. > > Some have probably seen this already - > http://lists.dragonflybsd.org/pipermail/users/2017-March/313254.html > > So, could anyone explain why FreeBSD was owned that much. Test is split > into two parts, one is ngin

Re: listening sockets as non sockets

2017-02-27 Thread Slawa Olhovchenkov
On Mon, Feb 27, 2017 at 09:36:56AM +0800, Sepherosa Ziehau wrote: > On Sat, Feb 25, 2017 at 11:56 PM, Slawa Olhovchenkov wrote: > > On Sat, Feb 25, 2017 at 11:09:29PM +0800, Sepherosa Ziehau wrote: > > > >> > Can I use per-connection Lua script (for delays and url

Re: listening sockets as non sockets

2017-02-25 Thread Slawa Olhovchenkov
On Sat, Feb 25, 2017 at 11:09:29PM +0800, Sepherosa Ziehau wrote: > > Can I use per-connection Lua script (for delays and url generation)? > > Not per-thread. I am need to emulate many client connections (about > > 10K-40K). > > Currently I am have some trouble w/ >20K connections. > > I didn't t

Re: listening sockets as non sockets

2017-02-24 Thread Slawa Olhovchenkov
On Thu, Feb 23, 2017 at 06:36:36PM +0300, Slawa Olhovchenkov wrote: > On Thu, Feb 23, 2017 at 11:40:21AM +0800, Sepherosa Ziehau wrote: > > > On Thu, Feb 23, 2017 at 7:27 AM, Gleb Smirnoff wrote: > > > On Tue, Feb 21, 2017 at 09:58:45AM +0100, Julien Charbon wrote: >

Re: listening sockets as non sockets

2017-02-23 Thread Slawa Olhovchenkov
On Thu, Feb 23, 2017 at 11:40:21AM +0800, Sepherosa Ziehau wrote: > On Thu, Feb 23, 2017 at 7:27 AM, Gleb Smirnoff wrote: > > On Tue, Feb 21, 2017 at 09:58:45AM +0100, Julien Charbon wrote: > > J> > T> 1) The patch worked pretty okay, but the idea of separate file type > > is > > J> > T>aban

Re: netmap_mem_get_info

2017-02-16 Thread Slawa Olhovchenkov
f inside and outside interface next thread open descriptors to 2nd ring of inside and outside interface and etc in round-roubin. every balancer thread open 2 pipe to every worker thread. how many if_num, ring_num, buf_num I am need to configure? > 2017-02-16 21:38 GMT+01:00 Slawa Olhovchenkov

Re: netmap_mem_get_info

2017-02-16 Thread Slawa Olhovchenkov
or"). > By default there is a single memory area used by all the hardware NICs and > a separate memory area for each VALE port. > This is already configurable, however. This values also depends on open netmap descriptors, right? > 2017-02-14 13:36 GMT+01:00 Slawa Olhovchenkov : &

Re: netmap_mem_get_info

2017-02-14 Thread Slawa Olhovchenkov
On Tue, Feb 14, 2017 at 12:26:55PM +0100, Vincenzo Maffione wrote: > Hi, > Have you tried to play with netmap sysctl parameters like: > > dev.netmap.buf_num > dev.netmap.ring_num > dev.netmap.if_num > > those are listed in the sysctl section of the netmap man page. man page hide details about

Re: NFSROOT and lagg(4)

2017-02-04 Thread Slawa Olhovchenkov
On Sat, Feb 04, 2017 at 01:44:21PM -0700, Sean Bruno wrote: > "what I want" is to pxe/netboot and then switch over to using a lagg(4) > interface that includes the interface used in the pxe/netboot boot up. > I suspect, I have to switch to MDROOT to do this, but I thought I'd ask > if anyone is do

Re: Disappointing packets-per-second performance results on a Dell, PE R530

2017-02-01 Thread Slawa Olhovchenkov
On Tue, Jan 31, 2017 at 08:00:03PM -0400, Jordan Caraballo wrote: > Hi Oliver, my bad, I missed that one. Here is the info: > > * Switch with 48x 10G ports and 12x 40G ports was used > * (48) 10G connected nodes were used. > * (24) nodes on each side of the firewall > * Packet per second (PPS) te

Re: Disappointing packets-per-second performance results on a Dell,PE R530

2017-01-31 Thread Slawa Olhovchenkov
On Tue, Jan 31, 2017 at 01:53:15PM -0400, Jordan Caraballo wrote: > This are the most recent stats. No advances so far. The system has > -Current right now. This is like you have only one flow: only CPU 26 and 27 loaded. Use different benchmark, create multiple IP flow (w/ different source/dest

LACP: Fatal trap 18: integer divide fault while in kernel mode

2017-01-28 Thread Slawa Olhovchenkov
I am got panic on recent stable: Fatal trap 18: integer divide fault while in kernel mode cpuid = 3; apic id = 06 instruction pointer = 0x20:0x81453230 stack pointer = 0x28:0xfe3e56f46480 frame pointer = 0x28:0xfe3e56f464a0 code segment= base 0x0

Re: all network people please review this proposal: because someone is going to commit it soon. D5017

2017-01-20 Thread Slawa Olhovchenkov
On Fri, Jan 20, 2017 at 11:00:18PM +0800, Julian Elischer wrote: > Unless eri gets to it first I will. > > see https://reviews.freebsd.org/D5017 > > If you have a server, you can put an arbitrary number of clients on > the same port number because they all have different addresses. > > However

Re: decent 40G network adapters

2017-01-18 Thread Slawa Olhovchenkov
On Wed, Jan 18, 2017 at 02:48:19PM +0500, Eugene M. Zheganin wrote: > Hi. > > Could someone recommend a decent 40Gbit adapter that are proven to be > working under FreeBSD ? The intended purpose - iSCSI traffic, not much > pps, but rates definitely above 10G. I've tried Supermicro-manufactured >

Re: Has anybody looked at Cisco VPP?

2017-01-16 Thread Slawa Olhovchenkov
On Mon, Jan 16, 2017 at 11:59:48AM +0100, sth...@nethelp.no wrote: > Has anybody looked at Cisco VPP? > > http://blogs.cisco.com/sp/a-bigger-helping-of-internet-please > > It would be interesting to see comparisons with netmap. Unrelated. netmap is a compute-efficient network I/O, like DPDK

Re: NFSv4 stuck

2017-01-13 Thread Slawa Olhovchenkov
On Fri, Jan 13, 2017 at 11:02:22PM +, Rick Macklem wrote: > Slawa Olhovchenkov wrote: > [stuff snipped] > >> > > >> >What data? In may case no data. > You have a file system with no files in it. (It is file data I am referring > to.) > Admittedly a re

Re: NFSv4 stuck

2017-01-12 Thread Slawa Olhovchenkov
On Thu, Jan 12, 2017 at 11:08:18PM +, Rick Macklem wrote: > Slawa Olhovchenkov wrote: > > >On Thu, Jan 12, 2017 at 01:13:58PM +0700, Eugene Grosbein wrote: > > > >> 12.01.2017 6:50, Slawa Olhovchenkov пишет: > >> > On Wed, Jan 11, 2017 at

Re: NFSv4 stuck

2017-01-12 Thread Slawa Olhovchenkov
On Thu, Jan 12, 2017 at 01:13:58PM +0700, Eugene Grosbein wrote: > 12.01.2017 6:50, Slawa Olhovchenkov пишет: > > On Wed, Jan 11, 2017 at 03:20:22PM -0800, Michael Sinatra wrote: > > > >> On 01/11/17 14:59, Slawa Olhovchenkov wrote: > >>> On Wed, Jan 11, 20

Re: NFSv4 stuck

2017-01-11 Thread Slawa Olhovchenkov
On Wed, Jan 11, 2017 at 03:20:22PM -0800, Michael Sinatra wrote: > On 01/11/17 14:59, Slawa Olhovchenkov wrote: > > On Wed, Jan 11, 2017 at 10:39:42PM +, Rick Macklem wrote: > > > >> "umount -f" is your only chance. However, if there is already a non-forced

Re: NFSv4 stuck

2017-01-11 Thread Slawa Olhovchenkov
2049 Trying 185.38.13.26... Connected to 185.38.13.26. Escape character is '^]'. ^C^] telnet> q I am don't know how to check more -- currently no sockets try > ____ > From: owner-freebsd-...@freebsd.org on behalf > of Slawa Olhovchenk

NFSv4 stuck

2017-01-11 Thread Slawa Olhovchenkov
I am have NFSv4 mount dir and some time got stucked after access. Mounted by automount: # cat /etc/nfs.map /NFS-nfsv4,intr,soft,sec=krb5i,gssname=host stat:/ # mount -v map -hosts on /net (autofs, fsid 01ff00cfcf00) map nfs.map on /NFS (autofs, fsid 02ff00cfcf00) map nfs.map on /NFS

Re: Disappointing packets-per-second performance results on a Dell,PE R530

2017-01-03 Thread Slawa Olhovchenkov
On Tue, Jan 03, 2017 at 12:35:42PM -0400, Jordan Caraballo wrote: > We recently tested a Dell R530 with a Chelsio T580 card, under FreeBSD 10.3, > 11.0, -STABLE and -CURRENT, and Centos 7. > > Based on our research, including netmap-fwd and with the routing improvements > project (https://wiki.

Re: [RFC/RFT] projects/ipsec

2016-12-11 Thread Slawa Olhovchenkov
On Sun, Dec 11, 2016 at 03:53:49PM +0300, Andrey V. Elsukov wrote: > On 11.12.2016 15:50, Slawa Olhovchenkov wrote: > >> You can specify what you want, but this just will not work as you > >> expect. A router usually must not handle all TCP sessions that it > > &g

Re: [RFC/RFT] projects/ipsec

2016-12-11 Thread Slawa Olhovchenkov
On Sun, Dec 11, 2016 at 03:19:24PM +0300, Andrey V. Elsukov wrote: > On 11.12.2016 15:15, Slawa Olhovchenkov wrote: > >> IPsec is a set of protocol handlers - ESP/AH/IPcomp. Inbound packets are > >> handled by security association with given destination address and SPI. >

Re: [RFC/RFT] projects/ipsec

2016-12-11 Thread Slawa Olhovchenkov
On Sun, Dec 11, 2016 at 03:09:28PM +0300, Andrey V. Elsukov wrote: > On 11.12.2016 14:58, Slawa Olhovchenkov wrote: > >> No. An encapsulated by gif(4) packet is considered as own packet. The > >> described change is related to transport mode policies, that are match > &

Re: [RFC/RFT] projects/ipsec

2016-12-11 Thread Slawa Olhovchenkov
On Sun, Dec 11, 2016 at 02:33:43PM +0300, Andrey V. Elsukov wrote: > On 11.12.2016 12:13, Eugene Grosbein wrote: > > 11.12.2016 6:07, Andrey V. Elsukov пишет: > > > >> * use transport mode IPsec for forwarded IPv4 packets now unsupported. > >> This matches the IPv6 behavior, and since we can hand

Re: lagg Interfaces - don't do Gratuitous ARP?

2016-09-22 Thread Slawa Olhovchenkov
On Thu, Sep 22, 2016 at 05:50:09PM +0100, Steven Hartland wrote: > Having tested with a number of vendor switches Cisco, Extreme and more > recently Arista only sending gratuitous ARP for IPv4 and unsolicited NA > for IPv6 reliably resulted in rapid failover between LAGG ports. > > Other method

Re: NETMAP application architecture question

2016-09-16 Thread Slawa Olhovchenkov
g size per balancer. i.e. about 131072 buffers per balancer and about 512K total buffers. How I can do this? > On Fri, Sep 16, 2016 at 4:57 PM, Slawa Olhovchenkov wrote: > > I am wrote NETMAP application and meet some limitation. > > I am use server 16-core server. > >

Re: NETMAP application architecture question

2016-09-16 Thread Slawa Olhovchenkov
ate. Do you plan to update code in freebsd tree? > Cheers > Luigi > > On Fri, Sep 16, 2016 at 4:57 PM, Slawa Olhovchenkov wrote: > > I am wrote NETMAP application and meet some limitation. > > I am use server 16-core server. > > Workers thread run mostly independend, wi

NETMAP application architecture question

2016-09-16 Thread Slawa Olhovchenkov
I am wrote NETMAP application and meet some limitation. I am use server 16-core server. Workers thread run mostly independend, with minimal interworking. I am use balancer threads for distributing packet flow between worker threads. I am using two NETMAP pipes between balancer and workers. As resul

Re: 60G+ network connection

2016-09-02 Thread Slawa Olhovchenkov
On Fri, Sep 02, 2016 at 04:02:20PM +0200, Kajetan Staszkiewicz wrote: > On day piątek, 2 września 2016 13:02:03 Slawa Olhovchenkov wrote: > > > > > PS: 100G transmiters and connectiveti too expensive, 2x40G prefer. > > > > > > You can put 2x 40GBit/s modules

Re: 60G+ network connection

2016-09-02 Thread Slawa Olhovchenkov
On Fri, Sep 02, 2016 at 11:44:20AM +0200, Hans Petter Selasky wrote: > On 09/02/16 11:31, Slawa Olhovchenkov wrote: > > On Fri, Sep 02, 2016 at 09:37:25AM +0200, Hans Petter Selasky wrote: > > > >> On 09/01/16 23:18, Slawa Olhovchenkov wrote: > >>> What hardwa

Re: 60G+ network connection

2016-09-02 Thread Slawa Olhovchenkov
On Fri, Sep 02, 2016 at 09:37:25AM +0200, Hans Petter Selasky wrote: > On 09/01/16 23:18, Slawa Olhovchenkov wrote: > > What hardware (NIC) recomended for 60G+ network speed? > > > > Chelsio limited to 54Gbit/s > > Melanox don't available new drivers for Conne

60G+ network connection

2016-09-01 Thread Slawa Olhovchenkov
What hardware (NIC) recomended for 60G+ network speed? Chelsio limited to 54Gbit/s Melanox don't available new drivers for ConnectX-5 and need too expensive transmiters and connectivity. Melanox don't available new drivers for ConnectX-4 Lx and also limited to 54Gbit/s Intel XL710 also limited to

Network stack profiling/optimisation

2016-08-26 Thread Slawa Olhovchenkov
I am collect some data releted to network stack performance under heavy load. This is data collected on dual E5-2620, under 20Gbit load. At time peak network traffic (more then 25K connections, about 20Gbit total traffic) half of cores fully utilised by network stack. This is flamegraph from one

Re: Is NFSv4 mount interruptible?

2016-08-02 Thread Slawa Olhovchenkov
On Wed, Aug 03, 2016 at 01:55:02AM +0300, Slawa Olhovchenkov wrote: > On Tue, Aug 02, 2016 at 10:48:52PM +, Rick Macklem wrote: > > > Slawa wrote: > > >I have autofs NFSv4 mount with /etc/nfs.map: > > > > > >/NFS-nfsv4,intr,soft,sec=krb5i,gssname=

Re: Is NFSv4 mount interruptible?

2016-08-02 Thread Slawa Olhovchenkov
On Tue, Aug 02, 2016 at 10:48:52PM +, Rick Macklem wrote: > Slawa wrote: > >I have autofs NFSv4 mount with /etc/nfs.map: > > > >/NFS-nfsv4,intr,soft,sec=krb5i,gssname=host storage01:/ > > > >Currently I am see NFS hung and I am can't kill shell and can't > >unmount /NFS. > > > >Is NFSv4 mo

Is NFSv4 mount interruptible?

2016-08-02 Thread Slawa Olhovchenkov
I have autofs NFSv4 mount with /etc/nfs.map: /NFS-nfsv4,intr,soft,sec=krb5i,gssname=host storage01:/ Currently I am see NFS hung and I am can't kill shell and can't unmount /NFS. Is NFSv4 mount interruptible? Or intr support only by NFSv3? ___ free

Re: How to setup ethernet address and IPv4 address on interface?

2016-06-29 Thread Slawa Olhovchenkov
On Wed, Jun 29, 2016 at 02:13:59PM +0200, Patrick M. Hausen wrote: > Hi! > > > Am 29.06.2016 um 14:01 schrieb Slawa Olhovchenkov : > > I am need in one call, multiple commands not allways allowed. > > Using /etc/start_if.$IFNAME produce side effects and can mask errors &

Re: How to setup ethernet address and IPv4 address on interface?

2016-06-29 Thread Slawa Olhovchenkov
On Wed, Jun 29, 2016 at 01:51:40PM +0200, Kristof Provost wrote: > On 29 Jun 2016, at 13:47, Slawa Olhovchenkov wrote: > > I am trying to change MAC address and setup IPv4 address and got > > error: > > > > # ifconfig em1 ether 00:30:48:63:19:04 inet 192.168.2.1/24 &

How to setup ethernet address and IPv4 address on interface?

2016-06-29 Thread Slawa Olhovchenkov
I am trying to change MAC address and setup IPv4 address and got error: # ifconfig em1 ether 00:30:48:63:19:04 inet 192.168.2.1/24 ifconfig: can't set link-level netmask or broadcast Is this posible? ___ freebsd-net@freebsd.org mailing list https://list

Re: ipfw fwd to closed port

2016-06-09 Thread Slawa Olhovchenkov
On Thu, Jun 09, 2016 at 09:08:33AM -0400, Kristof Provost wrote: > > > On 9 Jun 2016, at 9:06, Slawa Olhovchenkov wrote: > > > On Thu, Jun 09, 2016 at 03:00:17PM +0200, Kristof Provost wrote: > > > >> On 2016-06-09 02:02:40 (+0300), Slawa Olhovchenkov wrote: &

Re: ipfw fwd to closed port

2016-06-09 Thread Slawa Olhovchenkov
On Thu, Jun 09, 2016 at 03:00:17PM +0200, Kristof Provost wrote: > On 2016-06-09 02:02:40 (+0300), Slawa Olhovchenkov wrote: > > Forwarding by ipfw to closed local port generating RST packet with > > incorrect checksun. Is this know ussuse? Need open PR? > > Where did you c

ipfw fwd to closed port

2016-06-08 Thread Slawa Olhovchenkov
Forwarding by ipfw to closed local port generating RST packet with incorrect checksun. Is this know ussuse? Need open PR? ___ freebsd-net@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "fre

Re: FreeBSD not properly padding vlan packets on several interface types.

2015-08-24 Thread Slawa Olhovchenkov
On Mon, Aug 24, 2015 at 06:48:31PM -0400, Zaphod Beeblebrox wrote: > So, as background, the minimum packet size for ethernet packets is 64 > bytes. According to at least cisco, the minimum size, then, for 802.1q > (vlan, etc) packets is 68 bytes. On at least BGE and BCE interfaces, it > seems (a

Re: ix(intel) vs mlxen(mellanox) 10Gb performance

2015-08-23 Thread Slawa Olhovchenkov
On Sun, Aug 23, 2015 at 02:08:56PM +0300, Daniel Braniss wrote: > >> send me the patch and I'll test it ASAP. > >>danny > >> > > Patch is attached. The one for head will also include an update to the > > comment > > in sys/net/if_var.h, but that isn't needed for testing. > > > well, the pl

Re: ix(intel) vs mlxen(mellanox) 10Gb performance

2015-08-18 Thread Slawa Olhovchenkov
On Tue, Aug 18, 2015 at 05:09:41PM +0300, Daniel Braniss wrote: > sorry, it's been a tough day, we had a major meltdown, caused by a faulty > gbic :-( > anyways, could you tell me what to do? > comment out, fix the off by one? > > the machine is not yet production. Can you collect this informat

Re: ix(intel) vs mlxen(mellanox) 10Gb performance

2015-08-17 Thread Slawa Olhovchenkov
On Mon, Aug 17, 2015 at 05:44:37PM +0200, Alban Hertroys wrote: > On 17 August 2015 at 13:54, Slawa Olhovchenkov wrote: > > On Mon, Aug 17, 2015 at 01:49:27PM +0200, Alban Hertroys wrote: > > > >> On 17 August 2015 at 13:39, Slawa Olhovchenkov wrote: > >> &g

Re: ix(intel) vs mlxen(mellanox) 10Gb performance

2015-08-17 Thread Slawa Olhovchenkov
On Mon, Aug 17, 2015 at 10:27:41AM +0300, Daniel Braniss wrote: > hi, > I have a host (Dell R730) with both cards, connected to an HP8200 > switch at 10Gb. > when writing to the same storage (netapp) this is what I get: > ix0:~130MGB/s > mlxen0

Re: ix(intel) vs mlxen(mellanox) 10Gb performance

2015-08-17 Thread Slawa Olhovchenkov
On Mon, Aug 17, 2015 at 01:49:27PM +0200, Alban Hertroys wrote: > On 17 August 2015 at 13:39, Slawa Olhovchenkov wrote: > > > In any case, for 10Gb expect about 1200MGB/s. > > Your usage of units is confusing. Above you claim you expect 1200 I am use as topic starter and ex

Re: ix(intel) vs mlxen(mellanox) 10Gb performance

2015-08-17 Thread Slawa Olhovchenkov
On Mon, Aug 17, 2015 at 01:35:06PM +0300, Daniel Braniss wrote: > > > On Aug 17, 2015, at 12:41 PM, Slawa Olhovchenkov wrote: > > > > On Mon, Aug 17, 2015 at 10:27:41AM +0300, Daniel Braniss wrote: > > > >> hi, > >>I have a host (Dell

Re: ix(intel) vs mlxen(mellanox) 10Gb performance

2015-08-17 Thread Slawa Olhovchenkov
On Mon, Aug 17, 2015 at 10:27:41AM +0300, Daniel Braniss wrote: > hi, > I have a host (Dell R730) with both cards, connected to an HP8200 > switch at 10Gb. > when writing to the same storage (netapp) this is what I get: > ix0:~130MGB/s > mlxen0

Re: netmap custom RSS and custom packet info

2015-06-29 Thread Slawa Olhovchenkov
On Mon, Jun 29, 2015 at 10:29:14AM -0700, Adrian Chadd wrote: > Hi, > > Turns out there are a class of symmetric RSS Toeplitz keys. Use google > to find the paper. :) Do someone work on using different RSS keys and hash fields (selecting L2/L3/L4 or just L3 hash for example) in FreeBSD?

Re: netmap custom RSS and custom packet info

2015-06-29 Thread Slawa Olhovchenkov
On Mon, Jun 29, 2015 at 10:41:39AM -0700, Adrian Chadd wrote: > Hi, > > PPPoE will not be hashed according to RSS on the 1g/10g (igb, ixgbe) > intel hardware. you're going to have to figure out some other method > for traffic redistribution. I propose ephemeral but permanent NETMAP RX pipe with

Re: netmap custom RSS and custom packet info

2015-06-29 Thread Slawa Olhovchenkov
at 10:19, Slawa Olhovchenkov wrote: > > On Mon, Jun 29, 2015 at 10:07:15AM -0700, Navdeep Parhar wrote: > > > >> On 06/29/2015 08:17, Slawa Olhovchenkov wrote: > >> ... > >> > b) custom RSS. Modern NIC have RSS poorly interoperable with packet > >> >

Re: netmap custom RSS and custom packet info

2015-06-29 Thread Slawa Olhovchenkov
On Mon, Jun 29, 2015 at 10:07:15AM -0700, Navdeep Parhar wrote: > On 06/29/2015 08:17, Slawa Olhovchenkov wrote: > ... > > b) custom RSS. Modern NIC have RSS poorly interoperable with packet > > analysing: packets from same flow, but different direction placed in &

Re: netmap custom RSS and custom packet info

2015-06-29 Thread Slawa Olhovchenkov
On Mon, Jun 29, 2015 at 06:05:41PM +0200, Luigi Rizzo wrote: > On Mon, Jun 29, 2015 at 5:17 PM, Slawa Olhovchenkov wrote: > > > Working with netmap and modern hardware I am lacking some features: > > > > a) some spare space before packet (64/128/192/256 bytes) for &

netmap custom RSS and custom packet info

2015-06-29 Thread Slawa Olhovchenkov
Working with netmap and modern hardware I am lacking some features: a) some spare space before packet (64/128/192/256 bytes) for application data. For example: application do some pre-analysig packet, filled structure in this space and routed packet (via NETMAP pipe) to other thread. Received thre

Re: Intel igb 82576 (netmap mode) and RSS queue issuse with fragmented UDP packets.

2015-06-01 Thread Slawa Olhovchenkov
On Mon, Jun 01, 2015 at 07:53:51AM -0700, Adrian Chadd wrote: > oh, hm, you asked the next question. Sorry, I haven't had coffee. > > I vaguely remember testing this and discovering the /should/ be > putting all the frames in a packet int he same queue, as long as the > frames have a consistent s

Re: Intel igb 82576 (netmap mode) and RSS queue issuse with fragmented UDP packets.

2015-06-01 Thread Slawa Olhovchenkov
ashing in may case depends from flags fields. flags field is not part of TCP/UDP. > On 1 June 2015 at 01:25, Slawa Olhovchenkov wrote: > > I am use Intel 82576 (igb driver) in netmap mode. > > I see isssuse: flow routed in different queue depends of IP flags. > > > >

Intel igb 82576 (netmap mode) and RSS queue issuse with fragmented UDP packets.

2015-06-01 Thread Slawa Olhovchenkov
I am use Intel 82576 (igb driver) in netmap mode. I see isssuse: flow routed in different queue depends of IP flags. For example: Total 4 queue. UDP flow. SRC: 91.214.70.167:12062 DST: 95.31.64.226:49939 Flags:DF routed to queue 0 SRC: 91.214.70.167:12062 DST: 95.31.64.226:49939 Flags:More_Frags

  1   2   >