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