DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Installation and Upgrading

FreeBSD Installation and Upgrading Installing and upgrading FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 25th May 2008
mfaridi's Avatar
mfaridi mfaridi is offline
Spam Deminer
 
Join Date: May 2008
Location: Afghanistan
Posts: 320
Default SCHED_ULE

what is SCHED_ULE ??? what is different between SCHED_ULE and SCHED_4BSD ???

and when I must use SCHED_ULE ???

which one is better and why ??
Reply With Quote
  #2   (View Single Post)  
Old 25th May 2008
ephemera's Avatar
ephemera ephemera is offline
Knuth's homeboy
 
Join Date: Apr 2008
Posts: 537
Default

try google.
Reply With Quote
  #3   (View Single Post)  
Old 25th May 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

Also see sched_ule(4) and sched_4bsd(4), and ofcourse the FreeBSD maillist archives.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #4   (View Single Post)  
Old 25th May 2008
Oliver_H's Avatar
Oliver_H Oliver_H is offline
Real Name: Oliver Herold
UNIX lover
 
Join Date: May 2008
Location: Germany
Posts: 427
Default

Short: it's the new kid on the block
__________________
use UNIX or die :-)
Reply With Quote
  #5   (View Single Post)  
Old 26th May 2008
phoenix's Avatar
phoenix phoenix is offline
Risen from the ashes
 
Join Date: May 2008
Posts: 696
Default

SCHED_4BSD is the old, tried and true, original CPU scheduler. Works well on single-CPU systems. Doesn't scale to multi-CPU setups all that well. Especially on systems with 4 or more CPUs. This is the defaut scheduler on FreeBSD 4.x, 5.x, 6.x, and 7.0.

SCHED_ULE is the new, optimised-for-SMP scheduler that will eventually become the default scheduler for 7.x and beyond. Under some workloads, it's also better than 4BSD on single-CPU systems.

On FreeBSD 7.0, it's still considered experimental, but is recommended for those with multi-CPU or multi-core systems. A lot of fixes have gone into 7-STABLE (tag=RELENG_7 in csup supfiles), and it will be the default scheduler in 7.1.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
  #6   (View Single Post)  
Old 26th May 2008
Oliver_H's Avatar
Oliver_H Oliver_H is offline
Real Name: Oliver Herold
UNIX lover
 
Join Date: May 2008
Location: Germany
Posts: 427
Default

>On FreeBSD 7.0, it's still considered experimental, but is recommended for those with multi-CPU or multi-core systems.

It's even recommended for those with UP-systems, because 4BSD scheduler in FreeBSD 7 isn't as fast as 4BSD in FreeBSD 6.x
__________________
use UNIX or die :-)
Reply With Quote
  #7   (View Single Post)  
Old 26th May 2008
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Default

You might also browse some of the entries on this blog if you are interested in the scheduler.

It's usually good reading when he does post something
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
  #8   (View Single Post)  
Old 26th May 2008
cajunman4life cajunman4life is offline
Real Name: Aaron Graves
Package Pilot
 
Join Date: May 2008
Location: Coolidge, Arizona
Posts: 203
Default

I've been using SCHED_ULE on a P3-500 (single processor) for a while now, and no noticeable effects (except for the subjective "it feels more responsive").
__________________
I just saved a bunch of money on my car insurance by fleeing the scene of the accident!
Reply With Quote
  #9   (View Single Post)  
Old 2nd June 2008
troberts troberts is offline
Port Guard
 
Join Date: May 2008
Posts: 27
Default

If you follow stable (tag=RELENG_7) it is the default scheduler.
Reply With Quote
Old 3rd June 2008
Oliver_H's Avatar
Oliver_H Oliver_H is offline
Real Name: Oliver Herold
UNIX lover
 
Join Date: May 2008
Location: Germany
Posts: 427
Default

Quote:
Originally Posted by cajunman4life View Post
I've been using SCHED_ULE on a P3-500 (single processor) for a while now, and no noticeable effects (except for the subjective "it feels more responsive").
>it feels more responsive

This exactly is the purpose of a scheduler, it's not a performance boost, but responsiveness.
__________________
use UNIX or die :-)
Reply With Quote
Reply

Thread Tools
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
Freebsd's Wine & sched_ule mousesack FreeBSD General 3 12th October 2008 06:16 AM


All times are GMT. The time now is 05:03 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick