Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Since the release of NetBSD 5.0, it is said that the work of Doran Andrew concerning SMP in the NetBSD kernel has improve drastically performance for multi-threaded and/or multi-core processors.

Assuming my server has a multi-core processor, I want to know if this work has an (good) impact when using NetBSD as Dom0 ? as DomU ?

MySQL Benchmark, 8 core Xeon

share|improve this question
I think when used in Dom0, it is the Xen "kernel" which make the scheduler. But in DomU (with more than 1 vcpu) is there any increase of performance ? – Kortex786 Oct 14 '09 at 4:36
up vote 0 down vote accepted

According to the release notes...

NetBSD 5.0 features greatly improved performance and scalability on modern multiprocessor (SMP) and multi-core systems. Multi-threaded applications can now efficiently make use of more than one CPU or core, and system performance is much better under I/O and network load.

I know that 5.0 went from giant lock to fine-grained locking, and also to a 1:1 thread:process model. These will make SMP much faster on bare hardware. There doesn't seem to be any released information w.r.t SMP on the Xen port specifically. It does look like they have the framework to do a good job in the long run.

share|improve this answer

I don't believe it affects Xen at all. Xen itself is multi-core capable, but as far as I know the NetBSD dom0 and domU kernels are not SMP capable yet.

So, currently, no performance gain, but no loss either.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.