Running OSv on kvmtool

2018-04-11 Thread Waldek Kozaczuk
Has anybody tried it? Is it lighter and faster than QEMU? Waldek PS. I have been trying to find an official github repo and many things popup but hard to tell which one is what. -- You received this message because you are subscribed to the Google Groups "OSv Development" group. To unsubscrib

Re: Running OSv on kvmtool

2018-04-11 Thread Asias He
On Wed, Apr 11, 2018 at 9:00 PM, Waldek Kozaczuk wrote: > Has anybody tried it? Is it lighter and faster than QEMU? > > Waldek > > PS. I have been trying to find an official github repo and many things > popup but hard to tell which one is what. > The current maintainer's repo is here: https:

Re: Running OSv on kvmtool

2018-04-11 Thread Waldek Kozaczuk
Hi, thanks for the info. Do you know if kvmtool supports multiboot? If so which version? Waldek Sent from my iPhone > On Apr 11, 2018, at 09:06, Asias He wrote: > > > >> On Wed, Apr 11, 2018 at 9:00 PM, Waldek Kozaczuk >> wrote: >> Has anybody tried it? Is it lighter and faster than QEMU

Re: Running OSv on kvmtool

2018-04-11 Thread Pekka Enberg
Hi, On Wed, Apr 11, 2018 at 6:08 PM, Waldek Kozaczuk 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

Build failed in Jenkins: osv-build-nightly #1439

2018-04-11 Thread jenkins
See -- [...truncated 140.73 KB...] Adding /tests/misc-fsx.so... Adding /tests/tst-sleep.so... Adding /tests/tst-resolve.so... Adding /tests/tst-except.so... Adding /tests

Re: [PATCH] fix no output boot_time event "TLS initialization"

2018-04-11 Thread Wang Yu
no one review? 在 18/4/9 下午8:37, Wang Yu 写道: before patch boot with --bootchart, "TLS initialization" is not output ... disk read (real mode): 50.71ms, (+50.71ms) .init functions: 89.20ms, (+5.48ms) SMP launched: 90.56ms, (+1.36ms) VFS initialized: 95.76ms

Re: [PATCH] add boot_time event of uncompress lzloader.elf

2018-04-11 Thread Wang Yu
pls review 在 18/4/9 下午8:46, Wang Yu 写道: sometimes i found uncompres cost serival times, so add boot_time event of uncompress lzloader.elf after patch ... disk read (real mode): 45.09ms, (+45.09ms) uncompress lzloader.elf: 76.90ms, (+31.81ms) TLS initialization: 7

Re: [PATCH] fix no output boot_time event "TLS initialization"

2018-04-11 Thread Waldek Kozaczuk
Hi. I reviewed this and other patch and replied on the the mailing list. Have my replies not reached you ? Waldek Sent from my iPhone > On Apr 11, 2018, at 22:15, Wang Yu wrote: > > no one review? > > >> 在 18/4/9 下午8:37, Wang Yu 写道: >> before patch boot with --bootchart, "TLS initializati

Re: [PATCH] fix no output boot_time event "TLS initialization"

2018-04-11 Thread Wang Yu
在 18/4/12 上午10:22, Waldek Kozaczuk 写道: Hi. I reviewed this and other patch and replied on the the mailing list. Have my replies not reached you ?. I haven't recieved it, maybe i am not in the mail list, and you re send reviewed mail to me? -- You received this message because you are subs

Re: [PATCH] fix no output boot_time event "TLS initialization"

2018-04-11 Thread Waldek Kozaczuk
Including the author of the patch. Sent from my iPhone > On Apr 10, 2018, at 23:44, Waldek Kozaczuk wrote: > > Nice catch. > > Even though the patch addresses the bug it also makes _event member variable > public and therefore weakens encapsulation. I wonder if we can address this > bug alo

Re: [PATCH] add boot_time event of uncompress lzloader.elf

2018-04-11 Thread Waldek Kozaczuk
Including the author of the patch. Sent from my iPhone > On Apr 10, 2018, at 23:45, Waldek Kozaczuk wrote: > > Again it looks correct but if we rework previous patch this would have had to > be adjusted as well. > > Regards, > Waldek > >> On Monday, April 9, 2018 at 8:46:56 AM UTC-4, Wang Y

Re: [PATCH] fix no output boot_time event "TLS initialization"

2018-04-11 Thread Wang Yu
在 18/4/12 上午10:50, Waldek Kozaczuk 写道: Including the author of the patch. Sent from my iPhone On Apr 10, 2018, at 23:44, Waldek Kozaczuk > wrote: Nice catch. Even though the patch addresses the bug it also makes _event member variable public and therefore wea

Re: [PATCH] fix no output boot_time event "TLS initialization"

2018-04-11 Thread Waldek Kozaczuk
Sound good. Thanks. Sent from my iPhone > On Apr 11, 2018, at 22:56, Wang Yu wrote: > > > >> 在 18/4/12 上午10:50, Waldek Kozaczuk 写道: >> Including the author of the patch. >> >> Sent from my iPhone >> >> On Apr 10, 2018, at 23:44, Waldek Kozaczuk wrote: >> >>> Nice catch. >>> >>> Even th

Re: Running OSv on kvmtool

2018-04-11 Thread Waldek Kozaczuk
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 Fi

[PATCH v2 1/2] Fix no output boot_time event "TLS initialization"

2018-04-11 Thread Wang Yu
Before patch boot with --bootchart, "TLS initialization" is not output ... disk read (real mode): 50.71ms, (+50.71ms) .init functions: 89.20ms, (+5.48ms) SMP launched: 90.56ms, (+1.36ms) VFS initialized: 95.76ms, (+5.20ms) ... after patch, ...

[PATCH v2 2/2] add boot_time event of uncompress lzloader.elf

2018-04-11 Thread Wang Yu
sometimes i found uncompres cost serival times, so add boot_time event of uncompress lzloader.elf after patch ... disk read (real mode): 45.09ms, (+45.09ms) uncompress lzloader.elf: 76.90ms, (+31.81ms) TLS initialization: 77.65ms, (+0.75ms) .init functions: 8