How about the Minix3 works on SMP and parallel performance.

346 views
Skip to first unread message

朱润身

unread,
Jan 10, 2015, 5:01:01 AM1/10/15
to min...@googlegroups.com
Two key problems I consern is the development about Minix3 for multicore support and the efforts of Minix group on the  performance improvement of multicore architectures. 
For instance,  currently, can a server in Minix spawn multiple threads to handle  requests effectively? 
Is a service able to lauch multiple  instances crossing different cores for running concurrently? 
How  SMP Minix3.3.0 schedule the applications and servers on multicores spatially? 
How many cores does Minix3 support up to?

Antoine LECA

unread,
Jan 12, 2015, 3:37:18 AM1/12/15
to min...@googlegroups.com
On 2015-01-10 10:01Z, 朱润身 wrote:
> For instance, currently, can a server in Minix spawn multiple threads to
> handle requests effectively?

Yes, this is an improvement to mainly VFS, work lead by Thomas Veerman
over the past 5 years. Note however that this is independent of both
kernel threads or NUMA (which MINIX do not have), and of SMP.

> Is a service able to lauch multiple instances crossing different cores for
> running concurrently?

You mean, whether a service (like VFS or INET) is able to be spawned as
several instances on different cores while staying coordinated: I
believe this is theoretically possible when it comes to the OS design,
but is not presently part of the system as it stands now (SMP is clearly
not the main point of development of MINIX 3.)

> How SMP Minix3.3.0 schedule the applications and servers on multicores
> spatially?

Based on load of each core. This can easily be modified: the whole
scheduler code is at
http://git.minix3.org/index.cgi?p=minix.git;a=tree;f=minix/servers/sched;hb=HEAD
and is below 20 K, and is 400 LoC.

> How many cores does Minix3 support up to?

I do not believe there is any maximum because of the OS. Nor that this
kind of counting have much sense.


Antoine
Reply all
Reply to author
Forward
0 new messages