Linux Container Development
 help / color / mirror / Atom feed
From: william <william-FuVYq0B8HF8swF9hGuCkNA@public.gmane.org>
To: containers-qjLDD68F18O7TbgM5vRIOg@public.gmane.org
Subject: cgroups and limit firefox  processes cpu time
Date: Fri, 22 Jan 2010 06:34:35 +0100	[thread overview]
Message-ID: <4B5938EB.3040809@cobradevil.org> (raw)

Hello list

I have a question about how i can limit the cpu for a firefox process on 
a terminal server.

We have 150 firefox processes running on a terminalserver but there are 
always people who take more cpu when they use flash or java.
Some firefox processes take sometimes about 50 percent cpu time.
Is there a way to give all firefox processes equal cpu shares so that 
other people who are using firefox for research have no issues (slow 
responding scrolling and menu)  because there are a few firefox 
processes eating all the cpu time?

I hope i made clear what i meant, this is new to me and i haven't found 
other people with examples doing the same.

e.g
1 core
firefox 1 80%
firefox 2 60%
firefox 3 10%

now what i want is that the firefox processes 1 and 2 get the cpu time 
they want but if firefox process 3 is going todo something then he gets 
the cpu time he want's because the first two are over there limit.

I will be happy to answer questions to make this more clear.

With kind regards

William

             reply	other threads:[~2010-01-22  5:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-22  5:34 william [this message]
     [not found] ` <4B5938EB.3040809-FuVYq0B8HF8swF9hGuCkNA@public.gmane.org>
2010-01-22 11:15   ` cgroups and limit firefox processes cpu time Balbir Singh
     [not found]     ` <4B5988DC.8020100-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2010-01-22 11:33       ` william
     [not found]         ` <4B598D0D.9080206-FuVYq0B8HF8swF9hGuCkNA@public.gmane.org>
2010-01-22 11:36           ` Balbir Singh
     [not found]             ` <4B598DB2.2030709-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2010-01-22 12:00               ` Dhaval Giani
     [not found]                 ` <8aa016e11001220400j5bc568e6vb9d087f4310203aa-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-01-22 13:06                   ` william

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=4B5938EB.3040809@cobradevil.org \
    --to=william-fuvyq0b8hf8swf9hguckna@public.gmane.org \
    --cc=containers-qjLDD68F18O7TbgM5vRIOg@public.gmane.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