<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
On 11/19/2010 04:21 PM, Jim wrote:
<blockquote cite="mid:4CE6EA58.6090002@comcast.net" type="cite">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title></title>
On 11/19/2010 02:27 PM, Konstantin Svist wrote:
<blockquote cite="mid:4CE6CF8E.2020503@gmail.com" type="cite">
<meta content="text/html; charset=UTF-8"
http-equiv="Content-Type">
On 11/19/2010 09:02 AM, Jim wrote:
<blockquote cite="mid:4CE6ADA6.4020606@comcast.net" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=UTF-8">
Fedora 13<br>
<br>
Trying to make Directory cpu in /sys/fs/cgroup as SU as per
this below Website states<br>
And it keeps saying, "No such file or directory"<br>
<br>
/sys/fs/cgroup does exist.<br>
<br>
# cd /sys/fs/cgroup/<br>
[root@Bigone cgroup]# ls -al<br>
total 0<br>
<br>
drwxr-xr-x. 2 root root 0 Nov 19 11:26 .<br>
drwxr-xr-x. 5 root root 0 Nov 14 12:11 ..<br>
<br>
<pre class="linux-code"><code>So the command below won't work
mount -t cgroup cgroup /sys/fs/cgroup/cpu -o cpu
mkdir -m 0777 /sys/fs/cgroup/cpu/user</code></pre>
<br>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.webupd8.org/2010/11/alternative-to-200-lines-kernel-patch.html">http://www.webupd8.org/2010/11/alternative-to-200-lines-kernel-patch.html</a>
</blockquote>
<br>
<br>
Try this one, instead (mostly from <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://lkml.org/lkml/2010/11/16/413">http://lkml.org/lkml/2010/11/16/413</a>)<br>
<br>
add to .bashrc:<br>
<pre>if [ "$PS1" ] ; then
mkdir -m 0700 -p /cgroup/cpu/user/$$
echo 1 > /cgroup/cpu/user/$$/notify_on_release
echo $$ > /cgroup/cpu/user/$$/tasks
fi</pre>
<br>
create /bin/rmcgroup:<br>
<pre style="">#!/bin/bash
rmdir /cgroup/cpu/$1</pre>
<br>
add to /etc/rc.local:<br>
<pre style="">mount -t cgroup -o cpu none /cgroup/cpu
mkdir -p -m 0777 /cgroup/cpu/user
echo "/bin/rmcgroup" > /cgroup/cpu/release_agent</pre>
<br>
</blockquote>
Fedora 14<br>
<br>
I made these changes as shown above and restarted computer and had
no error messages pop up.<br>
<br>
Checked /var/log/messages and found no error evolving reading of
rc.local , if it did ?<br>
</blockquote>
<br>
Well guys I took it for a spin and things seem to be faster.<br>
<br>
When opening /usr/lib in Konqueror or Dolphin it is much faster.<br>
<br>
Anyone got ideals on checking the speed to see if it is faster ?<br>
</body>
</html>