AOA AOA AOA Folding For Team 45 AOA Files Home Front Page Become an AOA Subscriber! UserCP Calendar Memberlist FAQ Search Forum Home


Go Back   AOA > Software > OS, Software, Firmware, and BIOS > Linux

Linux Questions and information concerning Linux

Reply
 
LinkBack Thread Tools Rate Thread
  #1 (permalink)  
Old 7th September, 2009, 09:09 AM
ThunderRd's Avatar
Irreverent Query Chairman
 
Join Date: June 2007
Location: Formerly NYC; now 17 years in northern Thailand
Posts: 1,230

the controversy begins re: the BFS scheduler and Con Kolivas

It's starting already. Wonder how long 'til Linus has something to say...

Slashdot Linux Story | Con Kolivas Returns, With a Desktop-Oriented Linux Scheduler
__________________
#1: Tt Armor, ASUS Maximus Extreme, Q6600@3.6G, 2G Corsair Dominator DDR3-1800, Tagan BZ900W, H2O by Swiftech, 2xLeadtek 9600GT, 2xRaptor 150G RAID0, Logitech G15/G5, XP SP3
#2: Tt Shark, ASUS A8N32-SLI Deluxe, Opteron 185@3.15G nude, 2G Corsair XMS, Tt ToughPower750, H2O by Tt, 2xASUS 8800GT, 2xRaptor 74G RAID0, Raptor 150G, Xubuntu 9.04, BFS Kernel
#3, #4: Opteron 170@2.75G nude, A8N-SLI Deluxe, Ubuntu 9.04.......#5: A64x2 4800+@2.8G.......#6-40: Pentium D 3.0G

AOA Folding @Home
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 7th September, 2009, 10:26 AM
Member
 
Join Date: April 2005
Location: AZ
Posts: 2,171

I'm sure it won't be long.

I'm sure it will be poked and prodded until it is a dead project, then someone will steal the code, excuse me, "rewrite the code" leaving out the parts that actually work.

It is the linux purist way, I guess. Maybe if they would dual boot Windows and play some BF2 things would be different. Since there isn't a whole lot of room for big egos in a fair competition things will be the same as they always are.. Trolling and flame wars..


EDIT: We'll see how this turns out, but BSD is starting to look good to me again.
__________________
Biostar TForce X58 - Core i7 920 - 6GB Corsair Dominator DDR3 - XFX 9800GTX 512MB - PCP&C 750W - 1 X 36GB Raptor, 1 X 200GB Sata2, 3 X 320GB Sata2 - Dual boot, Gentoo Linux/WinXP

Last edited by ccperf721p; 7th September, 2009 at 10:27 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 7th September, 2009, 10:58 AM
ThunderRd's Avatar
Irreverent Query Chairman
 
Join Date: June 2007
Location: Formerly NYC; now 17 years in northern Thailand
Posts: 1,230

The whole crux of the argument is that the devs want one kernel for all purposes, and CK says that isn't realistic, seeing as the vast majority of users aren't running 8/16/32 etc CPUs...would it really be so bad to have a choice of kernels where one would be more "setup" for your box?

His code should work well for low latencies up to 16 cores, then there's a performance hit.
__________________
#1: Tt Armor, ASUS Maximus Extreme, Q6600@3.6G, 2G Corsair Dominator DDR3-1800, Tagan BZ900W, H2O by Swiftech, 2xLeadtek 9600GT, 2xRaptor 150G RAID0, Logitech G15/G5, XP SP3
#2: Tt Shark, ASUS A8N32-SLI Deluxe, Opteron 185@3.15G nude, 2G Corsair XMS, Tt ToughPower750, H2O by Tt, 2xASUS 8800GT, 2xRaptor 74G RAID0, Raptor 150G, Xubuntu 9.04, BFS Kernel
#3, #4: Opteron 170@2.75G nude, A8N-SLI Deluxe, Ubuntu 9.04.......#5: A64x2 4800+@2.8G.......#6-40: Pentium D 3.0G

AOA Folding @Home
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 7th September, 2009, 12:21 PM
Member
 
Join Date: April 2005
Location: AZ
Posts: 2,171

The argument is invalid in the open source world though. FOSS is not a democracy, the developer of any software can write it any way he desires, if the software doesn't sit well with you, you are free to change any of the code you like.. Once we try to force a dev to do something we want, the entire foundation of open source crumbles..

For all intensive purposes we already have a choice in kernels, by way of various patchsets, including bfs. Upstream development of the 2.6 kernel has been less than impressive, so if a downstream coder wants to take it on and make it work, I'm more for than that than relying on Linus and Co.
__________________
Biostar TForce X58 - Core i7 920 - 6GB Corsair Dominator DDR3 - XFX 9800GTX 512MB - PCP&C 750W - 1 X 36GB Raptor, 1 X 200GB Sata2, 3 X 320GB Sata2 - Dual boot, Gentoo Linux/WinXP

Last edited by ccperf721p; 7th September, 2009 at 12:22 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 7th September, 2009, 12:31 PM
Daniel ~'s Avatar
Chief BBS Administrator
 
Join Date: September 2001
Location: Seattle Wa.
Posts: 40,405

If possible, can one of you break this down for me...What does the BFS schedule do and what if any impact will this have for desk top users?
__________________
"Though all men live in ignorance before mystery,
they need not live in darkness...
Justice is foundation and ETERNAL
."
DKE

"All that we do is touched by Ocean
Yet we remain on the shore of what we know."
Richard Wilbur


Subscribers! Ask Pitch about a Custom Sig Graphic

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 7th September, 2009, 12:45 PM
Member
 
Join Date: April 2005
Location: AZ
Posts: 2,171

BFS is a cpu scheduler, there are a few different schedulers in the mainstream kernel, such as Deadline, Anticipatory and CFQ.

They basically decide when and what app gets what cycles of the CPU. A desktop that runs multiple apps will need the bandwidth spread out more evenly so that it is very responsive to inputs. A server that runs one app or many CPU's can pretty much run one task until it is finished, then move to the other.
__________________
Biostar TForce X58 - Core i7 920 - 6GB Corsair Dominator DDR3 - XFX 9800GTX 512MB - PCP&C 750W - 1 X 36GB Raptor, 1 X 200GB Sata2, 3 X 320GB Sata2 - Dual boot, Gentoo Linux/WinXP
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 7th September, 2009, 01:32 PM
Gizmo's Avatar
Chief BBS Administrator
BassTeroids Champion, Global Player Champion, Aim & Fire Champion, Puzzle Maniax Champion, Othello Champion, Canyon Glider Champion, UFO Shoot Out Champion, Unicycle Challenge Champion, Zed Champion
 
Join Date: May 2003
Location: Webb City, Mo
Posts: 14,940
Send a message via ICQ to Gizmo Send a message via AIM to Gizmo Send a message via MSN to Gizmo Send a message via Yahoo to Gizmo Send a message via Skype™ to Gizmo

To expand on CCPerf's explanation:

The cpu scheduler is the part of the O/S that decides how CPU cycles get allocated. This has an impact on all system operations, as it controls how 'responsive' the system is to particular events.

For a desktop O/S, it is far more important that the forground application (the one the user is in) react quickly to user input than it is that a particular task run to completion without interruption. This is referred to as 'response latency'. The downside to this is the scheduler has to switch tasks more frequently. This results in the O/S spending more time in the kernel and less time handling application processing. This results in increased 'system latency', where a background application may have to wait longer for cpu time because the user is doing something in a foreground app. For a good user experience, though, this is an acceptable tradeoff. It doesn't matter if a particular background task takes a few seconds longer to complete, so long as the USER isn't sitting there waiting for a mouse-click or keypress to be recognized.

For a server app, maximum efficiency is more important than 'response latency', as is equal distribution of cpu cycles. A typical server setup will switch tasks less frequently so as to ensure less time is spent in the kernel and more time processing the applications. In this realm, we want as much cpu time as possible spent running the application, and it's not uncommon for server applications to have 10s to 100s of threads running concurrently, which means that we don't want to waste a lot of resources switching between them.

For embedded applications, it is frequently the case that predictability ('determinism') is the paramount consideration: when a particular task needs to run, it needs to run Right Now. This results in a whole new set of requirements and tradeoffs, many of which are undesirable for either the server or desktop environment.

In addition, the more CPUs (or CPU cores) you are running, the more that high numbers of task switches impact performance. The reason for this is due to the fact that frequently the CPU a task last ran on is not currently available. The scheduler then has to make a choice, make the task wait until its prefered CPU is available or switch the task to another CPU. Switching the task to another CPU is a hugely expensive operation because all of the thread context information and cache data will have to be transferred to the new CPU. If you have an environment optimized for response to the user (a desktop), then it is quite likely you will incur this overhead frequently, especially as you add CPUs. At some point, you are switching between CPUs so frequently that you've lost any response benefit you might have gotten. For servers, you'd rather let the task wait and take advantage of all the cached data on its preferred CPU than to take on all that extra overhead.

That's the gist of what schedulers do. As with any complex problem, there are a number of different ways to approach the problem, and a number of different solutions. Worse, most of the solutions are completely valid for the set of problems they are trying to solve. As a consequence, there isn't any 'right' answer for a generic kernel; only for a particular load.

To complicate matters more, the load that a server experiences might actually CHANGE, meaning that the approapriate scheduler to use a 10 a.m. might not be the appropriate one to use at 10 p.m.

I understand Linus' desire for a single kernel scheduler that can handle all use cases, and I think it might even be possible to eventually get there. I also think that it is foolish to insist on that solution now. There are a number of different ideas floating around in the dev community. Seems to me like we ought to let them air out and see which ones actually prove to be viable. There's no lack of people willing to try them out.
__________________
Avatar and sig graphic by Pitch. Subscribers!
Ask about a custom graphic or avatar today!
 
Later,
Gizmo
Thermal Diode Mod and Direct-Die Water Block
8-Cheetah 18GiB U-2 SCSI
MegaRAID Enterprise 1500/128MiB
Samsung SyncMaster 955DF
TTGI/Superflower TTS-520 PSU
 

 
AOA Team filesAOA Team wcgAOA Team fah

Last edited by Gizmo; 7th September, 2009 at 01:34 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 7th September, 2009, 05:04 PM
Daniel ~'s Avatar
Chief BBS Administrator
 
Join Date: September 2001
Location: Seattle Wa.
Posts: 40,405

Many thanks guys, I think I have the basic idea.":O}
__________________
"Though all men live in ignorance before mystery,
they need not live in darkness...
Justice is foundation and ETERNAL
."
DKE

"All that we do is touched by Ocean
Yet we remain on the shore of what we know."
Richard Wilbur


Subscribers! Ask Pitch about a Custom Sig Graphic

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 9th September, 2009, 02:42 PM
cloasters's Avatar
Asst. BBS Administrator
 
Join Date: September 2001
Location: Location, Location
Posts: 16,107

Thank you Gizmo and ccperf721p. Great explanations, you guys rule!
__________________
When the world was better.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 9th September, 2009, 04:19 PM
Daniel ~'s Avatar
Chief BBS Administrator
 
Join Date: September 2001
Location: Seattle Wa.
Posts: 40,405

Quote:
Originally Posted by Gizmo View Post
To expand on CCPerf's explanation:

I understand Linus' desire for a single kernel scheduler that can handle all use cases, and I think it might even be possible to eventually get there. I also think that it is foolish to insist on that solution now. There are a number of different ideas floating around in the dev community. Seems to me like we ought to let them air out and see which ones actually prove to be viable. There's no lack of people willing to try them out.
Or as Mint logo states "From freedom came elegance."
__________________
"Though all men live in ignorance before mystery,
they need not live in darkness...
Justice is foundation and ETERNAL
."
DKE

"All that we do is touched by Ocean
Yet we remain on the shore of what we know."
Richard Wilbur


Subscribers! Ask Pitch about a Custom Sig Graphic

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11 (permalink)  
Old 9th September, 2009, 08:12 PM
PorPorMe's Avatar
NonComunications Engineer
 
Join Date: January 2008
Location: Spokane, Wa
Posts: 3,025

Sometimes reading threads like this makes me feel as smart as an earthworm!
I've learned a lot on my own, meaning forums like this and other ways but my left testicle for an education!
__________________
AOA Team fah

1ST Thermaltake V9 Case * Windows 7 x64 * Gigibyte GM-MA74GM-S2 * Phenom X4 9650 2.3Ghz @ 2.76GHz * G Skill 4 GB DDR2 * EVGA Geforce 9800GT 512GB * Antec 650w
2nd PetCarrier II * XP PRO SP3 * EVGA 780i SLi * Core 2 Duo E8400 3.0GHz @ 3.48GHz * ATI All in Wonder 128 * Corsair 2GB DDR2-6400C4 * Antec 650w



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 10th September, 2009, 07:44 AM
dsio's Avatar
Possum Hater
 
Join Date: October 2002
Location: Brisbane, QLD, Australia
Posts: 7,698

At this point in the lkml skirmish, I think Ingo's Johnson is still 5mm longer than Con's. /popcorn.
__________________
Notebook: Dell XPS M1330 Running Fedora 11 Linux (Leonidas)
Desktop: ASUS Rampage Formula X48
Intel Core 2 Quad Q9450 (Yorkfield) @ 3.51Ghz
4GB DDR2-800 PNY
Albatron 8800GT 512MB
Corsair HX-620 PSU
Running Fedora 11 Linux (Leonidas)
Dual Dell 2407WFP


Drivers, Games, Demos, Mods and Overclocking Tools At AOAFiles
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 10th September, 2009, 09:30 AM
ThunderRd's Avatar
Irreverent Query Chairman
 
Join Date: June 2007
Location: Formerly NYC; now 17 years in northern Thailand
Posts: 1,230

Quote:
Originally Posted by dsio View Post
At this point in the lkml skirmish, I think Ingo's Johnson is still 5mm longer than Con's. /popcorn.
Could be, but Ingo may be getting a lot more "strokes"...(atm)...[as I hop over to the mailing list]...
__________________
#1: Tt Armor, ASUS Maximus Extreme, Q6600@3.6G, 2G Corsair Dominator DDR3-1800, Tagan BZ900W, H2O by Swiftech, 2xLeadtek 9600GT, 2xRaptor 150G RAID0, Logitech G15/G5, XP SP3
#2: Tt Shark, ASUS A8N32-SLI Deluxe, Opteron 185@3.15G nude, 2G Corsair XMS, Tt ToughPower750, H2O by Tt, 2xASUS 8800GT, 2xRaptor 74G RAID0, Raptor 150G, Xubuntu 9.04, BFS Kernel
#3, #4: Opteron 170@2.75G nude, A8N-SLI Deluxe, Ubuntu 9.04.......#5: A64x2 4800+@2.8G.......#6-40: Pentium D 3.0G

AOA Folding @Home

Last edited by ThunderRd; 10th September, 2009 at 09:31 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 10th September, 2009, 11:41 AM
Daniel ~'s Avatar
Chief BBS Administrator
 
Join Date: September 2001
Location: Seattle Wa.
Posts: 40,405

Remember it's not what you have but how badly others use it! (Just to keep a perspective...":O}
__________________
"Though all men live in ignorance before mystery,
they need not live in darkness...
Justice is foundation and ETERNAL
."
DKE

"All that we do is touched by Ocean
Yet we remain on the shore of what we know."
Richard Wilbur


Subscribers! Ask Pitch about a Custom Sig Graphic

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old 15th September, 2009, 11:57 AM
dsio's Avatar
Possum Hater
 
Join Date: October 2002
Location: Brisbane, QLD, Australia
Posts: 7,698

Phoronix did a review of BFS that will raise more eyebrows.

[Phoronix] BFS Scheduler Benchmarks
__________________
Notebook: Dell XPS M1330 Running Fedora 11 Linux (Leonidas)
Desktop: ASUS Rampage Formula X48
Intel Core 2 Quad Q9450 (Yorkfield) @ 3.51Ghz
4GB DDR2-800 PNY
Albatron 8800GT 512MB
Corsair HX-620 PSU
Running Fedora 11 Linux (Leonidas)
Dual Dell 2407WFP


Drivers, Games, Demos, Mods and Overclocking Tools At AOAFiles
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Who owns the facts? The AP and the "hot news" controversy Daniel ~ Random Nonsense! 1 8th May, 2009 02:21 PM
Microsoft IE 8 Default Browser Controversy -- Trickery or Much Ado About Nothing? Daniel ~ OS, Software, Firmware, and BIOS 0 4th May, 2009 10:21 AM
And so it begins... cadaveca Random Nonsense! 2 4th March, 2007 12:26 AM
the international cartoon controversy barneygumble742 Random Nonsense! 2 4th February, 2006 04:03 PM
Batman Begins GrahamGarside Random Nonsense! 9 30th June, 2005 06:46 PM


All times are GMT -5. The time now is 11:42 AM.


Copyright ©2001 - 2009, AOA Forums

Search Engine Friendly URLs by vBSEO 3.3.0