Re: [PATCH] pktgen: add a new sample script for 40G and above link testing

2017-09-01 Thread Robert Hoo
On Fri, 2017-08-25 at 14:24 +, Waskiewicz Jr, Peter wrote: > On 8/25/17 5:19 AM, Jesper Dangaard Brouer wrote: > >> > >> Tested with Intel XL710 NIC with Cisco 3172 switch. > >> > >> It would be even slightly better if the irqbalance service is turned > >> off outside. > > > > Yes, if you don'

Re: [PATCH] pktgen: add a new sample script for 40G and above link testing

2017-09-01 Thread Robert Hoo
On Sun, 2017-08-27 at 11:25 +0300, Tariq Toukan wrote: > > On 25/08/2017 12:26 PM, Robert Hoo wrote: > > (Sorry for yesterday's wrong sending, I finally fixed my MTA and git > > send-email settings.) > > > > It's hard to benchmark 40G+ network bandwidth using ordinary > > tools like iperf, netper

Re: [PATCH] pktgen: add a new sample script for 40G and above link testing

2017-09-01 Thread Robert Hoo
On Fri, 2017-08-25 at 11:19 +0200, Jesper Dangaard Brouer wrote: > (please don't use BCC on the netdev list, replies might miss the list in cc) > > Comments inlined below: > > On Fri, 25 Aug 2017 10:24:30 +0800 Robert Hoo wrote: > > > From: Robert Ho > > > > It's hard to benchmark 40G+ networ

Re: [PATCH] pktgen: add a new sample script for 40G and above link testing

2017-08-27 Thread Tariq Toukan
On 25/08/2017 12:26 PM, Robert Hoo wrote: (Sorry for yesterday's wrong sending, I finally fixed my MTA and git send-email settings.) It's hard to benchmark 40G+ network bandwidth using ordinary tools like iperf, netperf (see reference 1). Pktgen, packet generator from Kernel sapce, shall be a

Re: [PATCH] pktgen: add a new sample script for 40G and above link testing

2017-08-25 Thread Waskiewicz Jr, Peter
On 8/25/17 10:59 AM, Jesper Dangaard Brouer wrote: > On Fri, 25 Aug 2017 14:24:28 + > "Waskiewicz Jr, Peter" wrote: > >> On 8/25/17 5:19 AM, Jesper Dangaard Brouer wrote: Tested with Intel XL710 NIC with Cisco 3172 switch. It would be even slightly better if the irqbalance

Re: [PATCH] pktgen: add a new sample script for 40G and above link testing

2017-08-25 Thread Jesper Dangaard Brouer
On Fri, 25 Aug 2017 14:24:28 + "Waskiewicz Jr, Peter" wrote: > On 8/25/17 5:19 AM, Jesper Dangaard Brouer wrote: > >> > >> Tested with Intel XL710 NIC with Cisco 3172 switch. > >> > >> It would be even slightly better if the irqbalance service is turned > >> off outside. > > > > Yes, if yo

Re: [PATCH] pktgen: add a new sample script for 40G and above link testing

2017-08-25 Thread Waskiewicz Jr, Peter
On 8/25/17 5:19 AM, Jesper Dangaard Brouer wrote: >> >> Tested with Intel XL710 NIC with Cisco 3172 switch. >> >> It would be even slightly better if the irqbalance service is turned >> off outside. > > Yes, if you don't turn-off (kill) irqbalance it will move around the > IRQs behind your back...

Re: [PATCH] pktgen: add a new sample script for 40G and above link testing

2017-08-25 Thread Jesper Dangaard Brouer
On Fri, 25 Aug 2017 17:26:36 +0800 Robert Hoo wrote: > (Sorry for yesterday's wrong sending, I finally fixed my MTA and git > send-email settings.) Please see my reply in: http://lkml.kernel.org/r/20170825111921.06171...@redhat.com -- Best regards, Jesper Dangaard Brouer MSc.CS, Principa

[PATCH] pktgen: add a new sample script for 40G and above link testing

2017-08-25 Thread Robert Hoo
(Sorry for yesterday's wrong sending, I finally fixed my MTA and git send-email settings.) It's hard to benchmark 40G+ network bandwidth using ordinary tools like iperf, netperf (see reference 1). Pktgen, packet generator from Kernel sapce, shall be a candidate. I then tried with pktgen multiqueu

Re: [PATCH] pktgen: add a new sample script for 40G and above link testing

2017-08-25 Thread Jesper Dangaard Brouer
(please don't use BCC on the netdev list, replies might miss the list in cc) Comments inlined below: On Fri, 25 Aug 2017 10:24:30 +0800 Robert Hoo wrote: > From: Robert Ho > > It's hard to benchmark 40G+ network bandwidth using ordinary > tools like iperf, netperf. I then tried with pktgen m

[PATCH] pktgen: add a new sample script for 40G and above link testing

2017-08-24 Thread Robert Hoo
From: Robert Ho It's hard to benchmark 40G+ network bandwidth using ordinary tools like iperf, netperf. I then tried with pktgen multiqueue sample scripts, but still cannot reach line rate. I then derived this NUMA awared irq affinity sample script from multi-queue sample one, successfully benchm