From: Peter Zijlstra <peterz@infradead•org>
To: Topi Miettinen <toiwoton@gmail•com>
Cc: linux-kernel@vger•kernel.org, "Jonathan Corbet" <corbet@lwn•net>,
"Tony Luck" <tony.luck@intel•com>,
"Fenghua Yu" <fenghua.yu@intel•com>,
"Alexander Graf" <agraf@suse•com>,
"Paolo Bonzini" <pbonzini@redhat•com>,
"Radim Krčmář" <rkrcmar@redhat•com>,
"Benjamin Herrenschmidt" <benh@kernel•crashing.org>,
"Paul Mackerras" <paulus@samba•org>,
"Michael Ellerman" <mpe@ellerman•id.au>,
"Thomas Gleixner" <tglx@linutronix•de>,
"Ingo Molnar" <mingo@redhat•com>,
"H. Peter Anvin" <hpa@zytor•com>,
"maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)"
<x86@kernel•org>, "Doug Ledford" <dledford@redhat•com>,
"Sean Hefty" <sean.hefty@intel•com>,
"Hal Rosenstock" <hal.rosenstock@gmail•com>,
"Mike Marciniszyn" <mike.marciniszyn@intel•com>,
"Dennis Dalessandro" <dennis.dalessandro@intel•com>,
"Christian Benvenuti" <benve@cisco•com>,
"Dave Goodell" <dgoodell@cisco•com>,
"Sudeep Dutt" <sudeep.dutt@intel•com>,
"Ashutosh Dixit" <ashutosh.dixit@intel•com>,
"Alex Williamson" <alex.williamson@redhat•com>,
"Alexander Viro" <viro@zeniv•linux.org.uk>,
"Tejun Heo" <tj@kernel•org>, "Li Zefan" <lizefan@huawei•com>,
"Johannes Weiner" <hannes@cmpxchg•org>,
"Alexei Starovoitov" <ast@kernel•org>,
"Arnaldo Carvalho de Melo" <acme@kernel•org>,
"Alexander Shishkin" <alexander.shishkin@linux•intel.com>,
"Balbir Singh" <bsingharora@gmail•com>,
"Markus Elfring" <elfring@users•sourceforge.net>,
"David S. Miller" <davem@davemloft•net>,
"Nicolas Dichtel" <nicolas.dichtel@6wind•com>,
"Andrew Morton" <akpm@linux-foundation•org>,
"Konstantin Khlebnikov" <koct9i@gmail•com>,
"Jiri Slaby" <jslaby@suse•cz>,
"Cyrill Gorcunov" <gorcunov@openvz•org>,
"Michal Hocko" <mhocko@suse•com>,
"Vlastimil Babka" <vbabka@suse•cz>,
"Dave Hansen" <dave.hansen@linux•intel.com>,
"Greg Kroah-Hartman" <gregkh@linuxfoundation•org>,
"Dan Carpenter" <dan.carpenter@oracle•com>,
"Michael Kerrisk" <mtk.manpages@gmail•com>,
"Kirill A. Shutemov" <kirill.shutemov@linux•intel.com>,
"Marcus Gelderie" <redmnic@gmail•com>,
"Vladimir Davydov" <vdavydov@virtuozzo•com>,
"Joe Perches" <joe@perches•com>,
"Frederic Weisbecker" <fweisbec@gmail•com>,
"Andrea Arcangeli" <aarcange@redhat•com>,
"Eric W. Biederman" <ebiederm@xmission•com>,
"Andi Kleen" <ak@linux•intel.com>,
"Oleg Nesterov" <oleg@redhat•com>, "Stas Sergeev" <stsp@list•ru>,
"Amanieu d'Antras" <amanieu@gmail•com>,
"Richard Weinberger" <richard@nod•at>,
"Wang Xiaoqiang" <wangxq10@lzu•edu.cn>,
"Helge Deller" <deller@gmx•de>,
"Mateusz Guzik" <mguzik@redhat•com>,
"Alex Thorlton" <athorlton@sgi•com>,
"Ben Segall" <bsegall@google•com>,
"John Stultz" <john.stultz@linaro•org>,
"Rik van Riel" <riel@redhat•com>,
"Eric B Munson" <emunson@akamai•com>,
"Alexey Klimov" <klimov.linux@gmail•com>,
"Chen Gang" <gang.chen.5i5j@gmail•com>,
"Andrey Ryabinin" <aryabinin@virtuozzo•com>,
"David Rientjes" <rientjes@google•com>,
"Hugh Dickins" <hughd@google•com>,
"Alexander Kuleshov" <kuleshovmail@gmail•com>,
"open list:DOCUMENTATION" <linux-doc@vger•kernel.org>,
"open list:IA64 (Itanium) PLATFORM" <linux-ia64@vger•kernel.org>,
"open list:KERNEL VIRTUAL MACHINE (KVM) FOR POWERPC"
<kvm-ppc@vger•kernel.org>,
"open list:KERNEL VIRTUAL MACHINE (KVM)" <kvm@vger•kernel.org>,
"open list:LINUX FOR POWERPC (32-BIT AND 64-BIT)"
<linuxppc-dev@lists•ozlabs.org>,
"open list:INFINIBAND SUBSYSTEM" <linux-rdma@vger•kernel.org>,
"open list:FILESYSTEMS (VFS and infrastructure)"
<linux-fsdevel@vger•kernel.org>,
"open list:CONTROL GROUP (CGROUP)" <cgroups@vger•kernel.org>,
"open list:BPF (Safe dynamic programs and tools)"
<netdev@vger•kernel.org>,
"open list:MEMORY MANAGEMENT" <linux-mm@kvack•org>
Subject: Re: [PATCH 00/14] Present useful limits to user (v2)
Date: Fri, 15 Jul 2016 14:43:30 +0200 [thread overview]
Message-ID: <20160715124330.GR30154@twins.programming.kicks-ass.net> (raw)
In-Reply-To: <1468578983-28229-1-git-send-email-toiwoton@gmail.com>
On Fri, Jul 15, 2016 at 01:35:47PM +0300, Topi Miettinen wrote:
> Hello,
>
> There are many basic ways to control processes, including capabilities,
> cgroups and resource limits. However, there are far fewer ways to find out
> useful values for the limits, except blind trial and error.
>
> This patch series attempts to fix that by giving at least a nice starting
> point from the highwater mark values of the resources in question.
> I looked where each limit is checked and added a call to update the mark
> nearby.
And how is that useful? Setting things to the high watermark is
basically the same as not setting the limit at all.
next prev parent reply other threads:[~2016-07-15 12:43 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-15 10:35 [PATCH 00/14] Present useful limits to user (v2) Topi Miettinen
2016-07-15 10:35 ` [PATCH 09/14] resource limits: track highwater mark of locked memory Topi Miettinen
2016-07-15 15:14 ` Oleg Nesterov
2016-07-15 17:39 ` Topi Miettinen
2016-07-18 15:38 ` Oleg Nesterov
2016-07-15 12:43 ` Peter Zijlstra [this message]
2016-07-15 13:52 ` [PATCH 00/14] Present useful limits to user (v2) Topi Miettinen
2016-07-15 13:59 ` Peter Zijlstra
2016-07-15 16:57 ` Topi Miettinen
2016-07-15 20:54 ` H. Peter Anvin
2016-07-15 13:04 ` Balbir Singh
2016-07-15 16:35 ` Topi Miettinen
2016-07-18 22:05 ` Doug Ledford
2016-07-19 16:53 ` Topi Miettinen
2016-07-15 14:19 ` Richard Weinberger
2016-07-15 17:19 ` Topi Miettinen
2016-07-18 21:25 ` Doug Ledford
2016-08-03 18:20 ` Topi Miettinen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160715124330.GR30154@twins.programming.kicks-ass.net \
--to=peterz@infradead$(echo .)org \
--cc=aarcange@redhat$(echo .)com \
--cc=acme@kernel$(echo .)org \
--cc=agraf@suse$(echo .)com \
--cc=ak@linux$(echo .)intel.com \
--cc=akpm@linux-foundation$(echo .)org \
--cc=alex.williamson@redhat$(echo .)com \
--cc=alexander.shishkin@linux$(echo .)intel.com \
--cc=amanieu@gmail$(echo .)com \
--cc=aryabinin@virtuozzo$(echo .)com \
--cc=ashutosh.dixit@intel$(echo .)com \
--cc=ast@kernel$(echo .)org \
--cc=athorlton@sgi$(echo .)com \
--cc=benh@kernel$(echo .)crashing.org \
--cc=benve@cisco$(echo .)com \
--cc=bsegall@google$(echo .)com \
--cc=bsingharora@gmail$(echo .)com \
--cc=cgroups@vger$(echo .)kernel.org \
--cc=corbet@lwn$(echo .)net \
--cc=dan.carpenter@oracle$(echo .)com \
--cc=dave.hansen@linux$(echo .)intel.com \
--cc=davem@davemloft$(echo .)net \
--cc=deller@gmx$(echo .)de \
--cc=dennis.dalessandro@intel$(echo .)com \
--cc=dgoodell@cisco$(echo .)com \
--cc=dledford@redhat$(echo .)com \
--cc=ebiederm@xmission$(echo .)com \
--cc=elfring@users$(echo .)sourceforge.net \
--cc=emunson@akamai$(echo .)com \
--cc=fenghua.yu@intel$(echo .)com \
--cc=fweisbec@gmail$(echo .)com \
--cc=gang.chen.5i5j@gmail$(echo .)com \
--cc=gorcunov@openvz$(echo .)org \
--cc=gregkh@linuxfoundation$(echo .)org \
--cc=hal.rosenstock@gmail$(echo .)com \
--cc=hannes@cmpxchg$(echo .)org \
--cc=hpa@zytor$(echo .)com \
--cc=hughd@google$(echo .)com \
--cc=joe@perches$(echo .)com \
--cc=john.stultz@linaro$(echo .)org \
--cc=jslaby@suse$(echo .)cz \
--cc=kirill.shutemov@linux$(echo .)intel.com \
--cc=klimov.linux@gmail$(echo .)com \
--cc=koct9i@gmail$(echo .)com \
--cc=kuleshovmail@gmail$(echo .)com \
--cc=kvm-ppc@vger$(echo .)kernel.org \
--cc=kvm@vger$(echo .)kernel.org \
--cc=linux-doc@vger$(echo .)kernel.org \
--cc=linux-fsdevel@vger$(echo .)kernel.org \
--cc=linux-ia64@vger$(echo .)kernel.org \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux-mm@kvack$(echo .)org \
--cc=linux-rdma@vger$(echo .)kernel.org \
--cc=linuxppc-dev@lists$(echo .)ozlabs.org \
--cc=lizefan@huawei$(echo .)com \
--cc=mguzik@redhat$(echo .)com \
--cc=mhocko@suse$(echo .)com \
--cc=mike.marciniszyn@intel$(echo .)com \
--cc=mingo@redhat$(echo .)com \
--cc=mpe@ellerman$(echo .)id.au \
--cc=mtk.manpages@gmail$(echo .)com \
--cc=netdev@vger$(echo .)kernel.org \
--cc=nicolas.dichtel@6wind$(echo .)com \
--cc=oleg@redhat$(echo .)com \
--cc=paulus@samba$(echo .)org \
--cc=pbonzini@redhat$(echo .)com \
--cc=redmnic@gmail$(echo .)com \
--cc=richard@nod$(echo .)at \
--cc=riel@redhat$(echo .)com \
--cc=rientjes@google$(echo .)com \
--cc=rkrcmar@redhat$(echo .)com \
--cc=sean.hefty@intel$(echo .)com \
--cc=stsp@list$(echo .)ru \
--cc=sudeep.dutt@intel$(echo .)com \
--cc=tglx@linutronix$(echo .)de \
--cc=tj@kernel$(echo .)org \
--cc=toiwoton@gmail$(echo .)com \
--cc=tony.luck@intel$(echo .)com \
--cc=vbabka@suse$(echo .)cz \
--cc=vdavydov@virtuozzo$(echo .)com \
--cc=viro@zeniv$(echo .)linux.org.uk \
--cc=wangxq10@lzu$(echo .)edu.cn \
--cc=x86@kernel$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox