ULE scheduler and the WCPU column in top
I have this interesting behavior in the top utility on _both_ my 7.1 and 8.0 FreeBSD servers (updated to latest patches). The interesting behavior happens only when my kernel is compiled with the ULE scheduler. It does not happen when the kernel uses the old BSD scheduler. Here is a link of a screenshot of top on one of my servers: http://daffy.nerius.com/temp/top.png The output of top usually looks just like this, at most times of the day. The row that worries me is the process "ioUrTded.i3" run by the user urt1, which is reported to be using 1.17% WCPU in the screenshot. It's the sixth row down. The thing that makes no sense is that this process is in fact using more CPU than any other process on my system, and I know this as a fact. The processes that are most active are all video game servers, and the game server run by the urt1 user is the most populated with the most going on, by far. With my kernel compiled to use the old BSD scheduler, the process run by urt1 is _always_ the most active as reported by top; the WCPU shows between 30 and 40 percent on this process normally (with the BSD scheduler). The WCPU percentage on the process owned by urt1 never reaches very high - it always stays abnormally low as reported by top (with the ULE scheduler). The process itself is running just fine and the game server is very busy. Any ideas? Is this a known issue when running the ULE scheduler? Any negative impacts that might occur? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: ULE and Prescott question
RW wrote: > On Wed, 22 Jul 2009 22:33:46 +0200 > Ivan Voras wrote: > >> Scott Bennett wrote: >>> This is a curiousity question. I'm running 7.2-STABLE at >>> present on an old Inspiron XPS, which has a 3.4 GHz P4 Prescott >>> CPU. I have hyperthreading enabled in the kernel. The question >>> is: is there any appreciable performance difference to be expected >>> with this hardware setup between the ULE scheduler and the 4BSD >>> scheduler? Or does the fact that there is only one core eliminate >>> any difference in performance characteristics? >> I'd guess the second thing. It's not like there's cache to be shared >> between cores, etc. > > But with hyperthreading enabled, don't you have virtual CPUs sharing > L1 cache Yes, > rather that cores sharing L2 cache, making the case for ULE > even stronger? If you're thinking about ULEs "soft-pinning" of processes to CPUs then I don't think so for two reasons: it's not like 4BSD forces processes ping-ponging everywhere - for 2 logical CPUs it's not that there's much choice of where to schedule a process - and thread switches between HTT logical CPUs is supposed to be cheap - I think since the L1 is shared, HTT cores have access to cached data from "the other" core for no cost. signature.asc Description: OpenPGP digital signature
Re: ULE and Prescott question
On Wed, 22 Jul 2009 22:33:46 +0200 Ivan Voras wrote: > Scott Bennett wrote: > > This is a curiousity question. I'm running 7.2-STABLE at > > present on an old Inspiron XPS, which has a 3.4 GHz P4 Prescott > > CPU. I have hyperthreading enabled in the kernel. The question > > is: is there any appreciable performance difference to be expected > > with this hardware setup between the ULE scheduler and the 4BSD > > scheduler? Or does the fact that there is only one core eliminate > > any difference in performance characteristics? > > I'd guess the second thing. It's not like there's cache to be shared > between cores, etc. But with hyperthreading enabled, don't you have virtual CPUs sharing L1 cache rather that cores sharing L2 cache, making the case for ULE even stronger? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: ULE and Prescott question
Scott Bennett wrote: > This is a curiousity question. I'm running 7.2-STABLE at present on > an old Inspiron XPS, which has a 3.4 GHz P4 Prescott CPU. I have > hyperthreading enabled in the kernel. The question is: is there any > appreciable performance difference to be expected with this hardware setup > between the ULE scheduler and the 4BSD scheduler? Or does the fact that > there is only one core eliminate any difference in performance > characteristics? I'd guess the second thing. It's not like there's cache to be shared between cores, etc. ULE might still be better simply because it is more modern. Anyway, all recent (7.1+) versions of FreeBSD ship with ULE as default, and all FreeBSD versions < 7.0 have broken/unfinished ULE. signature.asc Description: OpenPGP digital signature
ULE and Prescott question
This is a curiousity question. I'm running 7.2-STABLE at present on an old Inspiron XPS, which has a 3.4 GHz P4 Prescott CPU. I have hyperthreading enabled in the kernel. The question is: is there any appreciable performance difference to be expected with this hardware setup between the ULE scheduler and the 4BSD scheduler? Or does the fact that there is only one core eliminate any difference in performance characteristics? Scott Bennett, Comm. ASMELG, CFIAG ** * Internet: bennett at cs.niu.edu * ** * "A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army." * *-- Gov. John Hancock, New York Journal, 28 January 1790 * ** ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: ULE scheduler
On Fri, 10 Apr 2009 15:17:28 -0700, "Dave Stegner" wrote: > I rebuilt the kernel with ULE scheduler, I think. > > How can I tell if it is running ULE or 4BSD?? I think that's what you're looking for: % sysctl kern.sched.name kern.sched.name: ULE -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
ULE scheduler
have a stock 7.0 release. I rebuilt the kernel with ULE scheduler, I think. How can I tell if it is running ULE or 4BSD?? David R. Stegner ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: ULE
in few days old RELENG_7 it's great, much better than anything before. there are something to fix with realtime priority threads scheduling, i contacted the author and i think it will be fixed soon. in case of usual work - just use it. it's very good. On Sat, 11 Oct 2008, Desmond Chapman wrote: Anyone with experience using and setting this up, please contact me. I need to learn how to work with and on it. _ Get more out of the Web. Learn 10 hidden secrets of Windows Live. http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ULE
Desmond Chapman wrote: Anyone with experience using and setting this up, please contact me. I need to learn how to work with and on it. Replace "options SCHED_4BSD" with "options SCHED_ULE" in your kernel config file, compile/install kernel in the usual way, reboot. End of story. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
ULE
Anyone with experience using and setting this up, please contact me. I need to learn how to work with and on it. _ Get more out of the Web. Learn 10 hidden secrets of Windows Live. http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD 6.2: ULE vs 4BSD
On Mon, Nov 27, 2006 at 12:13:43AM +, RW wrote: > On Sunday 26 November 2006 19:43, Kris Kennaway wrote: > > On Sun, Nov 26, 2006 at 05:06:57PM +, RW wrote: > > > On Sunday 26 November 2006 12:18, Andrew Pantyukhin wrote: > > > > On 11/26/06, John Smith <[EMAIL PROTECTED]> wrote: > > > > > Hello, > > > > > > > > > > What shall I use as a scheduler on it? 4BSD or ULE? > > > > > > > > The general consensus is you should not touch ULE unless > > > > you're a developer willing to fix some outstanding issues and > > > > maybe take active maintainership of it. > > > > > > I think that's a bit strong. I've used both, off and on, on my Desktop > > > machine and not seen any real difference. > > > > Guess you're one of the lucky ones then. I hope you can understand > > why in general users should not use a kernel feature with known > > problems, and they should at the very least turn it off and reconfirm > > their problems before reporting them, to avoid wasting developer time. > > It might save everyone a lot of time if the GENERIC file entry were changed > to: > > #options SCHED_ULE# ULE scheduler (experimental) Better yet, it was removed from GENERIC altogether and a warning added to the NOTES file: # SCHED_ULE is a new scheduler that has been designed for SMP and has some # advantages for UP as well. It is intended to replace the 4BSD scheduler # over time. NOTE: SCHED_ULE is currently considered experimental and is # not recommended for production use at this time. Kris pgpvrk9lpt2lV.pgp Description: PGP signature
Re: FreeBSD 6.2: ULE vs 4BSD
On Sunday 26 November 2006 19:43, Kris Kennaway wrote: > On Sun, Nov 26, 2006 at 05:06:57PM +, RW wrote: > > On Sunday 26 November 2006 12:18, Andrew Pantyukhin wrote: > > > On 11/26/06, John Smith <[EMAIL PROTECTED]> wrote: > > > > Hello, > > > > > > > > What shall I use as a scheduler on it? 4BSD or ULE? > > > > > > The general consensus is you should not touch ULE unless > > > you're a developer willing to fix some outstanding issues and > > > maybe take active maintainership of it. > > > > I think that's a bit strong. I've used both, off and on, on my Desktop > > machine and not seen any real difference. > > Guess you're one of the lucky ones then. I hope you can understand > why in general users should not use a kernel feature with known > problems, and they should at the very least turn it off and reconfirm > their problems before reporting them, to avoid wasting developer time. It might save everyone a lot of time if the GENERIC file entry were changed to: #options SCHED_ULE# ULE scheduler (experimental) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD 6.2: ULE vs 4BSD
On Sun, Nov 26, 2006 at 05:06:57PM +, RW wrote: > On Sunday 26 November 2006 12:18, Andrew Pantyukhin wrote: > > On 11/26/06, John Smith <[EMAIL PROTECTED]> wrote: > > > Hello, > > > > > > What shall I use as a scheduler on it? 4BSD or ULE? > > > > The general consensus is you should not touch ULE unless > > you're a developer willing to fix some outstanding issues and > > maybe take active maintainership of it. > > I think that's a bit strong. I've used both, off and on, on my Desktop > machine > and not seen any real difference. Guess you're one of the lucky ones then. I hope you can understand why in general users should not use a kernel feature with known problems, and they should at the very least turn it off and reconfirm their problems before reporting them, to avoid wasting developer time. Kris pgpiH8eWVQf5U.pgp Description: PGP signature
Re: FreeBSD 6.2: ULE vs 4BSD
On Sun, Nov 26, 2006 at 07:32:13PM +0300, John Smith wrote: > On 11/26/06, Andrew Pantyukhin <[EMAIL PROTECTED]> wrote: > >On 11/26/06, John Smith <[EMAIL PROTECTED]> wrote: > >> Hello, > >> > >> What shall I use as a scheduler on it? 4BSD or ULE? > > > >The general consensus is you should not touch ULE unless > >you're a developer willing to fix some outstanding issues and > >maybe take active maintainership of it. > > > >You can try it just for the fun of it, but your problem reports > >will be met by a grinning "we told you so". > > > > Thank you Andrew, > > I'm asking because I downloaded PC-BSD 1.3 Beta which is based on > FreeBSD 6.1 and the default in kernel is ULE, so I wanted to make > sure. That's unfortunate :( Kris pgphS6U5l3TT4.pgp Description: PGP signature
Re: FreeBSD 6.2: ULE vs 4BSD
On 11/26/06, Andrew Pantyukhin <[EMAIL PROTECTED]> wrote: On 11/26/06, John Smith <[EMAIL PROTECTED]> wrote: > On 11/26/06, Andrew Pantyukhin <[EMAIL PROTECTED]> wrote: > > On 11/26/06, John Smith <[EMAIL PROTECTED]> wrote: > > > Hello, > > > > > > What shall I use as a scheduler on it? 4BSD or ULE? > > > > The general consensus is you should not touch ULE unless > > you're a developer willing to fix some outstanding issues and > > maybe take active maintainership of it. > > > > You can try it just for the fun of it, but your problem reports > > will be met by a grinning "we told you so". > > > > Thank you Andrew, > > I'm asking because I downloaded PC-BSD 1.3 Beta which is based on > FreeBSD 6.1 and the default in kernel is ULE, so I wanted to make > sure. That's strange. I've used ULE for months on many boxes, but much as I like it, I have to admit there are serious problems with it. There are different reports, but it's clear you can't use it in production environments. It might be okay to run it on your {desk,lap}top system, though, but PC-BSD developers have yet to comment on their reasoning. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to " [EMAIL PROTECTED]" I recommende not to use the ULE for production, months ago, my backup server start crashing, until someone told me to disable ULE_ and enable the old 4BSD scheduler, check this posts: http://lists.freebsd.org/pipermail/freebsd-questions/2006-October/132966.html My system back to normal after i disable ULE. Greetings. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD 6.2: ULE vs 4BSD
On 11/26/06, John Smith <[EMAIL PROTECTED]> wrote: On 11/26/06, Andrew Pantyukhin <[EMAIL PROTECTED]> wrote: > On 11/26/06, John Smith <[EMAIL PROTECTED]> wrote: > > Hello, > > > > What shall I use as a scheduler on it? 4BSD or ULE? > > The general consensus is you should not touch ULE unless > you're a developer willing to fix some outstanding issues and > maybe take active maintainership of it. > > You can try it just for the fun of it, but your problem reports > will be met by a grinning "we told you so". > Thank you Andrew, I'm asking because I downloaded PC-BSD 1.3 Beta which is based on FreeBSD 6.1 and the default in kernel is ULE, so I wanted to make sure. That's strange. I've used ULE for months on many boxes, but much as I like it, I have to admit there are serious problems with it. There are different reports, but it's clear you can't use it in production environments. It might be okay to run it on your {desk,lap}top system, though, but PC-BSD developers have yet to comment on their reasoning. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD 6.2: ULE vs 4BSD
On Sunday 26 November 2006 12:18, Andrew Pantyukhin wrote: > On 11/26/06, John Smith <[EMAIL PROTECTED]> wrote: > > Hello, > > > > What shall I use as a scheduler on it? 4BSD or ULE? > > The general consensus is you should not touch ULE unless > you're a developer willing to fix some outstanding issues and > maybe take active maintainership of it. I think that's a bit strong. I've used both, off and on, on my Desktop machine and not seen any real difference. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD 6.2: ULE vs 4BSD
On 11/26/06, Andrew Pantyukhin <[EMAIL PROTECTED]> wrote: On 11/26/06, John Smith <[EMAIL PROTECTED]> wrote: > Hello, > > What shall I use as a scheduler on it? 4BSD or ULE? The general consensus is you should not touch ULE unless you're a developer willing to fix some outstanding issues and maybe take active maintainership of it. You can try it just for the fun of it, but your problem reports will be met by a grinning "we told you so". Thank you Andrew, I'm asking because I downloaded PC-BSD 1.3 Beta which is based on FreeBSD 6.1 and the default in kernel is ULE, so I wanted to make sure. Regards, -J ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD 6.2: ULE vs 4BSD
On 11/26/06, John Smith <[EMAIL PROTECTED]> wrote: Hello, What shall I use as a scheduler on it? 4BSD or ULE? The general consensus is you should not touch ULE unless you're a developer willing to fix some outstanding issues and maybe take active maintainership of it. You can try it just for the fun of it, but your problem reports will be met by a grinning "we told you so". ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
FreeBSD 6.2: ULE vs 4BSD
Hello, What shall I use as a scheduler on it? 4BSD or ULE? I would like to hear from somone who tested both on FreeBSD 6.2 B to RC1 Thank you, -J ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ULE Scheduler and overall performance on 6.x - Wow
Jonathan Horne wrote: i remember when i first started using freebsd about 2 months ago, the first kernel i built, i did the ULE (at some articles recommendataion). but, ive not done it since. i guess i have been noticing a bit of lag on my system (amd 1800mhz 512rdram, u160 scsi raid0), but nothing unacceptable. however, since i didnt have a problem with my first kernel that i did, and your positive response, i decided to go ahead and change out the specified scheduler in my kernconf, and let 'er rip. is your system a desktop? were your prevously running the same desktop configuration on the same box, with the 4BSD? is the ULE scheduler suited for a server setup as well (my server is also SMP), or is this something that should be kept to a desktop? thanks, jonathan horne My system is a "desktop" and yes I was previously using the 4BSD scheduler. As for whether it is suited for a server environment I would say that depends. From what I understand it is an experimental scheduler meant to bring better performance to SMP machines but that UP machines may also show some improvement. If I was using this box as a server for mission critical applications there are a whole bunch of things I am doing now that I would not be doing. Before I would use any relatively new configuration on a production server I would have to do some reliability testing and benchmarking on a test machine that I had configured to test a particular harware/application mix. I would also be reading what other people had to say and I would first choose to use something that was known to generally work and for which issues were generally know and mostly understood. Also, go where the support is. :) This is basically a test box and a learning platform. There are way too many applications loaded on this machine and they are far too varied in nature for me to single out one aspect of my configuration and say whether or not it is suitable in a server configuration. In addition I wouldn't be able to say whether ULE is suitable for a server after testing it on hardware that is definitely not suitable as a server, in my opinion. I am willing to say that for desktop use the ULE scheduler --seems-- to work great. But do keep in mind Mr. Kennaway's comments per this thread. Of course the 4BSD scheduler works great so I wouldn't switch unless I had a reason to. --Duane On Sunday 07 May 2006 04:43, Duane Whitty wrote: Hi, I decided to give the ULE scheduler a try a while ago (April 28). when I last built 6-STABLE Anyhow it seems great. I'm running a 2.4GHz Celeron with 512MB RAM and two 40GB, PATA disks. Right now I'm running both a GNOME and a KDE session, I've got Thunderbird and Evolution open, Firefox is running and running well, and I'm updating the my local copy of the FreeBSD repository. Oh yeah, I'm also running a DNS server, a Sendmail server, and SAMBA I can't believe how responsive everything is on this low-end machine I'm running.Wow! (And this with debugging turned on but no WITNESS or INVARIANTS turned on) Well time to rebuild the sources :) dwpc@ /home/duane>uname -a FreeBSD dwpc.dwlabs.ca 6.1-RC FreeBSD 6.1-RC #0: Fri Apr 28 18:41:15 ADT 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/DWPC-KERNEL i386 Best Regards, Duane Whitty ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ULE Scheduler and overall performance on 6.x - Wow
On Sun, May 07, 2006 at 06:43:14AM -0300, Duane Whitty wrote: > Hi, > > I decided to give the ULE scheduler a try a while ago (April 28). > when I last built 6-STABLE > > Anyhow it seems great. I'm running a 2.4GHz Celeron with > 512MB RAM and two 40GB, PATA disks. Right now I'm running > both a GNOME and a KDE session, I've got Thunderbird and > Evolution open, Firefox is running and running well, and I'm > updating the my local copy of the FreeBSD repository. Oh yeah, > I'm also running a DNS server, a Sendmail server, and SAMBA > I can't believe how responsive everything is on this low-end machine > I'm running.Wow! (And this with debugging turned on but no WITNESS > or INVARIANTS turned on) FYI, in my testing ULE is faster under light workloads but quite a lot slower under heavy loads. It's not recommended, but YMMV. Kris pgppGBKH0ZlRx.pgp Description: PGP signature
Re: ULE Scheduler and overall performance on 6.x - Wow
i remember when i first started using freebsd about 2 months ago, the first kernel i built, i did the ULE (at some articles recommendataion). but, ive not done it since. i guess i have been noticing a bit of lag on my system (amd 1800mhz 512rdram, u160 scsi raid0), but nothing unacceptable. however, since i didnt have a problem with my first kernel that i did, and your positive response, i decided to go ahead and change out the specified scheduler in my kernconf, and let 'er rip. is your system a desktop? were your prevously running the same desktop configuration on the same box, with the 4BSD? is the ULE scheduler suited for a server setup as well (my server is also SMP), or is this something that should be kept to a desktop? thanks, jonathan horne On Sunday 07 May 2006 04:43, Duane Whitty wrote: > Hi, > > I decided to give the ULE scheduler a try a while ago (April 28). > when I last built 6-STABLE > > Anyhow it seems great. I'm running a 2.4GHz Celeron with > 512MB RAM and two 40GB, PATA disks. Right now I'm running > both a GNOME and a KDE session, I've got Thunderbird and > Evolution open, Firefox is running and running well, and I'm > updating the my local copy of the FreeBSD repository. Oh yeah, > I'm also running a DNS server, a Sendmail server, and SAMBA > I can't believe how responsive everything is on this low-end machine > I'm running.Wow! (And this with debugging turned on but no WITNESS > or INVARIANTS turned on) > > Well time to rebuild the sources :) > > dwpc@ /home/duane>uname -a > FreeBSD dwpc.dwlabs.ca 6.1-RC FreeBSD 6.1-RC #0: Fri Apr 28 18:41:15 ADT > 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/DWPC-KERNEL i386 > > Best Regards, > > Duane Whitty ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
ULE Scheduler and overall performance on 6.x - Wow
Hi, I decided to give the ULE scheduler a try a while ago (April 28). when I last built 6-STABLE Anyhow it seems great. I'm running a 2.4GHz Celeron with 512MB RAM and two 40GB, PATA disks. Right now I'm running both a GNOME and a KDE session, I've got Thunderbird and Evolution open, Firefox is running and running well, and I'm updating the my local copy of the FreeBSD repository. Oh yeah, I'm also running a DNS server, a Sendmail server, and SAMBA I can't believe how responsive everything is on this low-end machine I'm running.Wow! (And this with debugging turned on but no WITNESS or INVARIANTS turned on) Well time to rebuild the sources :) dwpc@ /home/duane>uname -a FreeBSD dwpc.dwlabs.ca 6.1-RC FreeBSD 6.1-RC #0: Fri Apr 28 18:41:15 ADT 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/DWPC-KERNEL i386 Best Regards, Duane Whitty -- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: CPU affinity in new ULE scheduler
On Wed, 9 Nov 2005, Ian Lord wrote: Are you saying that ULE is slower then 4BSD ? I'm new to this and when I compiled my kernel, it was "clear" ULE was a better alternative for performance then 4BSD Schedulers are one of the hardest things to do right in OS design, as they rely a great deal on how workloads behave and interact. I've seen significantly varied performance between the two -- there are a lot of anecdotal reports that ULE is better for "interactive" workloads on a busy desktop machine, but keep in mind that 4BSD has seen a number of improvements in the last few years also. Right now, 4BSD is considered the "production" scheduler for FreeBSD, although there's continuing interest in improving ULE, as well as integrating some of the techniques used in ULE into 4BSD. For example, ULE used to see a significant performance win over 4BSD on SMP as it did a better job of identifying idle CPUs and migrating work to those CPUs. 4BSD has improved a lot on this front in the last year or two, and so has caught up with some of those benefits. In the end, only by measuring will you be able to tell if ULE is better for your workload. Measurement can mean qualitative experience (everything seems snappier) or quantitative (I get 14% more transactions per second with scheduler X). Robert N M Watson Thanks At 19:05 2005-11-09, Kris Kennaway wrote: On Wed, Nov 09, 2005 at 04:16:31PM -0600, Jon Brisbin wrote: > I can't find any information on how to set the CPU affinity for processes in the > FreeBSD 6 ULE scheduler. That's because you can't. ULE gives lower performance on the workloads I have tested anyway. This may be fixed in the future. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: CPU affinity in new ULE scheduler
On Wed, Nov 09, 2005 at 07:08:12PM -0500, Ian Lord wrote: > Are you saying that ULE is slower then 4BSD ? > > I'm new to this and when I compiled my kernel, it was "clear" ULE was > a better alternative for performance then 4BSD Yes, in the workloads I have tested. Others have reported similar things. You should carefully measure it yourself on your workloads to verify which is better. Kris pgp66BefrOC6Z.pgp Description: PGP signature
Re: CPU affinity in new ULE scheduler
Are you saying that ULE is slower then 4BSD ? I'm new to this and when I compiled my kernel, it was "clear" ULE was a better alternative for performance then 4BSD Thanks At 19:05 2005-11-09, Kris Kennaway wrote: On Wed, Nov 09, 2005 at 04:16:31PM -0600, Jon Brisbin wrote: > I can't find any information on how to set the CPU affinity for processes in the > FreeBSD 6 ULE scheduler. That's because you can't. ULE gives lower performance on the workloads I have tested anyway. This may be fixed in the future. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: CPU affinity in new ULE scheduler
On Wed, Nov 09, 2005 at 04:16:31PM -0600, Jon Brisbin wrote: > I can't find any information on how to set the CPU affinity for processes in > the > FreeBSD 6 ULE scheduler. That's because you can't. ULE gives lower performance on the workloads I have tested anyway. This may be fixed in the future. Kris pgpo1zlUcDBeK.pgp Description: PGP signature
CPU affinity in new ULE scheduler
I can't find any information on how to set the CPU affinity for processes in the FreeBSD 6 ULE scheduler. On the linux box, which we're moving from, I have dual Xeon HTT's that I have JBoss scheduled round-robin with the CPU affinity set to the first two processors, nice -15. I have Postgres scheduled SCHED_FIFO on the last two processors, nice -15. This gives me the greatest bandwidth possible in our scenario as it eliminates the CPU contention I had noticed before doing it this way. How do I do the same thing in FreeBSD? I have found a lot of information that talks about setting CPU affinity, but I have yet to find one example of how to do this. On linux, I'm using a CK-patched kernel and "schedtool" Is there something similar on FreeBSD? Thanks! Jon Brisbin Webmaster NPC International, Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ULE or 4BSD
On Sat, Nov 05, 2005 at 01:42:40PM +0300, Andrew P. wrote: > On 11/5/05, Albert Shih <[EMAIL PROTECTED]> wrote: > > Hi anybody > > > > All is in the subject...on FreeBSD 6.0 i've see the default generic kernel > > is compiled with SCHED_4BSD and SCHED_ULE is in comment. > > > > Can'I use SCHED_ULE on 6.0 ? Is he stable now ? > > > > Regards. > > -- > > Albert SHIH > > Universite de Paris 7 (Denis DIDEROT) > > U.F.R. de Mathematiques. > > Heure local/Local time: > > Sat Nov 5 10:05:36 CET 2005 > > ___ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > > > > Not yet, no, sorry. It's pretty stable now that 6.0 is > out, but you'll have to conduct extensive testing > (yourself) before you put it in production, where it > might give you a noticable performance boost. Or slowdown, as in my testing. Kris pgpi9XUhDtKvn.pgp Description: PGP signature
Re: ULE or 4BSD
On 11/5/05, Albert Shih <[EMAIL PROTECTED]> wrote: > Hi anybody > > All is in the subject...on FreeBSD 6.0 i've see the default generic kernel > is compiled with SCHED_4BSD and SCHED_ULE is in comment. > > Can'I use SCHED_ULE on 6.0 ? Is he stable now ? > > Regards. > -- > Albert SHIH > Universite de Paris 7 (Denis DIDEROT) > U.F.R. de Mathematiques. > Heure local/Local time: > Sat Nov 5 10:05:36 CET 2005 > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > Not yet, no, sorry. It's pretty stable now that 6.0 is out, but you'll have to conduct extensive testing (yourself) before you put it in production, where it might give you a noticable performance boost. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
ULE or 4BSD
Hi anybody All is in the subject...on FreeBSD 6.0 i've see the default generic kernel is compiled with SCHED_4BSD and SCHED_ULE is in comment. Can'I use SCHED_ULE on 6.0 ? Is he stable now ? Regards. -- Albert SHIH Universite de Paris 7 (Denis DIDEROT) U.F.R. de Mathematiques. Heure local/Local time: Sat Nov 5 10:05:36 CET 2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Which list for ULE issues?
Doug Poland wrote: > Hello, > > I've been playing with ULE on 5.3-STABLE and have come up with some > repeatable issues. To which list should I post these? -STABLE, > -CURRENT, -QUESTIONS? Since it's on -stable, I'd suggest freebsd-stable@, like last time :-) Simon pgphMIxxw9MVR.pgp Description: PGP signature
Which list for ULE issues?
Hello, I've been playing with ULE on 5.3-STABLE and have come up with some repeatable issues. To which list should I post these? -STABLE, -CURRENT, -QUESTIONS? -- Regards, Doug ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Trouble with ULE scheduler
On Fri, Dec 17, 2004 at 04:46:20PM +0100, O. Hartmann wrote: > Peter Farmer schrieb: > > >From http://www.freebsd.org/releases/5.3R/errata.html > > > >(1 Nov 2004) The ULE scheduler described in the release notes has been > >completely disabled to discourage its use because it has stability > >problems. > > > > > >HTH > > Is there a way to explicitely enable it for testing purposes? Yes, but all you'll find is that - yes - it's broken. *surprise*! Kris pgpYWyhsFQJ3r.pgp Description: PGP signature
Re: Trouble with ULE scheduler
O. Hartmann wrote: Peter Farmer schrieb: From http://www.freebsd.org/releases/5.3R/errata.html (1 Nov 2004) The ULE scheduler described in the release notes has been completely disabled to discourage its use because it has stability problems. HTH Is there a way to explicitely enable it for testing purposes? the error message which the op attached to his email shows that the error is raised by an #error directive in sched_ule.c -- removing that line /might/ make ule build. regards, phil. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Trouble with ULE scheduler
Peter Farmer schrieb: From http://www.freebsd.org/releases/5.3R/errata.html (1 Nov 2004) The ULE scheduler described in the release notes has been completely disabled to discourage its use because it has stability problems. HTH Is there a way to explicitely enable it for testing purposes? Oliver ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Trouble with ULE scheduler
On Fri, Dec 17, 2004 at 05:50:21PM +0600, musikcom wrote: > Hello! > I have some trouble with ULE scheduler. I have installed > FreeBSD 5.3 When I try to use ULE scheduler (by editing > GENERIC file), the message "The SCHED_ULE scheduler is > broken. Please use SCHED_4BSD" message appear. You get that message because the ULE scheduler *is* broken. Please use the 4BSD scheduler instead. (And read the errata available at http://www.freebsd.org/releases/5.3R/errata.html ) -- Erik Trulsson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Trouble with ULE scheduler
musikcom wrote: Hello! I have some trouble with ULE scheduler. I have installed FreeBSD 5.3 When I try to use ULE scheduler (by editing GENERIC file), the message "The SCHED_ULE scheduler is broken. Please use SCHED_4BSD" message appear. I do these steps: cd /sys/i386/confOK edit GENERICOK config GENERICOK cd ../compile/GENERICOK make dependFAILURE I send copy of GENERIC, sched_ule.c files in attachment and also file out.txt Please, help!!! - http://mobile.ngs.ru/games - Java-игры для мобильников и не только... http://love.ngs.ru - Знакомства в Новосибирске [attached files removed to save bandwidth] The ULE scheduler was for all practical purposes disabled in 5.3 because of instability problems some people noticed with it - so the developers are working on fixing those bugs. In the meantime, you should continue to use SCHED_4BSD. -- Alan Gerber ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: about ULE and KSE
On Thu, Sep 30, 2004 at 04:45:02PM +0800, wrote: > so what is the difference between 2?i think , ule is not so good as > they told me ,so slow. One's a scheduler, one's a thread system. Apples, oranges. Kris pgpNLJ2OnQq6a.pgp Description: PGP signature
about ULE and KSE
so what is the difference between 2?i think , ule is not so good as they told me ,so slow. == 263电子邮件-信赖邮自专业___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"