From mboxrd@z Thu Jan 1 00:00:00 1970 From: Balbir Singh Subject: Re: cgroups and limit firefox processes cpu time Date: Fri, 22 Jan 2010 16:45:40 +0530 Message-ID: <4B5988DC.8020100@linux.vnet.ibm.com> References: <4B5938EB.3040809@cobradevil.org> Reply-To: balbir-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4B5938EB.3040809-FuVYq0B8HF8swF9hGuCkNA@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: william Cc: containers-qjLDD68F18O7TbgM5vRIOg@public.gmane.org, V Srivatsa , Bharata B Rao , Dhaval Giani List-Id: containers.vger.kernel.org On Friday 22 January 2010 11:04 AM, william wrote: > 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? Are these running on behalf of different users? You can always create a good hiearchy and organize. FAIR_USER scheduler option is going away soon. Some more context on the firefox applications and whose behalf they are running on, etc would help. -- Three Cheers, Balbir Singh