FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 11-23-2010, 04:26 PM
Jerry Geis
 
Default 200 line kernel patch to improve performance

There was an article about a kernel patch to improve performance.
www.webupd8.org/2010/11/alternative-to-200-lines-kernel-patch.html

it involves adding this to ~/.bashrc

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

and this as root:
||mount -t cgroup cgroup /sys/fs/cgroup/cpu -o cpu
mkdir -m 0777 /sys/fs/cgroup/cpu/user|


My machine Centos 5.5 does not have a /sys/fs/cgroup

Is there anything else to do instead?

Jerry
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 11-23-2010, 04:28 PM
Stephen Harris
 
Default 200 line kernel patch to improve performance

On Tue, Nov 23, 2010 at 12:26:34PM -0500, Jerry Geis wrote:
> My machine Centos 5.5 does not have a /sys/fs/cgroup
>
> Is there anything else to do instead?

Wait for CentOS 6, which will have it ;-)

--

rgds
Stephen
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 09:13 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org