Re: [PATCH 00/14] Present useful limits to user (v2)

2016-08-03 Thread Topi Miettinen
Hello, I'm trying the systemtap approach and it looks promising. The script is annotating strace-like output with capability, device access and RLIMIT information. In the end there's a summary. Here's sample output from wpa_supplicant run: mprotect(0x7efebf14, 16384, PROT_READ) = 0 [DATA

Re: [PATCH 00/14] Present useful limits to user (v2)

2016-07-19 Thread Topi Miettinen
On 07/18/16 22:05, Doug Ledford wrote: > On 7/15/2016 12:35 PM, Topi Miettinen wrote: >> On 07/15/16 13:04, Balbir Singh wrote: >>> On Fri, Jul 15, 2016 at 01:35:47PM +0300, Topi Miettinen wrote: Hello, There are many basic ways to control processes, including capabilities,

Re: [PATCH 00/14] Present useful limits to user (v2)

2016-07-18 Thread Doug Ledford
On 7/15/2016 12:35 PM, Topi Miettinen wrote: > On 07/15/16 13:04, Balbir Singh wrote: >> 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

Re: [PATCH 00/14] Present useful limits to user (v2)

2016-07-18 Thread Doug Ledford
On 7/15/2016 10:19 AM, Richard Weinberger wrote: > Hi! > > Am 15.07.2016 um 12:35 schrieb Topi Miettinen: >> 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

Re: [PATCH 00/14] Present useful limits to user (v2)

2016-07-15 Thread H. Peter Anvin
,Johannes Weiner ,Alexei Starovoitov ,Arnaldo Carvalho de Melo ,Alexander Shishkin ,Balbir Singh ,Markus Elfring ,"David S.

Re: [PATCH 00/14] Present useful limits to user (v2)

2016-07-15 Thread Topi Miettinen
On 07/15/16 14:19, Richard Weinberger wrote: > Hi! > > Am 15.07.2016 um 12:35 schrieb Topi Miettinen: >> 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

Re: [PATCH 00/14] Present useful limits to user (v2)

2016-07-15 Thread Topi Miettinen
On 07/15/16 13:59, Peter Zijlstra wrote: > On Fri, Jul 15, 2016 at 01:52:48PM +, Topi Miettinen wrote: >> On 07/15/16 12:43, Peter Zijlstra wrote: >>> On Fri, Jul 15, 2016 at 01:35:47PM +0300, Topi Miettinen wrote: Hello, There are many basic ways to control processes, including

Re: [PATCH 00/14] Present useful limits to user (v2)

2016-07-15 Thread Topi Miettinen
On 07/15/16 13:04, Balbir Singh wrote: > 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

Re: [PATCH 00/14] Present useful limits to user (v2)

2016-07-15 Thread Richard Weinberger
Hi! Am 15.07.2016 um 12:35 schrieb Topi Miettinen: > 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

Re: [PATCH 00/14] Present useful limits to user (v2)

2016-07-15 Thread Peter Zijlstra
On Fri, Jul 15, 2016 at 01:52:48PM +, Topi Miettinen wrote: > On 07/15/16 12:43, Peter Zijlstra wrote: > > 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

Re: [PATCH 00/14] Present useful limits to user (v2)

2016-07-15 Thread Topi Miettinen
On 07/15/16 12:43, Peter Zijlstra wrote: > 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

Re: [PATCH 00/14] Present useful limits to user (v2)

2016-07-15 Thread Balbir Singh
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

Re: [PATCH 00/14] Present useful limits to user (v2)

2016-07-15 Thread Peter Zijlstra
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 00/14] Present useful limits to user (v2)

2016-07-15 Thread Topi Miettinen
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