Re: trickle for cpu ?

2014-03-04 Thread Reco
Hi. On Tue, 04 Mar 2014 20:03:44 +0100 Ralf Mardorf wrote: > PS: Perhaps you could use PAM. Bad idea. Violation of cpu shell limit will kill offending process: $ bash $ ulimit -t 1 $ while true; do true ;done Killed Reco -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org wi

Re: trickle for cpu ?

2014-03-04 Thread Ralf Mardorf
PS: Perhaps you could use PAM. [rocketmouse@archlinux ~]$ cat /mnt/debi386/etc/security/limits.conf # /etc/security/limits.conf # #Each line describes a limit for a user in the form: # # # #Where: # can be: #- an user name #- a group name, with @group syntax #-

Re: trickle for cpu ?

2014-03-04 Thread Ralf Mardorf
From: ralf.mardorf at alice-dsl.net To: debian-user at lists.debian.org Subject: Re: trickle for cpu ? Date: Tue, 04 Mar 2014 13:54:25 +0100 On Tue, 2014-03-04 at 16:32 +0400, Reco wrote: > cgroups Zenaan does use jackd, or at least once tested jackd. using Cgroups might be a bad idea, at le

Re: trickle for cpu ?

2014-03-04 Thread Reco
Hi. On Tue, Mar 04, 2014 at 11:16:34PM +1100, Zenaan Harkness wrote: > I want to be able to say "use maximum 10% of CPU". cgroups are definitely THE tool for doing this. The best starting point IMO would be installing cgroup-bin and reading its' documentation. Reco -- To UNSUBSCRIBE, email t

trickle for cpu ?

2014-03-04 Thread Zenaan Harkness
I know of nice, but that just changes process priority, but still allows a process to use up to 100% of cpu. trickle is a bandwidth shaper for network usage and is easy to use and works well. Is there an equivalent for CPU, so that I can "shape" the "cpu bandwidth" of an application? I want to b