On Thu, May 16, 2013 at 05:05:09PM +0200, Alfonso S. Siciliano wrote:

> On Thu, 16 May 2013 11:19:08 +0200
> Otto Moerbeek <o...@drijf.net> wrote:
> 
> 
> > Since you do not tell us if you are interested in the kernel or
> > userland side of things, it is hard to point you to manual pages or
> > other documentation.
> 
> I have been too generic.
> My interest is to find the differences between bsd.sp and bsd.mp.
> I studied theoretically multiprocessor programming at university, so I
> hope to find, in the real world, the implementation of the concepts
> studied (load balancing, scheduling, parallelized data structures, etc).
> But:
> 
> > At this point in time, the kernel uses less concurrency than you might
> > expect, but it provides services to userland to either run process
> > threads concurrently given the limitations of the hardware, or at
> > least provide the abstractions so that it seems they run concurrently
> > on non-smp hardware. 
> 
> 
> So is there not a implementation of them?

why do you conclude that?

What I'm rying to say that is, given the limitatioins of the harware,
the mp kernel runs threads concurrently.

But if the hardware does not allow concurrent threads, it still
appears, from a userland perspective, that the threads run parallel.
That is true for both the sp and the mp kernel.

To study the differences between the sp and mp kernel, look for code
guarded by define MULTIPROCESSOR

        -Otto

Reply via email to