ULE vs. 4BSD in RELENG_7



Hello,

I posted this to the stable mailing list, as I thought it was
pertinent there, but I think it will get better attention here. So I
apologize in advance for cross-posting if this is a faux pas. :)

Anyway, in summary, ULE is about 5-6 % slower than 4BSD for two
workloads that I am sensitive to: building world with -j X, and ffmpeg
-threads X. Other benchmarks seem to indicate relatively equal
performance between the two. MySQL, on the other hand, is
significantly faster in ULE.

I'm trying to understand why ffmpeg and buildworld are slower in ULE
than 4BSD, since it seems to me that ULE was supposed to be the better
scaling scheduler.

Here is a link to the original thread on the stable mailing list:

http://lists.freebsd.org/pipermail/freebsd-stable/2007-October/037379.html

Remy replied with some interesting results for building world between
the two schedulers on an 8-way system. It seems that ULE suffers as
more threads/processes are thrown at it, at least it appears that way
from Remy's data.

Does anyone have any additional performance tests I can run that might
help indicate where the deficiency is in the ULE scheduler? MySQL
performance is excellent, so I'm wondering if it was tuned to that
particular workload?

I'm not sure if Remy subscribes to this list, so I am CC'ing him. Hope
you don't mind Remy :)

Regards,
Josh
_______________________________________________
freebsd-performance@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-performance
To unsubscribe, send any mail to "freebsd-performance-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: cvs commit: src/sys/kern sched_ule.c
    ... Certainly if ULE were to implement ... >>What if a scheduler wants to keep a thread on TWO lists.. ... >>thread on BOTH teh percpu queue and an independent queue. ...
    (freebsd-current)
  • Re: cvs commit: src/sys/kern sched_ule.c
    ... >>ULE could implement fairness). ... >>implement fairness without any constraints of worrying about the BSD ... What if a scheduler wants to keep a thread on TWO lists.. ... thread on BOTH teh percpu queue and an independent queue. ...
    (freebsd-current)
  • Re: SCHEDULE and high load situations
    ... but I haven't tried it with Jeff's latest set of patches ... Since the run queue is a property of the scheduler, ... responsible for coming up with a notion of "load average". ... ULE, are we not getting enough work done, or both. ...
    (freebsd-current)
  • Re: ULE Scheduler available in 5.3-RELEASE?
    ... > "The ULE scheduler has been added as an additional scheduler. ... > This will not prevent problems due to overloaded disk subsystems, ... > queues which allow for CPU affinity, CPU binding, and advanced ...
    (freebsd-stable)
  • Re: cvs commit: src/sys/kern sched_ule.c (fwd)
    ... Jon Noack wrote: ... >>and this problem isn't exhibited with the ULE scheduler. ... However, Scott Long has ...
    (freebsd-current)