Re: ULE Scheduler available in 5.3-RELEASE?

2004-11-13 Thread Ondra Holecek
Can you describe advantages of using SCHED_ULE on UP? or just link or 
something.

Michael Nottebrock wrote:
On Thursday, 11. November 2004 16:42, Ronald Klop wrote:
On Thu, 11 Nov 2004 09:29:08 -0600, Thomas T. Veldhouse [EMAIL PROTECTED]
wrote:
I just read in the release notes that 5.3-RELEASE has the new ULE
scheduler available, but that 4BSD is the default scheduler.  I thought
I read messages in freebsd-current indicating that the option to use ULE
was completely removed from the 5.3 or even the RELENG_5 branch?  So, is
ULE really available?
Not in RELENG_5 and not in RELENG_5_3. There are issues with it. If it is
fixed it will come back.
See this line in /usr/src/sys/kern/sched_ule.c:
#error The SCHED_ULE scheduler is broken.  Please use SCHED_4BSD

... which of course you can just patch out. :) I'm still using ULE on my (UP) 
machine, works fine for me.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


ULE Scheduler available in 5.3-RELEASE?

2004-11-11 Thread Thomas T. Veldhouse
I just read in the release notes that 5.3-RELEASE has the new ULE 
scheduler available, but that 4BSD is the default scheduler.  I thought 
I read messages in freebsd-current indicating that the option to use ULE 
was completely removed from the 5.3 or even the RELENG_5 branch?  So, is 
ULE really available?

--
Thomas T. Veldhouse
Key Fingerprint: 07C7 BF05 4176 F50B A083  4542 0118 1315 761F D300
Spammers please contact me at [EMAIL PROTECTED]


signature.asc
Description: OpenPGP digital signature


Re: ULE Scheduler available in 5.3-RELEASE?

2004-11-11 Thread Brooks Davis
On Thu, Nov 11, 2004 at 09:29:08AM -0600, Thomas T. Veldhouse wrote:
 I just read in the release notes that 5.3-RELEASE has the new ULE 
 scheduler available, but that 4BSD is the default scheduler.  I thought 
 I read messages in freebsd-current indicating that the option to use ULE 
 was completely removed from the 5.3 or even the RELENG_5 branch?  So, is 
 ULE really available?

ULE is not available in 5.3 or RELENG_5 due to problems that were
unfixed at the time of the release.

-- Brooks

-- 
Any statement of the form X is the one, true Y is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4


pgpHDg42IWgeI.pgp
Description: PGP signature


Re: ULE Scheduler available in 5.3-RELEASE?

2004-11-11 Thread Thomas T. Veldhouse
Brooks Davis wrote:
On Thu, Nov 11, 2004 at 09:29:08AM -0600, Thomas T. Veldhouse wrote:
 

I just read in the release notes that 5.3-RELEASE has the new ULE 
scheduler available, but that 4BSD is the default scheduler.  I thought 
I read messages in freebsd-current indicating that the option to use ULE 
was completely removed from the 5.3 or even the RELENG_5 branch?  So, is 
ULE really available?
   

ULE is not available in 5.3 or RELENG_5 due to problems that were
unfixed at the time of the release.
-- Brooks
 

Perhaps the release notes should be updated?
Here is a quote 
(http://www.freebsd.org/releases/5.3R/relnotes-i386.html#NEW):

The ULE scheduler has been added as an additional scheduler. Note that 
the conventional one, which is called 4BSD, is still used as the default 
scheduler in the GENERIC kernel. For the average user, interactivity is 
reported to be better in many cases. This means less ``skipping'' and 
``jerking'' in interactive applications while the machine is very busy. 
This will not prevent problems due to overloaded disk subsystems, but it 
does help with overloaded CPUs. On SMP machines, ULE has per-CPU run 
queues which allow for CPU affinity, CPU binding, and advanced 
HyperThreading support, as well as providing a framework for more 
optimizations in the future. As fine-grained kernel locking continues, 
the scheduler will be able to make more efficient use of the available 
parallel resources.

Thanks in advance.
--
Thomas T. Veldhouse
Key Fingerprint: 07C7 BF05 4176 F50B A083  4542 0118 1315 761F D300
Spammers please contact me at [EMAIL PROTECTED]


signature.asc
Description: OpenPGP digital signature


Re: ULE Scheduler available in 5.3-RELEASE?

2004-11-11 Thread Ronald Klop
On Thu, 11 Nov 2004 09:29:08 -0600, Thomas T. Veldhouse [EMAIL PROTECTED]  
wrote:

I just read in the release notes that 5.3-RELEASE has the new ULE
scheduler available, but that 4BSD is the default scheduler.  I thought
I read messages in freebsd-current indicating that the option to use ULE
was completely removed from the 5.3 or even the RELENG_5 branch?  So, is
ULE really available?
Not in RELENG_5 and not in RELENG_5_3. There are issues with it. If it is  
fixed it will come back.

See this line in /usr/src/sys/kern/sched_ule.c:
#error The SCHED_ULE scheduler is broken.  Please use SCHED_4BSD
Ronald.
--
 Ronald Klop, Amsterdam, The Netherlands
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ULE Scheduler available in 5.3-RELEASE?

2004-11-11 Thread Mark Magiera
 Brooks Davis wrote:

On Thu, Nov 11, 2004 at 09:29:08AM -0600, Thomas T. Veldhouse wrote:


I just read in the release notes that 5.3-RELEASE has the new ULE
scheduler available, but that 4BSD is the default scheduler.  I thought
I read messages in freebsd-current indicating that the option to use ULE
was completely removed from the 5.3 or even the RELENG_5 branch?  So, is
ULE really available?



ULE is not available in 5.3 or RELENG_5 due to problems that were
unfixed at the time of the release.

-- Brooks



 Perhaps the release notes should be updated?

 Here is a quote
 (http://www.freebsd.org/releases/5.3R/relnotes-i386.html#NEW):

 The ULE scheduler has been added as an additional scheduler. Note that
 the conventional one, which is called 4BSD, is still used as the default
 scheduler in the GENERIC kernel. For the average user, interactivity is
 reported to be better in many cases. This means less ``skipping'' and
 ``jerking'' in interactive applications while the machine is very busy.
 This will not prevent problems due to overloaded disk subsystems, but it
 does help with overloaded CPUs. On SMP machines, ULE has per-CPU run
 queues which allow for CPU affinity, CPU binding, and advanced
 HyperThreading support, as well as providing a framework for more
 optimizations in the future. As fine-grained kernel locking continues,
 the scheduler will be able to make more efficient use of the available
 parallel resources.

 Thanks in advance.

 --
 Thomas T. Veldhouse
 Key Fingerprint: 07C7 BF05 4176 F50B A083  4542 0118 1315 761F D300
 Spammers please contact me at [EMAIL PROTECTED]

I beleive the errata document takes precedance over the release notes. In
which case...
(http://www.freebsd.org/releases/5.3R/errata.html#OPEN-ISSUES)
(1 Nov 2004) The ULE scheduler described in the release notes has been
completely disabled to discourage its use because it has stability
problems.

-- Mark Magiera


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ULE Scheduler available in 5.3-RELEASE?

2004-11-11 Thread Michael Nottebrock
On Thursday, 11. November 2004 16:42, Ronald Klop wrote:
 On Thu, 11 Nov 2004 09:29:08 -0600, Thomas T. Veldhouse [EMAIL PROTECTED]

 wrote:
  I just read in the release notes that 5.3-RELEASE has the new ULE
  scheduler available, but that 4BSD is the default scheduler.  I thought
  I read messages in freebsd-current indicating that the option to use ULE
  was completely removed from the 5.3 or even the RELENG_5 branch?  So, is
  ULE really available?

 Not in RELENG_5 and not in RELENG_5_3. There are issues with it. If it is
 fixed it will come back.

 See this line in /usr/src/sys/kern/sched_ule.c:
 #error The SCHED_ULE scheduler is broken.  Please use SCHED_4BSD

... which of course you can just patch out. :) I'm still using ULE on my (UP) 
machine, works fine for me.

-- 
   ,_,   | Michael Nottebrock   | [EMAIL PROTECTED]
 (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org


pgp5FXsD7ht0V.pgp
Description: PGP signature