Re: Vector Packet Processing (VPP) portability on FreeBSD

2021-05-13 Thread Luigi Rizzo
On Thu, May 13, 2021 at 2:57 PM Luigi Rizzo wrote: > > On Thu, May 13, 2021 at 1:27 PM Francois ten Krooden wrote: > > > > > > On Thursday, 13 May 2021 13:05 Luigi Rizzo wrote: > > > > > > On Thu, May 13, 2021 at 10:42 AM Francois ten Krooden > > &

Re: Vector Packet Processing (VPP) portability on FreeBSD

2021-05-13 Thread Luigi Rizzo
On Thu, May 13, 2021 at 1:27 PM Francois ten Krooden wrote: > > > On Thursday, 13 May 2021 13:05 Luigi Rizzo wrote: > > > > On Thu, May 13, 2021 at 10:42 AM Francois ten Krooden > > wrote: > > > > > > Hi > > > > > > Just for info I

Re: Vector Packet Processing (VPP) portability on FreeBSD

2021-05-13 Thread Luigi Rizzo
On Thu, May 13, 2021 at 10:42 AM Francois ten Krooden wrote: > > Hi > > Just for info I ran a test using TREX (https://trex-tgn.cisco.com/) > Where I just sent traffic in one direction through the box running FreeBSD > with VPP using the netmap interfaces. > These were the results we found befor

Re: Vector Packet Processing (VPP) portability on FreeBSD

2021-05-10 Thread Luigi Rizzo
[repost since it appears to be blocked] On Mon, May 10, 2021 at 2:42 PM Rainer Duffner wrote: > > > > > Am 10.05.2021 um 13:08 schrieb Francois ten Krooden : > > > > Greetings > > > > We have a vested interest in high-speed IPsec VPN on FreeBSD. We have > > started with the porting of VPP (https

Re: Vector Packet Processing (VPP) portability on FreeBSD

2021-05-10 Thread Luigi Rizzo
any case. > > > > > ___ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org" > -- -+

Re: Netmap - Vale switch - tcp problem

2020-05-28 Thread Luigi Rizzo
ave to disable checksum offloading on vtnet1. Cheers Luigi It is a bug? > Thanks to all! > > ___ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscr...@freeb

Re: dummynet performance

2020-04-09 Thread Luigi Rizzo
On Thu, Apr 9, 2020 at 2:18 AM Özkan KIRIK wrote: > > Hello, > > I wonder if it is possible to update dummynet code multi-threading capable > practically? > My idea is below: > - A new sysctl tunable will be defined as > "net.inet.ip.dummynet.thread_count" (default 1) > - To distribute tasks along

Re: dummynet performance

2020-04-09 Thread Luigi Rizzo
On Thu, Apr 9, 2020 at 2:18 AM Özkan KIRIK wrote: > > Hello, > > I wonder if it is possible to update dummynet code multi-threading capable > practically? > My idea is below: > - A new sysctl tunable will be defined as > "net.inet.ip.dummynet.thread_count" (default 1) > - To distribute tasks along

Re: dummynet: bandwidth is limited to 2 Gbit/s ?

2019-09-25 Thread Luigi Rizzo
--------+--- Prof. Luigi RIZZO, ri...@iet.unipi.it . Dip. di Ing. dell'Informazione http://www.iet.unipi.it/~luigi/. Universita` di Pisa TEL +39-050-2217533

Re: Regarding latency of Netmap i/o

2018-07-02 Thread Luigi Rizzo
map. > > Thank you so much for your precious time. > > " Man needs his difficulties because they are necessary to enjoy success." > > Kind Regards > Suneet Kumar Singh > > https://www.researchgate.net/profile/Suneet_Singh7 -- -+---

Re: [netmap] when does a packet in the netmap ring send out exactly

2017-11-20 Thread Luigi Rizzo
cket in the slot is sent to the network/NIC >>> physical >>> queue? >>> >>> I am using Linux 3.16.0-4-amd64. >>> >>> Thanks! >>> >>> Best, >>> Xiaoye >>> ___ >>> freebsd-net@freeb

Re: RFC: ethctl

2017-01-20 Thread Luigi Rizzo
sible to > justify. So I think asking vendors to support a FreeBSD ethtool-ish > interface for this is asking a lot. > > Drew > > ___ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to

Re: cxgbe's native netmap support broken since r307394

2016-12-22 Thread Luigi Rizzo
>>>>>>>>> Why is IFNET_WLOCK needed here? It seems like a regression to >>>>>>>>> disallow >>>>>>>>> sleep on the control path. >>>>>>>>> >>>>>>>>> Regards, >>&

Re: cxgbe's native netmap support broken since r307394

2016-12-21 Thread Luigi Rizzo
locked @ >>>>>> /root/ws/head/sys/dev/netmap/netmap_freebsd.c:95 >>>>>> stack backtrace: >>>>>> #0 0x810837a5 at witness_debugger+0xe5 >>>>>> #1 0x81084d88 at witness_warn+0x3b8 >>>>>> #2 0x83ef2bcc at begin_synchronized_op+0x6c >>>>>

Re: NETMAP application architecture question

2016-09-16 Thread Luigi Rizzo
On Fri, Sep 16, 2016 at 5:14 PM, Slawa Olhovchenkov wrote: > On Fri, Sep 16, 2016 at 05:05:33PM +0200, Luigi Rizzo wrote: > > >> Please have a look at the source code if you can find where >> you are hitting the limit, and which parameters are involved. >> In case you

Re: NETMAP application architecture question

2016-09-16 Thread Luigi Rizzo
-net > To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org" -- -----+--- Prof. Luigi RIZZO, ri...@iet.unipi.it . Dip. di Ing. dell'Informazione http://www.iet.unipi.it/~luigi/. Universita` di Pisa TEL +39-050-221753

Re: Is netmap jumbo frames broken in STABLE?

2016-06-07 Thread Luigi Rizzo
On Tue, Jun 7, 2016 at 2:43 PM, Andrey V. Elsukov wrote: > On 07.06.16 15:22, Andrew Vylegzhanin wrote: > > Just for support Luigi assumption. > > > > I've tested on 11.0-ALPHA1 (r301204). > > Same situation with frame size 5166 and works _well_ with frame size > 4032. > > This was changed in >

Re: Is netmap jumbo frames broken in STABLE?

2016-06-06 Thread Luigi Rizzo
> ___ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org" > -- -+--- Prof. Luig

Re: netmap overrun counters

2016-04-29 Thread Luigi Rizzo
On Thu, Apr 28, 2016 at 02:53:25PM -0700, bazzoola wrote: > Thanks Adrian, and thanks Luigi for the explanation: > > On 04/28/2016 01:15 PM, Luigi Rizzo wrote: > > > > please re-read the relevant part of the manual page: > > > >RECEIVE RINGS > >

Re: netmap overrun counters

2016-04-28 Thread Luigi Rizzo
On Thu, Apr 28, 2016 at 9:15 PM, bazzoola wrote: > > > On 04/28/2016 12:06 PM, Luigi Rizzo wrote: > > > > > > On Thursday, April 28, 2016, bazzoola > <mailto:bazzo...@gmail.com>> wrote: > > > > > > > > On 04/28/2016 11:35 AM

Re: netmap overrun counters

2016-04-28 Thread Luigi Rizzo
ts own > rings. Is there a way to know if netmap's rx ring overrun? Overruns by definition can only be counted by the NIC Cheers Luigi > > Thanks for your input. > ___ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/

Re: Vale port naming

2016-04-05 Thread Luigi Rizzo
eason that my test machine is panicing. > I might give 10.3 a go instead of head and see how I get on with that. > > Matt > ___ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net >

announcing NMREPLAY, a netmap based pcap player

2016-02-18 Thread Luigi Rizzo
Gbit/s per direction. For the time being you can find it on github https://github.com/luigirizzo/netmap/tree/master/apps/nmreplay (the source code is actually a single file). Enjoy Luigi -- -+--- Prof. Luigi RIZZO, ri

announcing TLEM, high speed netmap based link emulator

2016-02-18 Thread Luigi Rizzo
-- -+--- Prof. Luigi RIZZO, ri...@iet.unipi.it . Dip. di Ing. dell'Informazione http://www.iet.unipi.it/~luigi/. Universita` di Pisa TEL +39-050-2217533 . via Diotisalvi 2 Mobile +39-338-6809875 . 56122 PISA (

Re: netmap packet timestamping

2016-02-18 Thread Luigi Rizzo
freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org" -- -+--- Prof. Luigi RIZZO, ri...@iet.unipi.it . Dip. di Ing. dell'Informazione http

Re: swaping ring slots between NIC ring and Host ring does not always success

2016-02-10 Thread Luigi Rizzo
ARP request message to get the mac address of >>>>>> machine3. >>>>>> machine3 gets that ARP request, and send the reply back (I use tcpdump >>>>>> to >>>>>> verify that machine3 gets the ARP request and send out the ARP re

Re: dev.netmap.buf_size and packett size from host

2016-02-04 Thread Luigi Rizzo
on the list, anything else in netmap mode? > > On Thu, Feb 4, 2016 at 12:29 PM, Luigi Rizzo wrote: >> >> Make sure you disable TSO on the interface used in netmap >> mode, and then check that you use an MTU of 1500 on that >> interface. >> You should not receive f

Re: dev.netmap.buf_size and packett size from host

2016-02-04 Thread Luigi Rizzo
man/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org" -- -+--- Prof. Luigi RIZZO, ri...@iet.unipi.it . Dip. di Ing. dell'Informazione http://www.iet.unipi.it/~luigi/

Re: swaping ring slots between NIC ring and Host ring does not always success

2016-02-03 Thread Luigi Rizzo
On Tue, Feb 2, 2016 at 10:48 PM, Xiaoye Sun wrote: > > > On Mon, Feb 1, 2016 at 11:34 PM, Luigi Rizzo wrote: >> >> On Tue, Feb 2, 2016 at 6:23 AM, Xiaoye Sun wrote: >> > Hi Luigi, >> > >> > I have to clarify about the *jumping issue* about the

Re: swaping ring slots between NIC ring and Host ring does not always success

2016-02-01 Thread Luigi Rizzo
is really one NIC ring and one HOST ring. > > Is there another way to verify the number of ring that netmap has? > > Thanks! > Xiaoye > > On Mon, Feb 1, 2016 at 10:48 PM, Luigi Rizzo wrote: >> >> Hi, >> there must be some wrong with your setting because >&

Re: swaping ring slots between NIC ring and Host ring does not always success

2016-02-01 Thread Luigi Rizzo
=== > As we can see, from the event ordering see by the bridge.c, all the packets > are receiver in order, which means the the reorder happens when the bridge > code swap the buf_idx between the nic ring(slot) and the host ring(slot). > The reordered seq usually right before or afte

Re: swaping ring slots between NIC ring and Host ring does not always success

2016-01-29 Thread Luigi Rizzo
On Fri, Jan 29, 2016 at 2:12 PM, Xiaoye Sun wrote: > Hi Luigi, > > Thanks for your advice. > I forgot to mention that I use the command "ethtool -L eth1 combined 1" to > set the number of rings of the nic to 1. The host also only has one ring. > I understand the situation where the first tx ring

Re: swaping ring slots between NIC ring and Host ring does not always success

2016-01-29 Thread Luigi Rizzo
> > patch? >> > What is the recommended solution for this problem? >> > >> > Thanks! >> > >> > Best, >> > Xiaoye >> > ___ >> > freebsd-net@freebsd.org mailing list >> > ht

Re: Does FreeBSD have sendmmsg or recvmmsg system calls?

2016-01-26 Thread Luigi Rizzo
On Tue, Jan 26, 2016 at 4:31 PM, Gary Jennejohn wrote: > On Tue, 26 Jan 2016 17:46:52 -0500 (EST) > Daniel Eischen wrote: > >> On Tue, 26 Jan 2016, Gary Jennejohn wrote: >> >> > On Tue, 26 Jan 2016 09:06:39 -0800 >> > Luigi Rizzo wrote: >> > &

Re: Does FreeBSD have sendmmsg or recvmmsg system calls?

2016-01-26 Thread Luigi Rizzo
On Tue, Jan 26, 2016 at 9:25 AM, Gary Jennejohn wrote: > On Tue, 26 Jan 2016 09:06:39 -0800 > Luigi Rizzo wrote: > >> On Tue, Jan 26, 2016 at 5:40 AM, Konstantin Belousov >> wrote: >> > On Mon, Jan 25, 2016 at 11:22:13AM +0200, Boris Astardzhiev wrote: >&g

Re: Does FreeBSD have sendmmsg or recvmmsg system calls?

2016-01-26 Thread Luigi Rizzo
On Tue, Jan 26, 2016 at 5:40 AM, Konstantin Belousov wrote: > On Mon, Jan 25, 2016 at 11:22:13AM +0200, Boris Astardzhiev wrote: >> +ssize_t >> +recvmmsg(int s, struct mmsghdr *__restrict msgvec, size_t vlen, int flags, >> +const struct timespec *__restrict timeout) >> +{ >> + size_t i, rc

Re: swaping ring slots between NIC ring and Host ring does not always success

2016-01-26 Thread Luigi Rizzo
gt; ___ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org" -- -+---

Re: solved: Re: Chelsio T520-SO-CR low performance (netmap tested) for RX

2016-01-23 Thread Luigi Rizzo
On Sat, Jan 23, 2016 at 10:42 PM, Navdeep Parhar wrote: > On Sat, Jan 23, 2016 at 09:33:32PM -0800, Luigi Rizzo wrote: >> On Sat, Jan 23, 2016 at 8:28 PM, Marcus Cenzatti wrote: >> > >> > >> > On 1/24/2016 at 1:10 AM, "Luigi Rizzo" wrote: ... &g

Re: solved: Re: Chelsio T520-SO-CR low performance (netmap tested) for RX

2016-01-23 Thread Luigi Rizzo
On Sat, Jan 23, 2016 at 11:00 PM, Marcus Cenzatti wrote: > > > On 1/24/2016 at 3:33 AM, "Luigi Rizzo" wrote: ... > ok here it is > > this lowered pps rate to 9.4Mpps on chelsio (we had 11Mpps with defaul len) > and lowered rates to 14Mpps on sender (we had 1

Re: solved: Re: Chelsio T520-SO-CR low performance (netmap tested) for RX

2016-01-23 Thread Luigi Rizzo
On Sat, Jan 23, 2016 at 8:28 PM, Marcus Cenzatti wrote: > > > On 1/24/2016 at 1:10 AM, "Luigi Rizzo" wrote: >> >>Thanks for re-running the experiments. >> >>I am changing the subject so that in the archives it is clear >>that the chelsio car

solved: Re: Chelsio T520-SO-CR low performance (netmap tested) for RX

2016-01-23 Thread Luigi Rizzo
dev.cxl.0.stats.rx_ppp1: 0 > dev.cxl.0.stats.rx_ppp0: 0 > dev.cxl.0.stats.rx_pause: 0 > dev.cxl.0.stats.rx_frames_1519_max: 0 > dev.cxl.0.stats.rx_frames_1024_1518: 0 > dev.cxl.0.stats.rx_frames_512_1023: 0 > dev.cxl.0.stats.rx_frames_256_511: 0 > dev.cxl.0.stats.rx

Re: Chelsio T520-SO-CR low performance (netmap tested) for RX

2016-01-23 Thread Luigi Rizzo
On Sat, Jan 23, 2016 at 1:18 PM, Navdeep Parhar wrote: > On Sat, Jan 23, 2016 at 11:12:28AM -0800, Luigi Rizzo wrote: >> On Sat, Jan 23, 2016 at 10:38 AM, Navdeep Parhar wrote: >> > On Sat, Jan 23, 2016 at 03:48:39PM -0200, Marcus Cenzatti wrote: >> > ... >> >

Re: netmap design question - accessing netmap:X-n individual queues on FreeBSD

2016-01-23 Thread Luigi Rizzo
freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org" -- -+--- Prof. Luigi RIZZO, ri...@iet.unipi.it

Re: Chelsio T520-SO-CR low performance (netmap tested) for RX

2016-01-23 Thread Luigi Rizzo
On Sat, Jan 23, 2016 at 10:38 AM, Navdeep Parhar wrote: > On Sat, Jan 23, 2016 at 03:48:39PM -0200, Marcus Cenzatti wrote: > ... >> >> woops, my bad, yes probably we had some drop, with -S and -D now I get >> 1.2Mpps. > > Run "netstat -hdw1 -i cxl" on the receiver during your test. Navdeep, does

Re: Chelsio T520-SO-CR low performance (netmap tested) for RX

2016-01-23 Thread Luigi Rizzo
On Sat, Jan 23, 2016 at 10:34 AM, Marcus Cenzatti wrote: >>> woops, my bad, yes probably we had some drop, with -S and -D now >>I get 1.2Mpps. >>> >>> curiously, I have always used -s/-d with IP addresses on ix-ix >>testing this is why I never noticed the case, since ix always >>received 14Mpps,

Re: Chelsio T520-SO-CR low performance (netmap tested) for RX

2016-01-23 Thread Luigi Rizzo
On Sat, Jan 23, 2016 at 9:48 AM, Marcus Cenzatti wrote: > > > On 1/23/2016 at 3:35 PM, "Luigi Rizzo" wrote: >> >>On Sat, Jan 23, 2016 at 9:12 AM, Marcus Cenzatti >> wrote: >>> >>> >>> On 1/23/2016 at 1:40 PM, "Navdeep Parhar

Re: Chelsio T520-SO-CR low performance (netmap tested) for RX

2016-01-23 Thread Luigi Rizzo
On Sat, Jan 23, 2016 at 9:12 AM, Marcus Cenzatti wrote: > > > On 1/23/2016 at 1:40 PM, "Navdeep Parhar" wrote: >> >>On Sat, Jan 23, 2016 at 03:34:27AM -0200, Marcus Cenzatti wrote: >>> hello, >>> >>> I am testing a chelsio t520-so-cr connected to a Intel card with >>ix(4) >>> driver, I can get th

Re: Another issue with ixl(4) with netmap

2016-01-19 Thread Luigi Rizzo
cr...@freebsd.org" -- -+--- Prof. Luigi RIZZO, ri...@iet.unipi.it . Dip. di Ing. dell'Informazione http://www.iet.unipi.it/~luigi/. Universita` di Pisa TE

Re: netmap support removed from ixl?

2016-01-12 Thread Luigi Rizzo
nd any mail to "freebsd-net-unsubscr...@freebsd.org" -- -----+--- Prof. Luigi RIZZO, ri...@iet.unipi.it . Dip. di Ing. dell'Informazione http://www.iet.unipi.it/~luigi/. Universita` di Pisa TEL +39-050-

Re: Netmap software interface mirror / netmap monitor

2016-01-08 Thread Luigi Rizzo
On Fri, Jan 8, 2016 at 10:35 AM, Pavel Odintsov wrote: > Hello, Dear Community! > > I'm working with netmap and my application uses netmap for traffic > capture. It's works really well. > > But I need some way to feed same data from physical interface to two > or more applications. > > I have foun

Re: Does FreeBSD have sendmmsg or recvmmsg system calls?

2016-01-07 Thread Luigi Rizzo
On Thu, Jan 7, 2016 at 2:38 PM, Mark Delany wrote: > On 07Jan16, Luigi Rizzo allegedly wrote: >> On Thu, Jan 7, 2016 at 11:28 AM, Konstantin Belousov >> So (and using *mmsg() vs *msg() is about performance) I think that >> until we have an underlying performant implem

Re: Does FreeBSD have sendmmsg or recvmmsg system calls?

2016-01-07 Thread Luigi Rizzo
nt performance improvements, especially on the send side -- e.g. some argument to tell the syscall "there are more packets coming down so please hold on a bit". For receive, there is probably very little room for enhancements, the best we can do is grab everything from the socket. che

Re: Does FreeBSD have sendmmsg or recvmmsg system calls?

2016-01-07 Thread Luigi Rizzo
https://lists.freebsd.org/mailman/listinfo/freebsd-net >> To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org" >> > > ___ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freeb

Re: Does FreeBSD have sendmmsg or recvmmsg system calls?

2016-01-03 Thread Luigi Rizzo
On Sun, Jan 3, 2016 at 6:46 PM, Robert Watson wrote: > On Sun, 3 Jan 2016, Rui Paulo wrote: > >>> NetBSD 7.0 has just introduced these two syscalls. And Linux also has >>> them. >>> >>> Does FreeBSD have them? Or plan to support them in the future? >> >> >> FreeBSD does not have them. It doesn't

Re: Netmap with VMWare

2015-12-18 Thread Luigi Rizzo
, send any mail to "freebsd-net-unsubscr...@freebsd.org" -- -----+--- Prof. Luigi RIZZO, ri...@iet.unipi.it . Dip. di Ing. dell'Informazione http://www.iet.unipi.it/~luigi/. Universita` di Pisa TEL +39-050-2217533 . via Di

Re: ixl 40G bad performance?

2015-12-10 Thread Luigi Rizzo
4.8 and the same set of hardware setup, except >> for a different transceiver, I can get 36Gbps/24Mpps with no further >> tweaks, so if you can replace your transceiver, shall be a different test >> as a starting point. > ___ > freebsd-net@freebsd.org mailing list > https://lists.fre

Re: Timing issue with Dummynet on high kernel timer interrupt

2015-11-06 Thread Luigi Rizzo
On Fri, Nov 6, 2015 at 10:52 AM, Hans Petter Selasky wrote: > On 11/06/15 09:50, Luigi Rizzo wrote: >> >> On Fri, Nov 6, 2015 at 9:44 AM, Hans Petter Selasky >> wrote: ... >>> Hi, >>> >>> The C_DIRECT_EXEC flag reduces task switching overhead, t

Re: Timing issue with Dummynet on high kernel timer interrupt

2015-11-06 Thread Luigi Rizzo
On Fri, Nov 6, 2015 at 9:44 AM, Hans Petter Selasky wrote: > On 11/06/15 01:08, Rasool Al-Saadi wrote: >> >> >> On Thursday, 5 November 2015 8:53 PM, Hans Petter Selasky wrote: >>> >>> >>> On 11/05/15 00:44, Rasool Al-Saadi wrote: ... >> Removing C_HARDCLOCK reduces the problem but doesn't solve

Re: ixl 40G bad performance?

2015-10-19 Thread Luigi Rizzo
gt; 3.5 gbit is what I used to see on the ixgbe with tso disabled, probably >> hitting a CPU bound. > > Will try. > > Thanks! > > Lars -- -+--- Prof. Luigi RIZZO, ri...@iet.unipi.it . Dip. di Ing. dell'

Re: ixl 40G bad performance?

2015-10-19 Thread Luigi Rizzo
On Monday, October 19, 2015, Eggert, Lars wrote: > Hi, > > On 2015-10-19, at 16:20, Luigi Rizzo > > wrote: > > > > i would look at the following: > > - c states and clock speed - make sure you never go below C1, > > and fix the clock speed to max. > &g

Re: ixl 40G bad performance?

2015-10-19 Thread Luigi Rizzo
U #13 Launched! > SMP: AP CPU #24 Launched! > SMP: AP CPU #6 Launched! > SMP: AP CPU #27 Launched! > SMP: AP CPU #8 Launched! > SMP: AP CPU #29 Launched! > SMP: AP CPU #11 Launched! > SMP: AP CPU #20 Launched! > SMP: AP CPU #15 Launched! > SMP: AP CPU #26 Launched! >

nice stuff from cloudflare (and, we need something like ethtool!)

2015-10-10 Thread Luigi Rizzo
ndent mechanism to configure traffic steering. We really need to address the latter. cheers luigi -- -+--- Prof. Luigi RIZZO, ri...@iet.unipi.it . Dip. di Ing. dell'Informazione http://www.iet.unipi.it/~luigi/.

Re: netmap: recommended NIC for 40GbE capture on Linux?

2015-10-10 Thread Luigi Rizzo
repo (which i wrote a few years ago). Again we may work on that around the end of the year. cheers luigi -- -+--- Prof. Luigi RIZZO, ri...@iet.unipi.it . Dip. di Ing. dell'Informazione http://www.iet.unipi.it/~luigi/

RFC: revising netmap ring initialization

2015-10-01 Thread Luigi Rizzo
I would like people's suggestions on the following ​ topic.​ Right now, on enteringng netmap mode on a NIC we do an ifconfig down, flush the tx and rx queues, and replace the rx buffers with the netmap ones. Similarly, on exit, we down the interface, flush queues and restore the mbufs/skbufs. Th

Re: Problem with receiving packets right after remote-interface is up

2015-09-05 Thread Luigi Rizzo
_ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org > " > -- -+--- Prof. Luigi RIZZO, ri...@iet.unipi.it .

Re: Poor high-PPS performance of the 10G ixgbe(9) NIC/driver in FreeBSD 10.1

2015-08-12 Thread Luigi Rizzo
able TSO and LRO too. > >>> > >>> ​Regards, > >>> > >>> Olivier > >>> > >>> [1] > >>> > http://bsdrp.net/documentation/examples/forwarding_performance_lab_of_an_ibm_system_x3550_m3_with_10-gigabit_intel_x540-at2#gra

Re: netmap-ipfw: kipfw two instances sharing same port

2015-07-10 Thread Luigi Rizzo
On Fri, Jul 10, 2015 at 9:58 PM, Eduardo Meyer wrote: > On Fri, Jul 10, 2015 at 4:15 PM, Luigi Rizzo wrote: > >> >> >> On Fri, Jul 10, 2015 at 9:14 PM, Eduardo Meyer >> wrote: >> >>> On Fri, Jul 10, 2015 at 4:09 PM, Pavel Odintsov < >>

Re: netmap-ipfw: kipfw two instances sharing same port

2015-07-10 Thread Luigi Rizzo
o/freebsd-net > >> To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org" > >> > > > > > > -- > > Sincerely yours, Pavel Odintsov > > > > > > -- > === > Eduardo Meyer > pessoal: dudu.me...@gmail.com &

Re: IPFW divert and suricata

2015-07-01 Thread Luigi Rizzo
__ > 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" > -- -+--- Prof. Luigi RIZZO

Re: netmap custom RSS and custom packet info

2015-06-29 Thread Luigi Rizzo
On Mon, Jun 29, 2015 at 6:22 PM, Slawa Olhovchenkov wrote: > 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 featu

Re: netmap custom RSS and custom packet info

2015-06-29 Thread Luigi Rizzo
tp://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org" > -- -----+--- Prof. Luigi RIZZO, ri...@iet.unipi.it . Dip. di Ing. dell'Infor

Re: Intel XL710 40GE NIC, i40 driver and wire speed performance with netmap

2015-06-28 Thread Luigi Rizzo
t; ConnectX-4 Lx EN provides an unmatched combination of 10, 25, 40, and > 50GbE bandwidth, sub microsecond latency and a 75 million packets per > second message rate. > > Do you have experience with this cards > > On Sun, Jun 28, 2015 at 2:19 PM, Luigi Rizzo > wrote: > &

Re: Intel XL710 40GE NIC, i40 driver and wire speed performance with netmap

2015-06-28 Thread Luigi Rizzo
t; To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org > " > -- -+--- Prof. Luigi RIZZO, ri...@iet.unipi.it . Dip. di Ing. dell'Informazione http://www.iet.unipi.it/~luigi/. Universita` di Pisa TEL +39-050-2217533

sys/netinet/ip_var.h: enum value exceeding 2^31-1

2015-05-21 Thread Luigi Rizzo
in pedantic mode the compiler complains about an enum value out of range (in sys/netinet/ip_var.h) Would people object to the following change ? It seems to be used internally only in a handful of places ​+​ /* ISO C restricts enumerator values to range of 'int' ​+​ * so we need ​IPFW_INFO_​ IN

heads up: netmap code update next week.

2015-05-21 Thread Luigi Rizzo
Hi, some time next week we will push to head (and hopefully, to stable/10 before the code slush) an update to the netmap code. There will be no API changes, and the changes are mostly internal restructuring of the netmap kernel code and simplification of device drivers (we will ll handle most of t

Re: netmap and mlx4 driver status (linux)

2015-05-20 Thread Luigi Rizzo
_ > 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: Fwd: netmap-ipfw on em0 em1

2015-05-03 Thread Luigi Rizzo
/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 uns

Re: traffic prioritize

2015-04-17 Thread Luigi Rizzo
sts.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org" -- -+--- Prof. Luigi RIZZO, ri...@iet.unipi.it . Dip. di Ing. dell'Informazione http://www.iet.unipi.it/~luigi/. Univ

Re: moving ALTQ out of contrib

2015-04-15 Thread Luigi Rizzo
On Wed, Apr 15, 2015 at 2:59 PM, Gleb Smirnoff wrote: > On Wed, Apr 15, 2015 at 02:53:34PM +0200, Luigi Rizzo wrote: > L> Then if you do sys/net/altq/ do you also plan to split the current > L> content of sys/net/ into separate subdirectories ? > L> > L> We currentl

Re: moving ALTQ out of contrib

2015-04-15 Thread Luigi Rizzo
On Wed, Apr 15, 2015 at 2:26 PM, Gleb Smirnoff wrote: > On Wed, Apr 15, 2015 at 09:38:23AM +0200, Luigi Rizzo wrote: > L> > With the new ifnet KPI, that is now being developed in projects/ifnet, > L> > the ALTQ will need some tweaking. It is discontinued by initial autho

Re: moving ALTQ out of contrib

2015-04-15 Thread Luigi Rizzo
On Tue, Apr 14, 2015 at 04:53:46PM +0300, Gleb Smirnoff wrote: > Hi! > > With the new ifnet KPI, that is now being developed in projects/ifnet, > the ALTQ will need some tweaking. It is discontinued by initial author > for a decade now, and it has already experienced direct commits in > our tr

Re: Equivalnet options between pf_ring and netmap

2015-03-25 Thread Luigi Rizzo
On Wed, Mar 25, 2015 at 3:14 PM, C.L. Martinez wrote: > On 03/25/2015 02:03 PM, Luigi Rizzo wrote: >> >> perhaps it is easier to tell if you explain what those pf_ring options do. >> i am puzzled by the question on disabling tx, because if you do not >> want to

Re: Equivalnet options between pf_ring and netmap

2015-03-25 Thread Luigi Rizzo
On Wed, Mar 25, 2015 at 2:57 PM, C.L. Martinez wrote: > Hi all, > > I am trying to configure some values in netmap under a FreeBSD 10.1 host > like it can be done with pf_ring in linux. > > According to netmap(4) manual page exists some options using sysctl. But I > am searching about these opti

Re: Netmap/divert socket capture: getting ipfw state? [porting from Linux, need NFLOG/NFQUEUE/ct functionality]

2015-03-11 Thread Luigi Rizzo
org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org" -- -+--- Prof. Luigi RIZZO, ri...@iet.unipi.it . Dip

Re: Network interrupt and NAPI in FreeBSD?

2015-03-07 Thread Luigi Rizzo
On Sat, Mar 7, 2015 at 8:19 AM, Wei Hu wrote: > Many thanks, Luigi! We are measuring the network performance in VM(Hyper-V), > using netvsc virtual NIC device and its own driver. The Linux VM also uses > the similar virtual device. The driver on both Linux and FreeBSD have TSO/LRO > support. Wi

Re: Network interrupt and NAPI in FreeBSD?

2015-03-05 Thread Luigi Rizzo
reebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org" -- -----+--- Prof. Luigi RIZZO, ri...@iet.unipi.it . Dip. di Ing. dell'Informazione http://www.iet.unipi.it/~luigi/. Un

netmap support for the Intel 40G card in head

2015-02-23 Thread Luigi Rizzo
e seen 32 Mpps on tx, 24 Mpps on rx with two ports on the same card connected to each other. This is our second 40G device for which we have native netmap support, which makes FreeBSD quite unique. cheers luigi Date: Tue, 24 Feb 2015 06:20:51 +0000 (UTC) From: Luigi Rizzo Subject: svn commit: r

Re: Netmap support for Linux Containers (veth)

2015-01-28 Thread Luigi Rizzo
On Wed, Jan 28, 2015 at 5:11 PM, Luke McHale wrote: > Hello Dr. Luigi Rizzo and netmap contributors, > > I am looking to integrate netmap capabilities into linux’s veth (Virtual > Ethernet device) for netmap support within linux containers. Does a patch > currently exist? If n

Re: is polling still a thing?

2015-01-27 Thread Luigi Rizzo
On Tue, Jan 27, 2015 at 06:02:46PM -0500, Antoine Beaupr? wrote: > On 2015-01-27 17:39:17, Luigi Rizzo wrote: > > On Tue, Jan 27, 2015 at 05:08:27PM -0500, Antoine Beaupr? wrote: > >> On 2015-01-27 13:57:20, wishmaster wrote: > >> > Have you consider to use netmap

Re: is polling still a thing?

2015-01-27 Thread Luigi Rizzo
On Tue, Jan 27, 2015 at 05:08:27PM -0500, Antoine Beaupr? wrote: > On 2015-01-27 13:57:20, wishmaster wrote: > > Have you consider to use netmap-based ipfw instead pf in DDoS mitigation? I > > think you should. And without any network ''haks'' like polling. > > My understanding of netmap was that

Re: Netmap mempool

2015-01-22 Thread Luigi Rizzo
On Thu, Jan 22, 2015 at 10:12 AM, Ciprian Barbu wrote: > Hello, > > I have some questions related to OpenDataPlane. I have implemented the > I/O access using netmap for ODP but currently it's suffering from low > performance due to packets being copied between the netmap slots and > ODP buffers. >

Re: ixgbe TX desc prefetch

2015-01-19 Thread Luigi Rizzo
On Mon, Jan 19, 2015 at 07:37:03PM +, Zoltan Kiss wrote: > Hi, > > I'm using netmap on Ubuntu 14.04 (3.13.0-44 kernel, ixgbe 3.15.1-k), and > I can't max out a 10G link with pktgen : > > Sent 1068122462 packets, 64 bytes each, in 84.29 seconds. > Speed: 12.67 Mpps Bandwidth: 6.49 Gbps (raw 8

Re: netmap over virtio giving packets with extra 12 bytes

2015-01-06 Thread Luigi Rizzo
On Tue, Jan 06, 2015 at 10:15:02AM -0800, Adrian Chadd wrote: ... > This won't be the first time that there'll be useful data at the front > end of an RX mbuf that isn't related to the mbuf payload. > > It'd be nice if there were something in each rx ring slot saying how > far to skip into the buf

Re: netmap over virtio giving packets with extra 12 bytes

2015-01-05 Thread Luigi Rizzo
On Mon, Jan 05, 2015 at 08:33:17AM -0800, Adrian Chadd wrote: > ... surely virtio should be skipping over those bytes in the netmap rx > side before handing them up? > > (It won't be the only hardware that puts the RX descriptor status in > the RX frame itself..) it is not the rx descriptor, thos

Re: netmap over virtio giving packets with extra 12 bytes

2015-01-05 Thread Luigi Rizzo
e packet interpretation. > > > So is this is an artifact of the virtio-net driver or has something > changed in the netmap device driver? > > > Thanks, > > Avinash > -- -+--- Prof. Luigi RIZZO, ri...@iet.unipi.it . Dip. di Ing. dell&

BOOTP_SETTLE_DELAY in sys/nfs/bootp_subr.c ?

2015-01-04 Thread Luigi Rizzo
[I realize this is code from 15 years ago so i am not sure if anyone still knows or remembers the answer] sys/nfs/bootp_subr.c is used to request via bootp or dhcp an address and a boot path. The negotiation is done in a loop, and apparently when replies are received on _all_ interfaces, the code

Re: netmap pipes

2015-01-03 Thread Luigi Rizzo
On Sat, Jan 03, 2015 at 09:57:21PM +0400, Slawa Olhovchenkov wrote: > On Sat, Jan 03, 2015 at 06:42:07PM +0100, Luigi Rizzo wrote: > > > On Sat, Jan 03, 2015 at 09:32:55PM +0400, Slawa Olhovchenkov wrote: > > > On Sat, Jan 03, 2015 at 06:21:39PM +0100, Luigi Rizzo wrote:

Re: netmap pipes

2015-01-03 Thread Luigi Rizzo
On Sat, Jan 03, 2015 at 09:32:55PM +0400, Slawa Olhovchenkov wrote: > On Sat, Jan 03, 2015 at 06:21:39PM +0100, Luigi Rizzo wrote: > > > On Sat, Jan 03, 2015 at 08:40:35PM +0400, Slawa Olhovchenkov wrote: > > > Can anybody explain netmap pipes (more then netmap(4))? > >

Re: netmap pipes

2015-01-03 Thread Luigi Rizzo
On Sat, Jan 03, 2015 at 08:40:35PM +0400, Slawa Olhovchenkov wrote: > Can anybody explain netmap pipes (more then netmap(4))? > How use it? > How it works? > pipes works over existing network adapter in netmap mode? > Or indepened (can I create netmap pipe named 'some_strange_name')? > What purpose

Re: cxgbe and netmap

2015-01-02 Thread Luigi Rizzo
On Fri, Jan 02, 2015 at 06:57:50PM +0300, Alexander V. Chernikov wrote: > Hello list! > > FreeBSD has netmap support for chelsio T5 cards, which is amazing. > The great thing about implementation is that you can play with > traffic-generating applications without affecting "main" OS interface, > w

  1   2   3   4   5   6   7   8   9   10   >