Bash script to improve responsiveness under system strain

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
faris
Long Time Forum Regular
Long Time Forum Regular
Posts: 2321
Joined: Thu Dec 09, 2004 11:19 am

Bash script to improve responsiveness under system strain

Unread post by faris »

Anybody else seen this? I can't make sense of it:

http://www.webupd8.org/2010/11/alternat ... patch.html
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>
User avatar
mikeshinn
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 4155
Joined: Thu Feb 07, 2008 7:49 pm
Location: Chantilly, VA

Re: Bash script to improve responsiveness under system strai

Unread post by mikeshinn »

CPU grouping, I use it on my workstations and laptops, its very helpful for what I do. The short answer is that its grouping processes by tty and dividing resources from there. It makes workstations and laptops more responsive (to the GUI), for a server, dunno what the effect would be havent tried it yet - keep in mind its about scheduling and grouping, so it cant give you more horsepower its just gonna make the system a little more "fair" - so it might actually be a cool thing to explore on a server. To use it you'll need to install and turn on all the cgroup stuff on your box too to use it, as by default the cgroup filesystem wont be mounted.

Also if you use this method make sure you add it to you skel bashrc and not each users.

I say give it a try on your servers to see how it does for you.
Post Reply