mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Paul Rolland" <rol@as2917.net>
To: "'Chris Siebenmann'" <cks@utcc.utoronto.ca>
Cc: "'Linux Kernel mailing List'" <linux-kernel@vger.kernel.org>
Subject: Re: Linux scheduler (scheduling) questions vs threads
Date: Sat, 3 Jul 2004 17:18:34 +0200	[thread overview]
Message-ID: <200407031518.i63FIcX01117@tag.witbe.net> (raw)
In-Reply-To: <40E6BB39.4080405@tmr.com>

> Chris Siebenmann wrote:
> > You write:
> > | Ingo Molnar wrote:
> > [...]
> > | > so the normal Linux scheduling policy applies to 
> 'threads' too. [...]
> > [...]
> > | On a multi-user machine this may result in undesirable 
> behaviour, since 
> > | each thread seems to compete for resources and the 
> machine may get VERY 
> > | slow if someone deos something anti-social.
> > 
> >  This is nothing unique to threads; the same problem appears if a
> > program (or a user) uses a bunch of CPU-eating processes. I imagine
> > that any real solution will have to be per-user 'beancounting' and
> > limits, which have yet to make it into the Linux kernel.
> 

What about ulimit'ing users ?

bash-2.05$ ulimit -a
core file size (blocks)     0
data seg size (kbytes)      unlimited
file size (blocks)          unlimited
max locked memory (kbytes)  unlimited
max memory size (kbytes)    unlimited
open files                  1024
pipe size (512 bytes)       8
stack size (kbytes)         8192
cpu time (seconds)          unlimited
max user processes          4087
virtual memory (kbytes)     unlimited

Regards,
Paul


  reply	other threads:[~2004-07-03 15:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <04Jul1.223441edt.41896@gpu.utcc.utoronto.ca>
2004-07-03 13:57 ` Bill Davidsen
2004-07-03 15:18   ` Paul Rolland [this message]
2004-07-01 11:56 Povolotsky, Alexander
2004-07-01 12:06 ` Ingo Molnar
2004-07-01 21:41   ` Bill Davidsen

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=200407031518.i63FIcX01117@tag.witbe.net \
    --to=rol@as2917.net \
    --cc=cks@utcc.utoronto.ca \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
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

all inboxes | Powered by JetHome®