Relateely I came across something called qemu-lite 
- https://github.com/clearcontainers/qemu/tree/qemu-lite-v2.9.0 
and https://github.com/intel/qemu-lite/wiki. It looks like a lighter qemu 
with many features compiled. Now QEMU+OSv runs in around 250ms.

 OSv v0.24-510-g451dc6d
4 CPUs detected
Firmware vendor: SeaBIOS
bsd: initializing - done
VFS: mounting ramfs at /
VFS: mounting devfs at /dev
net: initializing - done
vga: Add VGA device instance
virtio-blk: Add blk device instances 0 as vblk0, devsize=8520192
random: intel drng, rdrand registered as a source.
random: <Software, Yarrow> initialized
VFS: unmounting /dev
VFS: mounting rofs at /rofs
VFS: mounting devfs at /dev
VFS: mounting procfs at /proc
VFS: mounting ramfs at /tmp
disk read (real mode): 39.68ms, (+39.68ms)
uncompress lzloader.elf: 60.83ms, (+21.15ms)
TLS initialization: 61.42ms, (+0.59ms)
.init functions: 63.09ms, (+1.67ms)
SMP launched: 63.88ms, (+0.79ms)
VFS initialized: 66.43ms, (+2.55ms)
Network initialized: 66.87ms, (+0.44ms)
pvpanic done: 66.98ms, (+0.11ms)
pci enumerated: 72.82ms, (+5.84ms)
drivers probe: 72.82ms, (+0.00ms)
drivers loaded: 131.03ms, (+58.21ms)
ROFS mounted: 133.29ms, (+2.27ms)
Total time: 133.29ms, (+0.00ms)
Hello from C code
VFS: unmounting /dev
VFS: unmounting /proc
VFS: unmounting /
ROFS: spent 0.82 ms reading from disk
ROFS: read 21 512-byte blocks from disk
ROFS: allocated 18 512-byte blocks of cache memory
ROFS: hit ratio is 89.47%
Powering off.

real 0m0.266s
user 0m0.105s
sys 0m0.152s

Still 4 times slower than hyperkit on the same machine on OSX - please see 
my other email.

Waldek 

On Wednesday, April 11, 2018 at 12:29:37 PM UTC-4, Pekka Enberg wrote:
>
> Hi,
>
> On Wed, Apr 11, 2018 at 6:08 PM, Waldek Kozaczuk <jwkoz...@gmail.com 
> <javascript:>> wrote:
>
>> Do you know if kvmtool supports multiboot? If so which version?
>>
>
> It does not support Multiboot at all. The main problem with booting OSv is 
> indeed the loading part. kvmtool on x86 only supports Linux bzImage. The 
> MIPS port supports ELF so perhaps that could be included for x86 to to boot 
> OSv.
>
> - Pekka 
>

-- 
You received this message because you are subscribed to the Google Groups "OSv 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to osv-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to