LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Linux Speed on a EEEpc-1000 - The Patch !! (https://www.linuxquestions.org/questions/fedora-35/linux-speed-on-a-eeepc-1000-the-patch-845400/)

mickeyboa 11-19-2010 05:15 PM

Linux Speed on a EEEpc-1000 - The Patch !!
 
Installed on a FC13 PC and FC14 EEEpc.

The Patch as outline below.
I used the Terminal and su - to install in Root and Dolphin Filemanager
to install in /home/.bashrc.

I can't get over how I can play TV over the Internet on a EEEpc with very little or no hesitation


The Patch as outline below.

Try this one, instead (mostly from http://lkml.org/lkml/2010/11/16/413)

add to .bashrc:

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


create /bin/rmcgroup:

#!/bin/bash
rmdir /cgroup/cpu/$1


add to /etc/rc.local:

mount -t cgroup -o cpu none /cgroup/cpu
mkdir -p -m 0777 /cgroup/cpu/user
echo "/bin/rmcgroup" > /cgroup/cpu/release_agent

macemoneta 11-20-2010 09:53 AM

That doesn't do what you think it does. If your streaming video playback is better, it's probably because you have less contention at the moment on your internet connection.

If you look in /cgroup/cpu/user/ under normal use, you won't see any process directories. If you open a terminal, the cgroup directory will be created for the terminal process. That's the only time this takes effect. What it does is isolate the terminal usage from the rest of the system. As the Linux kernel mailing list pointed out, this is an abnormal use case for people that don't spend all day compiling kernels.

A better solution is in development that will be more generically useful.


All times are GMT -5. The time now is 09:03 PM.