LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-13-2007, 11:50 AM   #1
paragkalra
Member
 
Registered: Sep 2006
Location: Nagpur, Maharashtra, India
Distribution: Debian, Ubuntu, Redhat, Fedora, SLES, OpenSUSE, FreeBSD, Mac OS X
Posts: 221

Rep: Reputation: 31
Distributing CPU utilization in LINUX


I have a Server on which many users login.

I have three departments A, B & C. Hence I have created three groups: groupa, groupb and groupc. So some users belong to groupa, some to groupb and some belong to groupc.

I want to allocate 33% CPU utilization of my server each to groupa, groupb and groupc so that no department would be able to use more than 33% of CPU of the server.

Is there a way I can achieve above scenario in LINUX.
 
Old 12-13-2007, 02:48 PM   #2
forrestt
Senior Member
 
Registered: Mar 2004
Location: Cary, NC, USA
Distribution: Fedora, Kubuntu, RedHat, CentOS, SuSe
Posts: 1,288

Rep: Reputation: 99
Why does it matter if a group uses more than 33% of the CPU if no other group is using it? It just means they will be done faster and be able to be more proficient.

What you probably want to do is allocate 33% if all three groups are using it, 50% if only two are using it, and all of it (within reason) if only one is using it.

I believe this page describes what you are talking about (although it is an alpha stage kernel mod):

http://kerneltrap.org/node/8253

So, I don't think it is something that can be done yet (containers?) but maybe in the future.

Of course, I don't know everything, so if someone knows more about this, I'm ready to learn my "new thing" today.

HTH

Forrest

p.s. If you have 3 groups fighting over CPU utilization, it is probably time to purchase an additional server or two.

Last edited by forrestt; 12-13-2007 at 02:56 PM. Reason: added p.s.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CPU utilization ust Linux - Software 1 10-11-2007 06:05 AM
CPU utilization in 2.4 vs 2.6.. lynz Linux - Software 2 06-04-2007 01:40 PM
Per-process %CPU Utilization first_linux Linux - General 3 06-01-2007 11:53 AM
LXer: How do I find out Linux CPU utilization? LXer Syndicated Linux News 0 01-14-2007 09:03 AM
per process cpu utilization kunal_patel22 Linux - Software 1 05-19-2005 10:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration