Re: How to switch scheduler on 7.0?

2008-04-16 Thread Stanislav Antic
ULE has substantial improvements over BSD for multiprocessor
 hardware.

Does ULE works better on a single CPU machines?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to switch scheduler on 7.0?

2008-04-16 Thread Robert Huff

Stanislav Antic writes:

  ULE has substantial improvements over BSD for multiprocessor
   hardware.
  
  Does ULE works better on a single CPU machines?

I an not an expert; however, based on material reported here:
In terms of perforance, ULE and BSD are equivalent on UP
machines - BSD works better in some cases, ULE in others.  If I had
to put money down, I'd give a very slight advantage to ULE.
Measured by stability, ULE is a moderate win.
Absent specific cases to the contrary, one reason to go with
ULE is that it where future development is focused.  That's not to
say BSD is being kicked off the train, exactly, just that it won't
be the target for the latest and greatest.

More qualified voices will please tell what I have remembered
wrong.


Robert Huff

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


Re: How to switch scheduler on 7.0?

2008-04-16 Thread Daniel Tourde
Hi!

Thank you for your answer. So, I need to recompile the kernel. Fine!
At first I thought there might be a switch somewhere, to do the 
conversion The soft way,  but OK, I'll rebuild the kernel.

Daniel

   I would like to switch scheduler on my FreeBSD 7.0 box but I don't know
  how to do that. The scheduler by default has terrible performances under
  KDE/Gnome and I would like to test the new one.

 See the following for building a custom kernel:

 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html

 You will want to use options SCHED_ULE instead of SCHED_4BSD in your
 kernel config.

 Regards,
 Josh

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


Re: How to switch scheduler on 7.0?

2008-04-16 Thread Daniel Tourde
Hi Robert,

The expression terrible performances was maybe not the best way to express 
myself. My intentions were not to step on anyone's toe or being nasty. Sorry 
about that.

To describe things shortly, the problem is responsiveness. I have been running 
FreeBSD since 4.7 and never experienced what I am experiencing now:
- Bad responsiveness of the desktop
- Temporary freeze (10 to 30s)
- Slow mouse (and not a very smooth movement, a kind of 'step by step')
etc.

Daniel

 I would like to switch scheduler on my FreeBSD 7.0 box but I don't
 know how todo that.
 
   You will want to use options SCHED_ULE instead of SCHED_4BSD in your
   kernel config.

   Am I correct in remembering SCHED_ULE /is/ the default for 7.0+?
   If this is true, and you (the OP) do not need the machine for
 production, there are people who would be interested in hearing
 about your problems - especially if you are prepared to define (and
 document) terrible performace and help diagnosing the issue.


   Robert Huff

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


Re: How to switch scheduler on 7.0?

2008-04-16 Thread Derek Ragona

At 11:48 AM 4/16/2008, Daniel Tourde wrote:

Hi Robert,

The expression terrible performances was maybe not the best way to express
myself. My intentions were not to step on anyone's toe or being nasty. Sorry
about that.

To describe things shortly, the problem is responsiveness. I have been 
running

FreeBSD since 4.7 and never experienced what I am experiencing now:
- Bad responsiveness of the desktop
- Temporary freeze (10 to 30s)
- Slow mouse (and not a very smooth movement, a kind of 'step by step')
etc.

Daniel

 I would like to switch scheduler on my FreeBSD 7.0 box but I don't
 know how todo that.
 
   You will want to use options SCHED_ULE instead of SCHED_4BSD in your
   kernel config.

   Am I correct in remembering SCHED_ULE /is/ the default for 7.0+?
   If this is true, and you (the OP) do not need the machine for
 production, there are people who would be interested in hearing
 about your problems - especially if you are prepared to define (and
 document) terrible performace and help diagnosing the issue.


   Robert Huff


It may be the X drivers you are using.  X is a bit goofed up in the latest 
version running on 7, and the drivers seem to create interrupt storms that 
tie up a system.


You may want to test in X and not in X performance.

-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


Re: How to switch scheduler on 7.0?

2008-04-16 Thread Daniel Tourde
Hi!


  I would like to switch scheduler on my FreeBSD 7.0 box but I don't know
  how to do that. The scheduler by default has terrible performances under
  KDE/Gnome and I would like to test the new one.

 What made you believe it is the scheduler?

I googled and read comments of people having the same kind of issues than the 
ones I have. Their conclusion: The scheduler.
I wanted to switch scheduler to see if they were right or wrong... ;)

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


Re: How to switch scheduler on 7.0?

2008-04-15 Thread Josh Carroll
n Tue, Apr 15, 2008 at 9:59 PM, Daniel Tourde [EMAIL PROTECTED] wrote:
 Hi!

  I would like to switch scheduler on my FreeBSD 7.0 box but I don't know how 
 to
  do that. The scheduler by default has terrible performances under KDE/Gnome
  and I would like to test the new one.

See the following for building a custom kernel:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html

You will want to use options SCHED_ULE instead of SCHED_4BSD in your
kernel config.

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


Re: How to switch scheduler on 7.0?

2008-04-15 Thread Robert Huff

Josh Carroll writes:


I would like to switch scheduler on my FreeBSD 7.0 box but I don't 
know how todo that.

  You will want to use options SCHED_ULE instead of SCHED_4BSD in your
  kernel config.

Am I correct in remembering SCHED_ULE /is/ the default for 7.0+?
If this is true, and you (the OP) do not need the machine for
production, there are people who would be interested in hearing
about your problems - especially if you are prepared to define (and
document) terrible performace and help diagnosing the issue.


Robert Huff

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


Re: How to switch scheduler on 7.0?

2008-04-15 Thread John Nielsen
On Tuesday 15 April 2008 04:56:37 pm Robert Huff wrote:
 Josh Carroll writes:
 I would like to switch scheduler on my FreeBSD 7.0 box but I
don't know how todo that.
 
   You will want to use options SCHED_ULE instead of SCHED_4BSD in your
   kernel config.

   Am I correct in remembering SCHED_ULE /is/ the default for 7.0+?
   If this is true, and you (the OP) do not need the machine for
 production, there are people who would be interested in hearing
 about your problems - especially if you are prepared to define (and
 document) terrible performace and help diagnosing the issue.

No. It was at one point planned to be but re@ and others decided it hadn't 
had enough time to settle in the tree for the 7.0 release. AFAIK it will 
be the default for 7.1.

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


Re: How to switch scheduler on 7.0?

2008-04-15 Thread Andreas Rudisch
On Tue, 15 Apr 2008 16:56:37 -0400
Robert Huff [EMAIL PROTECTED] wrote:

   Am I correct in remembering SCHED_ULE /is/ the default for 7.0+?

4BSD ist the default scheduler of 7.0. ULE will be default for 7.1+.

Andreas
--
GnuPG key  : 0x2A573565|http://www.gnupg.org/howtos/de/
Fingerprint: 925D 2089 0BF9 8DE5 9166  33BB F0FD CD37 2A57 3565


pgp6aDblHqBCi.pgp
Description: PGP signature


Re: How to switch scheduler on 7.0?

2008-04-15 Thread Ryan Phillips
Robert Huff [EMAIL PROTECTED] said:
 
 Josh Carroll writes:
 
 
 I would like to switch scheduler on my FreeBSD 7.0 box but I don't 
 know how todo that.
 
   You will want to use options SCHED_ULE instead of SCHED_4BSD in your
   kernel config.
 
   Am I correct in remembering SCHED_ULE /is/ the default for 7.0+?

That is not correct. SCHED_ULE is slated to be the default in 7.1, IIRC.

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


Re: How to switch scheduler on 7.0?

2008-04-15 Thread Mel
On Tuesday 15 April 2008 21:59:46 Daniel Tourde wrote:

 I would like to switch scheduler on my FreeBSD 7.0 box but I don't know how
 to do that. The scheduler by default has terrible performances under
 KDE/Gnome and I would like to test the new one.

What made you believe it is the scheduler?

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to switch scheduler on 7.0?

2008-04-15 Thread Josh Carroll
  What made you believe it is the scheduler?

  --
  Mel

There were some reports of problems with responsiveness with the 4BSD
scheduler in 7.0 leading up to its release, so it's certainly a
possibility.

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


Re: How to switch scheduler on 7.0?

2008-04-15 Thread D Hill

On Tue, 15 Apr 2008 at 21:59 +0200, [EMAIL PROTECTED] confabulated:


Hi!

I would like to switch scheduler on my FreeBSD 7.0 box but I don't know how to
do that. The scheduler by default has terrible performances under KDE/Gnome
and I would like to test the new one.


In light of your message, I was provoked to switched my workstation at 
work to using the sched_ule thread scheduler. I do not have remote access 
set up via a graphical interface, so I can not test anything yet as far as 
KDE is concerned. However, I have noticed a performance increase with an 
ssh session into my workstation. Whether this is psychological or not, I 
doubt as I have become sensitive over the years to network speed.


I am running on a dual Pentium III system:

  duane# grep CPU /var/run/dmesg.boot
  CPU: Intel Pentium III (999.67-MHz 686-class CPU)
  FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
  ...

Nothing else has been altered from default settings as far as any make 
files or anything else. This was a complete install from scratch.


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


Re: How to switch scheduler on 7.0?

2008-04-15 Thread Robert Huff
D Hill writes:

  In light of your message, I was provoked to switched my workstation at 
  work to using the sched_ule thread scheduler.
  
  I am running on a dual Pentium III system:
  
 duane# grep CPU /var/run/dmesg.boot
 CPU: Intel Pentium III (999.67-MHz 686-class CPU)
 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs

ULE has substantial improvements over BSD for multiprocessor
hardware.


Robert Huff

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