Re: threads-max observe limits

2019-09-24 Thread Michal Hocko
On Mon 23-09-19 16:23:40, Eric W. Biederman wrote: > > Michal, > > Thinking about this I have a hunch about what changed. I think at some > point we changed from 4k to 8k kernel stacks. So I suspect if your > client is seeing a lower threads-max it is because the size of the > kernel data struc

Re: threads-max observe limits

2019-09-23 Thread Eric W. Biederman
Michal, Thinking about this I have a hunch about what changed. I think at some point we changed from 4k to 8k kernel stacks. So I suspect if your client is seeing a lower threads-max it is because the size of the kernel data structures increased. Eric

Re: threads-max observe limits

2019-09-23 Thread Michal Hocko
Andrew, do you want me to send the patch or you can grab it from here? On Sun 22-09-19 16:24:10, Eric W. Biederman wrote: > Michal Hocko writes: > > > From 711000fdc243b6bc68a92f9ef0017ae495086d39 Mon Sep 17 00:00:00 2001 > > From: Michal Hocko > > Date: Sun, 22 Sep 2019 08:45:28 +0200 > > Subj

Re: threads-max observe limits

2019-09-22 Thread Eric W. Biederman
Michal Hocko writes: > From 711000fdc243b6bc68a92f9ef0017ae495086d39 Mon Sep 17 00:00:00 2001 > From: Michal Hocko > Date: Sun, 22 Sep 2019 08:45:28 +0200 > Subject: [PATCH] kernel/sysctl.c: do not override max_threads provided by > userspace > > Partially revert 16db3d3f1170 ("kernel/sysctl.c:

Re: threads-max observe limits

2019-09-22 Thread Eric W. Biederman
Heinrich Schuchardt writes: > Did this patch when applied to the customer's kernel solve any problem? > > WebSphere MQ is a messaging application. If it hits the current limits > of threads-max, there is a bug in the software or in the way that it has > been set up at the customer. Instead of mes

Re: threads-max observe limits

2019-09-22 Thread Heinrich Schuchardt
On 9/22/19 8:58 AM, Michal Hocko wrote: > On Thu 19-09-19 14:33:24, Eric W. Biederman wrote: >> Michal Hocko writes: >> >>> On Tue 17-09-19 12:26:18, Eric W. Biederman wrote: > [...] Michal is it a very small effect your customers are seeing? Is it another bug somewhere else? >>> >>> I a

Re: threads-max observe limits

2019-09-21 Thread Michal Hocko
On Thu 19-09-19 14:33:24, Eric W. Biederman wrote: > Michal Hocko writes: > > > On Tue 17-09-19 12:26:18, Eric W. Biederman wrote: [...] > >> Michal is it a very small effect your customers are seeing? > >> Is it another bug somewhere else? > > > > I am still trying to get more information. Repor

Re: threads-max observe limits

2019-09-19 Thread Andrew Morton
On Thu, 19 Sep 2019 09:59:11 +0200 Michal Hocko wrote: > On Wed 18-09-19 09:15:41, Michal Hocko wrote: > > On Tue 17-09-19 12:26:18, Eric W. Biederman wrote: > [...] > > > b) Not being able to bump threads_max to the physical limit of > > >the machine is very clearly a regression. > > > > ..

Re: threads-max observe limits

2019-09-19 Thread Eric W. Biederman
Michal Hocko writes: > On Tue 17-09-19 12:26:18, Eric W. Biederman wrote: >> Michal Hocko writes: >> >> > On Tue 17-09-19 17:28:02, Heinrich Schuchardt wrote: >> >> >> >> On 9/17/19 12:03 PM, Michal Hocko wrote: >> >> > Hi, >> >> > I have just stumbled over 16db3d3f1170 ("kernel/sysctl.c: thre

Re: threads-max observe limits

2019-09-19 Thread Michal Hocko
On Wed 18-09-19 09:15:41, Michal Hocko wrote: > On Tue 17-09-19 12:26:18, Eric W. Biederman wrote: [...] > > b) Not being able to bump threads_max to the physical limit of > >the machine is very clearly a regression. > > ... exactly this part. The changelog of the respective patch doesn't > re

Re: threads-max observe limits

2019-09-18 Thread Michal Hocko
On Tue 17-09-19 12:26:18, Eric W. Biederman wrote: > Michal Hocko writes: > > > On Tue 17-09-19 17:28:02, Heinrich Schuchardt wrote: > >> > >> On 9/17/19 12:03 PM, Michal Hocko wrote: > >> > Hi, > >> > I have just stumbled over 16db3d3f1170 ("kernel/sysctl.c: threads-max > >> > observe limits")

Re: threads-max observe limits

2019-09-17 Thread Eric W. Biederman
Michal Hocko writes: > On Tue 17-09-19 17:28:02, Heinrich Schuchardt wrote: >> >> On 9/17/19 12:03 PM, Michal Hocko wrote: >> > Hi, >> > I have just stumbled over 16db3d3f1170 ("kernel/sysctl.c: threads-max >> > observe limits") and I am really wondering what is the motivation behind >> > the pa

Re: threads-max observe limits

2019-09-17 Thread Michal Hocko
On Tue 17-09-19 17:28:02, Heinrich Schuchardt wrote: > > On 9/17/19 12:03 PM, Michal Hocko wrote: > > Hi, > > I have just stumbled over 16db3d3f1170 ("kernel/sysctl.c: threads-max > > observe limits") and I am really wondering what is the motivation behind > > the patch. We've had a customer notic

Re: threads-max observe limits

2019-09-17 Thread Heinrich Schuchardt
On 9/17/19 12:03 PM, Michal Hocko wrote: > Hi, > I have just stumbled over 16db3d3f1170 ("kernel/sysctl.c: threads-max > observe limits") and I am really wondering what is the motivation behind > the patch. We've had a customer noticing the threads_max autoscaling > differences btween 3.12 and 4.