I was told that usermode kernel requires custom hosting kernel with the following module: sys/arch/usermode/modules/syscallemu To build the usermode kernel we need to perform something similar to: cd /usr/src/sys/arch/amd64/conf config GENERIC_USERMODE cd ../compile/GENERIC_USERMODE make depend make To run it: ./netbsd There is need to resurrect build of it. Currently there might be no support to run the usermode version without NetBSD kernel on host. On 29.04.2017 14:08, r0ller wrote: > Hi Greg, > > Yepp, that I know, that's why I asked it:) However, as the question is > rather about the overhead of running code in one or the other way I > asked jym at NetBSD who told that -besides the fact that only > measurement can tell- based on his gut feeling, usermode should have > less overhead if we don't take into account I/O. > > Best regards, > r0ller > > -------- Eredeti levél -------- > Feladó: Greg Troxel < gdt%lexort.com@localhost (Link -> mailto:gdt%lexort.com@localhost) > > Dátum: 2017 április 29 11:51:10 > Tárgy: Re: NetBSD/usermode status > Címzett: r0ller < r0ller%freemail.hu@localhost (Link -> mailto:r0ller%freemail.hu@localhost) > > > r0ller <r0ller%freemail.hu@localhost> writes: >> By the way, does anyone know what would be faster: NetBSD domU on >> NetBSD/Xen dom0 or NetBSD/usermode? > That's a good question, but if you want a reliable setup to actually run > something, I would recommend Xen. There are a lot of people running > NetBSD/Xen, and I am not aware of a lot of NetBSD/userland use.
Attachment:
signature.asc
Description: OpenPGP digital signature