[ale] faster linux

Jim Kinney jim.kinney at gmail.com
Wed Nov 24 10:08:33 EST 2010


I have that running on fedora 14 kernel 2.6.35. Note that the cgroups space
is located in /cgroups and requires running cgconfig in /etc/init.d.

in ~/.bashrc :

if [ "$PS1" ] ; then
   mkdir -m 0700 /cgroup/cpu/user/$$
   echo $$ > /cgroup/cpu/user/$$/tasks
fi

and:

/sbin/chkconfig --list | grep cgc
cgconfig           0:off    1:off    2:on    3:on    4:on    5:on    6:off

I have a line in /etc/rc.local incase a reboot looses the user dir:

mkdir -m 0777 /cgroup/cpu/user

Does it work? Subjectively, yes. Quad-core Intel Core2 @2.66 GHz and desktop
with a gazillion firefox tabs and gnome terminal(s) with loads of tabs each
"feels" a bit snappier. I have not done any measurable testing.

On Wed, Nov 24, 2010 at 9:31 AM, Preston Boyington
<preston.lists at gmail.com>wrote:

> You probably have seen the "200 lines Linux Kernel patch" that improves
> responsiveness:
>
>
> http://www.zdnet.com/blog/hardware/the-linux-desktop-is-about-to-get-a-lot-faster/10372?tag=nl.e589
>
> but I thought this alternative was pretty interesting:
> http://www.webupd8.org/2010/11/alternative-to-200-lines-kernel-patch.html
>
> it does the same thing.  all you have to do is run 2 commands and paste
> 4 lines in your ~/.bashrc file.
>
> I haven't tested it yet, but will very soon.  :)
>
> --
>
> Arrant Drivel - really, it's just trash...
> http://www.arrantdrivel.com/
>
> Where the road takes me - a highwayman's perspective
> http://www.prestonboyington.com/
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>



-- 
-- 
James P. Kinney III
I would rather stumble along in freedom than walk effortlessly in chains.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.ale.org/pipermail/ale/attachments/20101124/e6b093d8/attachment-0001.html 


More information about the Ale mailing list