[libdispatch-dev] updated test results on Linux

David Leimbach leimy2k at gmail.com
Fri Jan 7 06:11:41 PST 2011


On Thursday, January 6, 2011, Mark Heily <mark at heily.com> wrote:
> On 01/06/2011 11:36 AM, David Leimbach wrote:
>>  Is there some kind of page with a status of what needs to be done yet?  I'm
>> wondering about the kernel-side scheduling help Mac OS X is getting.  I see
>> there's some interesting realtime tests that aren't passing below, and those
>> are of interest.
>
> You can keep an eye on http://mark.heily.com/proj/libdispatch/ for updates
> from my side. It's still under construction at the moment :)
>
> The time-sensitive tests were working in the past on Linux (BTW, libdispatch
> does not do true real-time scheduling) .

If there are tests with time dealines.  It could be argued that that
is at least a form of soft realtime but I must admit I haven't looked
at such tests at all :-).

They started failing after I
> reduced the default size of the thread pool, which is probably the source of
> the problem. There is a dedicated "workqueue manager" thread that wakes up
> every few seconds to tune the size of the threadpool. For time-sensitive
> tasks, two seconds is an eternity, so I need to add some additional logic to
> make the manager thread wake up as soon as there are no more idle workers.
>
> Cheers,
>
>  - Mark
>


More information about the libdispatch-dev mailing list