200 line kernel patch to improve performance

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux