Re: [dpdk-dev] [PATCH] app/testpmd: adds mlockall() to fix pages

2017-09-29 Thread Sergio Gonzalez Monroy
On 29/09/2017 09:15, Eelco Chaudron wrote: On 29/09/17 10:07, Sergio Gonzalez Monroy wrote: On 12/09/2017 14:08, Eelco Chaudron wrote: Call the mlockall() function, to attempt to lock all of its process memory into physical RAM, and preventing the kernel from paging any of its memory to disk.

Re: [dpdk-dev] [PATCH] app/testpmd: adds mlockall() to fix pages

2017-09-29 Thread Eelco Chaudron
On 29/09/17 10:07, Sergio Gonzalez Monroy wrote: On 12/09/2017 14:08, Eelco Chaudron wrote: Call the mlockall() function, to attempt to lock all of its process memory into physical RAM, and preventing the kernel from paging any of its memory to disk. When using testpmd for performance testing,

Re: [dpdk-dev] [PATCH] app/testpmd: adds mlockall() to fix pages

2017-09-29 Thread Sergio Gonzalez Monroy
On 12/09/2017 14:08, Eelco Chaudron wrote: Call the mlockall() function, to attempt to lock all of its process memory into physical RAM, and preventing the kernel from paging any of its memory to disk. When using testpmd for performance testing, depending on the code path taken, we see a couple

Re: [dpdk-dev] [PATCH] app/testpmd: adds mlockall() to fix pages

2017-09-29 Thread Eelco Chaudron
On 25/09/17 09:53, Olivier MATZ wrote: [SNIP] I did not at add a log, as the rte log subsystem is not yet initialized. However we could add a printf("WARNING: mlockall() failed with error %s") like message. What do you think? Since it's not critical, maybe NOTICE is better than WARNING. One mor

Re: [dpdk-dev] [PATCH] app/testpmd: adds mlockall() to fix pages

2017-09-25 Thread Olivier MATZ
On Thu, Sep 21, 2017 at 02:24:28PM +0200, Eelco Chaudron wrote: > On 19/09/17 09:28, Olivier MATZ wrote: > > Hi, > > > > On Thu, Sep 14, 2017 at 09:22:38AM +0200, Eelco Chaudron wrote: > > > On 13/09/17 11:39, Thomas Monjalon wrote: > > > > 12/09/2017 15:08, Eelco Chaudron: > > > > > Call the mloc

Re: [dpdk-dev] [PATCH] app/testpmd: adds mlockall() to fix pages

2017-09-21 Thread Eelco Chaudron
On 19/09/17 09:28, Olivier MATZ wrote: Hi, On Thu, Sep 14, 2017 at 09:22:38AM +0200, Eelco Chaudron wrote: On 13/09/17 11:39, Thomas Monjalon wrote: 12/09/2017 15:08, Eelco Chaudron: Call the mlockall() function, to attempt to lock all of its process memory into physical RAM, and preventing t

Re: [dpdk-dev] [PATCH] app/testpmd: adds mlockall() to fix pages

2017-09-19 Thread Olivier MATZ
Hi, On Thu, Sep 14, 2017 at 09:22:38AM +0200, Eelco Chaudron wrote: > On 13/09/17 11:39, Thomas Monjalon wrote: > > 12/09/2017 15:08, Eelco Chaudron: > > > Call the mlockall() function, to attempt to lock all of its process > > > memory into physical RAM, and preventing the kernel from paging any

Re: [dpdk-dev] [PATCH] app/testpmd: adds mlockall() to fix pages

2017-09-14 Thread Eelco Chaudron
On 13/09/17 11:39, Thomas Monjalon wrote: 12/09/2017 15:08, Eelco Chaudron: Call the mlockall() function, to attempt to lock all of its process memory into physical RAM, and preventing the kernel from paging any of its memory to disk. When using testpmd for performance testing, depending on the

Re: [dpdk-dev] [PATCH] app/testpmd: adds mlockall() to fix pages

2017-09-13 Thread Aaron Conole
Thomas Monjalon writes: > 12/09/2017 22:29, Aaron Conole: >> Thomas Monjalon writes: >> >> > 12/09/2017 16:50, Aaron Conole: >> >> Eelco Chaudron writes: >> >> >> >> > Call the mlockall() function, to attempt to lock all of its process >> >> > memory into physical RAM, and preventing the kern

Re: [dpdk-dev] [PATCH] app/testpmd: adds mlockall() to fix pages

2017-09-13 Thread Thomas Monjalon
12/09/2017 15:08, Eelco Chaudron: > Call the mlockall() function, to attempt to lock all of its process > memory into physical RAM, and preventing the kernel from paging any > of its memory to disk. > > When using testpmd for performance testing, depending on the code path > taken, we see a couple

Re: [dpdk-dev] [PATCH] app/testpmd: adds mlockall() to fix pages

2017-09-13 Thread Maxime Coquelin
On 09/12/2017 03:08 PM, Eelco Chaudron wrote: Call the mlockall() function, to attempt to lock all of its process memory into physical RAM, and preventing the kernel from paging any of its memory to disk. When using testpmd for performance testing, depending on the code path taken, we see a co

Re: [dpdk-dev] [PATCH] app/testpmd: adds mlockall() to fix pages

2017-09-13 Thread Eelco Chaudron
On 13/09/17 00:13, Thomas Monjalon wrote: 12/09/2017 22:29, Aaron Conole: Thomas Monjalon writes: 12/09/2017 16:50, Aaron Conole: Eelco Chaudron writes: Call the mlockall() function, to attempt to lock all of its process memory into physical RAM, and preventing the kernel from paging any

Re: [dpdk-dev] [PATCH] app/testpmd: adds mlockall() to fix pages

2017-09-12 Thread Thomas Monjalon
12/09/2017 22:29, Aaron Conole: > Thomas Monjalon writes: > > > 12/09/2017 16:50, Aaron Conole: > >> Eelco Chaudron writes: > >> > >> > Call the mlockall() function, to attempt to lock all of its process > >> > memory into physical RAM, and preventing the kernel from paging any > >> > of its me

Re: [dpdk-dev] [PATCH] app/testpmd: adds mlockall() to fix pages

2017-09-12 Thread Aaron Conole
Thomas Monjalon writes: > 12/09/2017 16:50, Aaron Conole: >> Eelco Chaudron writes: >> >> > Call the mlockall() function, to attempt to lock all of its process >> > memory into physical RAM, and preventing the kernel from paging any >> > of its memory to disk. >> > >> > When using testpmd for p

Re: [dpdk-dev] [PATCH] app/testpmd: adds mlockall() to fix pages

2017-09-12 Thread Thomas Monjalon
12/09/2017 16:50, Aaron Conole: > Eelco Chaudron writes: > > > Call the mlockall() function, to attempt to lock all of its process > > memory into physical RAM, and preventing the kernel from paging any > > of its memory to disk. > > > > When using testpmd for performance testing, depending on th

Re: [dpdk-dev] [PATCH] app/testpmd: adds mlockall() to fix pages

2017-09-12 Thread Aaron Conole
Eelco Chaudron writes: > Call the mlockall() function, to attempt to lock all of its process > memory into physical RAM, and preventing the kernel from paging any > of its memory to disk. > > When using testpmd for performance testing, depending on the code path > taken, we see a couple of page f

[dpdk-dev] [PATCH] app/testpmd: adds mlockall() to fix pages

2017-09-12 Thread Eelco Chaudron
Call the mlockall() function, to attempt to lock all of its process memory into physical RAM, and preventing the kernel from paging any of its memory to disk. When using testpmd for performance testing, depending on the code path taken, we see a couple of page faults in a row. These faults effect