Re: [ovs-dev] [PATCH] rhel: limit stack size to 2M.

2019-02-28 Thread Ben Pfaff
On Thu, Feb 28, 2019 at 07:28:58PM +0100, Timothy Redaelli wrote: > On Thu, 28 Feb 2019 13:13:57 -0300 > Flavio Leitner wrote: > > > The default stack size in Fedora/RHEL is 8M, which means when ovs-vswitchd > > daemon starts and uses --mlockall (default), it will dirty all memory > > regions

Re: [ovs-dev] [PATCH] rhel: limit stack size to 2M.

2019-02-28 Thread Timothy Redaelli
On Thu, 28 Feb 2019 13:13:57 -0300 Flavio Leitner wrote: > The default stack size in Fedora/RHEL is 8M, which means when ovs-vswitchd > daemon starts and uses --mlockall (default), it will dirty all memory > regions for all threads which is proportionally to the number of CPUs. > > On a big

[ovs-dev] [PATCH] rhel: limit stack size to 2M.

2019-02-28 Thread Flavio Leitner
The default stack size in Fedora/RHEL is 8M, which means when ovs-vswitchd daemon starts and uses --mlockall (default), it will dirty all memory regions for all threads which is proportionally to the number of CPUs. On a big host this increases memory usage to many hundreds of megabytes while OVS