LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 11-16-2010, 06:03 PM   #1
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,227

Rep: Reputation: 86
Thumbs up New kernel miracle patch : sched: automated per tty task groups


Read this if not already done :
http://www.phoronix.com/scan.php?pag...37_video&num=1

Do someone already tried it ?
 
Old 11-16-2010, 07:05 PM   #2
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,059

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
which part is the patch and it's name?
 
Old 11-17-2010, 04:37 AM   #3
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,227

Original Poster
Rep: Reputation: 86
[RFC/RFT PATCH v3] sched: automated per tty task groups

http://marc.info/?l=linux-kernel&m=128978361700898&w=2
 
Old 11-19-2010, 02:22 AM   #4
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,909

Rep: Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326
Looks like you can do better without even patching the kernel:

Alternative To The "200 Lines Kernel Patch That Does Wonders" Which You Can Use Right Away

Cheers
 
Old 11-19-2010, 03:26 AM   #5
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,227

Original Poster
Rep: Reputation: 86
Yup, trying it on Slackware 64 13.0, but /sys/fs/cgroup/ is empty and i can't create cpu directory.
I compiled all cgroup options in the kernel.

Any idea ?
 
Old 11-19-2010, 05:06 AM   #6
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,909

Rep: Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326
Hi Linux.tar.gz,

Just recompiled the 2.6.37-rc2 kernel adding the cgroup stuff and faced the same behavior: No /sys/fs/cgroup/cpu is created.
Anyway since I don't have time right now to search further, tried the "ubuntu" way (use /dev instead of /sys/fs) and it works (tasks are created under /dev/cgroup/cpu/user/xxx), even though I didn't see any noticeable difference than before.
Hopefully I could do some tests during the weekend

Regards
 
Old 11-19-2010, 07:12 AM   #7
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,227

Original Poster
Rep: Reputation: 86
Cross link :
http://www.linuxquestions.org/questi...issing-845266/
 
Old 11-19-2010, 07:31 AM   #8
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,227

Original Poster
Rep: Reputation: 86
Used the "Fedora" way http://forums.fedoraforum.org/showthread.php?p=1418113, and it (seems to) works too, but like you, there's absolutely no difference...
As said in other thread, seems there's a service to start ...

Last edited by Linux.tar.gz; 11-19-2010 at 08:28 AM.
 
Old 11-19-2010, 09:52 AM   #9
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,227

Original Poster
Rep: Reputation: 86
It works !!!

Just remember to CLOSE the terminal when testing, because it keeps the .bashrc settings, even if you modify it (of course)!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel BUG in preempt_schedule_irq at kernel/sched.c:3114! yigal_gold Linux - Kernel 1 03-27-2009 08:46 PM
kernel BUG in preempt_schedule_irq at kernel/sched.c:3114! yigal_gold Linux - Embedded & Single-board computer 5 03-15-2009 04:46 AM
kernel BUG in preempt_schedule_irq at kernel/sched.c:3114! yigal_gold Linux - Kernel 0 03-01-2009 06:44 AM
LXer: Defining Scheduler Task Groups LXer Syndicated Linux News 0 09-12-2007 04:12 AM


All times are GMT -5. The time now is 05:38 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration