Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > The Dungeon > Archived (Click Header To See Sub-Forums) > Fedora 13 Development Branch
FedoraForum Search

Forgot Password? Join Us!

Fedora 13 Development Branch Discussions on the Development Branch that will lead to Fedora 13 (This Forum will eventually be Archived).

 
 
Thread Tools Search this Thread Display Modes
  #1  
Old 28th January 2010, 01:19 PM
tripleninez Offline
Registered User
 
Join Date: Jan 2010
Location: Toronto, Canada
Posts: 77
linuxfedorafirefox
BFS scheduler, anyone using it??? if so post "howto"...

hey everyone,

i've been searching around the forums to see if anyone is currently using or knows how to correctly
compile a kernel using the BFS scheduler instead of CFG...????

apparently it is supposed to be pretty decent, especially for desktops...google has also added it to
it's dev-repo's for Android....

BFS is supposed to be handy for desktop/multimedia, rt-kernels, things like VST, where it out performs CFG.

i am very curious to try it in fedora. however, i have yet to successfully get it to compile correctly in fedora.

if anyone has accomplished this let me know, i could use some help.

although i am not new to linux, i am to fedora....if i was using ubuntu/debian it would be easy...
even in gentoo it is fairly simple to accomplish...but the only custom kernel doc's i have found for
Fedora only apply to using rpm sources, and it doesn't really apply.

i would rather do it from source code and not rpm...

ts9
  #2  
Old 31st January 2010, 12:52 AM
tcpip4000's Avatar
tcpip4000 Offline
Registered User
 
Join Date: Nov 2009
Posts: 31
windows_7firefox
You can customize the fedora kernel, just follow the instructions in:

http://fedoraproject.org/wiki/Docs/CustomKernel
__________________
Juan P. Daza P.
Linux user: 431181
  #3  
Old 1st February 2010, 12:38 AM
tripleninez Offline
Registered User
 
Join Date: Jan 2010
Location: Toronto, Canada
Posts: 77
linuxfedorafirefox
Quote:
Originally Posted by tcpip4000 View Post
You can customize the fedora kernel, just follow the instructions in:

http://fedoraproject.org/wiki/Docs/CustomKernel

ya, i have checked that out, but compiling BFS in kernel with those instructions didn't work.

jordan

---------- Post added at 07:38 PM CST ---------- Previous post was at 04:00 PM CST ----------

Quote:
Originally Posted by tcpip4000 View Post
You can customize the fedora kernel, just follow the instructions in:

http://fedoraproject.org/wiki/Docs/CustomKernel
so i gave it another shot, and i am stuck again....

i am sort of disappointed that the documentation has no extra examples and no troubleshooting..
this is where i am stuck:

Code:
Patch12013: linux-2.6-rfkill-all.patch
+ case "$patch" in
+ patch -p1 -F1 -s
+ ApplyPatch patch-2.6.32-ck1.patch
+ local patch=patch-2.6.32-ck1.patch
+ shift
+ '[' '!' -f /home/ninez/rpmbuild/SOURCES/patch-2.6.32-ck1.patch ']'
Patch9999: patch-2.6.32-ck1.patch
+ case "$patch" in
+ patch -p1 -F1 -s
The text leading up to this was:
--------------------------
|diff -uNrp kernel-2.6.32.i686.orig/.config kernel-2.6.32.new/.config
|--- kernel-2.6.32.i686.orig/.config	2010-01-31 18:06:59.230482000 -0500
|+++ kernel-2.6.32.new/.config	2010-01-31 18:37:19.739482001 -0500
--------------------------
File to patch: 
Skip this patch? [y] n
File to patch:
so what file am i supposed to patch??? i can't find an answer very easily, i have been googling, to no avail!

as a side note: pretty much all other distro's use a "patch command", i forget how it goes,

patch bla bla < bla bla - (i haven't used it in a long time)

it would seem to me, fedora's way of building a custom kernel is far more complicated,
and i do not get why...in suse, ubuntu, etc it is really straight forward and simple...

anyway, any help would be appreciated..

ts9
  #4  
Old 1st February 2010, 01:15 AM
tcpip4000's Avatar
tcpip4000 Offline
Registered User
 
Join Date: Nov 2009
Posts: 31
windows_7firefox
Could you provide the patch, the patch location, the kernel location and the command you are using to apply the patch.

location: absolute path in your system
__________________
Juan P. Daza P.
Linux user: 431181

Last edited by tcpip4000; 1st February 2010 at 01:16 AM. Reason: improving answer
  #5  
Old 1st February 2010, 03:14 AM
tripleninez Offline
Registered User
 
Join Date: Jan 2010
Location: Toronto, Canada
Posts: 77
linuxfedorafirefox
Quote:
Originally Posted by tcpip4000 View Post
Could you provide the patch, the patch location, the kernel location and the command you are using to apply the patch.

location: absolute path in your system
patch location: /home/ninez/rpmbuild/SOURCES/patch-2.6.32-ck1.patch

kernel location: /home/ninez/rpmbuild/BUILD/kernel-2.6.32.new

Command used:

rpmbuild -bb --with baseonly --with firmware --without debuginfo --target=`uname -m` kernel.spec

(as specified in the documentation for having firmware included)

and the patch i am applying is: patch-2.6.32-ck1.patch (BFS scheduler)

the file that is patch-2.6.32-ck1.gz is the original

but i also attached the patch from the ~/SOURCES/ folder too, in case it may be different...
Attached Files
File Type: gz patch-2.6.32-ck1.patch.gz (79.1 KB, 54 views)
File Type: gz patch-2.6.32-ck1.gz (68.7 KB, 53 views)
  #6  
Old 1st February 2010, 03:54 PM
tcpip4000's Avatar
tcpip4000 Offline
Registered User
 
Join Date: Nov 2009
Posts: 31
linuxfedorafirefox
It seems the patch is trying to modify the .config file but the context of the lines trying to modify are not what it expected.

Check patch-2.6.32-ck1.patch and compare the .config modifications with the original .config.

If you understand the differences then create a patch with the diff utility.

Futhermore: I see this patch is trying to modify .config.old and .config~ files who doesn't exists.
__________________
Juan P. Daza P.
Linux user: 431181

Last edited by tcpip4000; 1st February 2010 at 04:03 PM. Reason: adding more information
  #7  
Old 25th February 2010, 06:42 PM
tripleninez Offline
Registered User
 
Join Date: Jan 2010
Location: Toronto, Canada
Posts: 77
linuxfedorafirefox
hey thanks for the advice! sorry i took a bit to respond

so i was able to get BFS patched into the k12 kernel. after a few tries, of course.
i needed to do various changes before i got a smooth running kernel again.
your tips helped out. i started the whole process from scratch. i used a diff against the original
and after a bit i got it to compile and work!!

i ended up not noticing a big difference, at least not at first. but i've been busy too... this week, I ended up playing with a "Zen-kernel" and doing some patching to it(not with BFS - it already incudes BFS scheduler) now i am super happy!!!! you always hear people in the gentoo camp talk about better performance with kernels and Zen is an option. Although not officially supported by either party(redhat or Zen) in fedora, the kernel runs really really great.

my system is handling beautifully. navigation feels quicker, there is less idling....and when i am
using VST instruments(WineASIO) they run smoother, this is especially with plugins that produce sound by stream from disk or samples stored in memory.(systhesis has never been an issue).

i was using planet ccrma(still am) and borrowed things from their kernel to tweak my zen-kernel before compiling - also did comparisions, etc. i am blown away, even through Zen is more for gentoo, mage, etc. it's great to see that it works with fedora 12 and seems to give me further optimization and performance!!

one more thing

how do i know things are working better, you may ask??????

when i used to use battery(drum machine) pianissimo(piano) both used samples mostly in memory
but i knew my other piano(boresdorferVST) uses ram(alot) and also reads directly from disk...well it used to crackle and give x-runs now it doesn't do it. it rolls on!!! i use compiz/multiple desktops/etc and everything runs smooth without noticably affecting other processes - which has always been an issue for me....


anyway thanx again and cheerz

i am going to do some benchmarks and post here at the forums!

Last edited by tripleninez; 25th February 2010 at 07:02 PM.
  #8  
Old 2nd March 2010, 07:33 PM
tcpip4000's Avatar
tcpip4000 Offline
Registered User
 
Join Date: Nov 2009
Posts: 31
linuxfedorafirefox
fun

Hey, good to hear that; certainly you have enough material for a good tutorial or blog.

Hope you pure fun .
__________________
Juan P. Daza P.
Linux user: 431181
 

Tags
bfs, bfs scheduler, fedora 12, kernel

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Replys get merged into previous post as a "Bump" Gödel Suggestions & Feedback 7 12th November 2009 05:19 PM
Evolution "view -> Post-to-Field" not enabled when sending email babysnakes Using Fedora 6 1st February 2009 12:50 PM
"World of Warcraft" Gamers - post your characters here! nyinge Wibble 0 19th October 2005 07:28 PM
Error:visibility arg must be one of "default", "hidden", "protected" or "internal" wangfeng Using Fedora 0 23rd May 2005 04:59 AM


Current GMT-time: 11:06 (Thursday, 20-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat