Re: [gentoo-user] Kernel multitasking improvement

2010-11-19 Thread Petri Rosenström
On Fri, Nov 19, 2010 at 1:48 AM, Alan McKinnon  wrote:
> Apparently, though unproven, at 01:36 on Friday 19 November 2010, Daniel D
> Jones did opine thusly:
>
>> Has anyone running Gentoo tried this?  If so, what were your results?
>>
>> http://www.webupd8.org/2010/11/alternative-to-200-lines-kernel-patch.html
>>
>> The instructions include adding the following command to .bashrc:
>>
>> mkdir -m 0700 /sys/fs/cgroup/cpu/user/$$
>>
>> Under /sys/fs/, the only subdirectory I have is fuse.  It isn't clear to me
>> if simply creating the entire tree will work or if some alteration is
>> necessary for this to work under Gentoo.
>
> cgroup is control group. I'll bet you don't have it included in your kernel.
>
> It's under the first menu item in menuconfig.
>
> The article doesn't mention it, it assumes you run redhat or ubuntu
>
>
> --
> alan dot mckinnon at gmail dot com
>
>

Hi,

I didn't try that one, but I'm running the kernel patch. My laptops
mouse lagged in some situations and this seems to have gone away.
Haven't done any "real" tests. I'm running git-sources 2.6.37_rc1-r8.

Best regards
Petri Rosenström



Re: [gentoo-user] Kernel multitasking improvement

2010-11-18 Thread Alan McKinnon
Apparently, though unproven, at 01:36 on Friday 19 November 2010, Daniel D 
Jones did opine thusly:

> Has anyone running Gentoo tried this?  If so, what were your results?
> 
> http://www.webupd8.org/2010/11/alternative-to-200-lines-kernel-patch.html
> 
> The instructions include adding the following command to .bashrc:
> 
> mkdir -m 0700 /sys/fs/cgroup/cpu/user/$$
> 
> Under /sys/fs/, the only subdirectory I have is fuse.  It isn't clear to me
> if simply creating the entire tree will work or if some alteration is
> necessary for this to work under Gentoo.

cgroup is control group. I'll bet you don't have it included in your kernel.

It's under the first menu item in menuconfig.

The article doesn't mention it, it assumes you run redhat or ubuntu


-- 
alan dot mckinnon at gmail dot com