Re: [PATCH] Remove deprecated "mgmt" submodule

2016-07-11 Thread Pekka Enberg
On Thu, Jun 30, 2016 at 2:29 PM, Nadav Har'El wrote: > Pekka or Avi, can I please have your opinion on this patch? > > Is it ok with you that we drop the old "mgmt" shell, and stop building > images for it? I am certainly fine with that. -- You received this message because

Re: [PATCH] drivers/vmxnet3: Fix driver state issues

2016-08-31 Thread Pekka Enberg
On Wed, Aug 31, 2016 at 6:13 PM, Timmons C. Player wrote: > This commit fixes two observed issues with the vmxnet3 driver: > > * Handle both missing SOP and EOP descriptors in the rx loop. ESXi > drops descriptors under load. > * Always leave at least one Tx

Re: [COMMIT osv master] Update apps/ submodule

2016-09-14 Thread Pekka Enberg
On Wed, Sep 14, 2016 at 9:05 AM, Commit Bot wrote: > From: Nadav Har'El > Committer: Nadav Har'El > Branch: master > > Update apps/ submodule > > Signed-off-by: Nadav Har'El > > --- > diff --git a/apps

Re: [PATCH] virtio-rng: don't hang while waiting for entropy

2016-11-17 Thread Pekka Enberg
rces, and doesn't want to wait for this specific source! > > So virtio-rng's read function shouldn't wait for random bytes, it should > just provide whatever bytes it has right now. > > Fixes #805 > > Signed-off-by: Nadav Har'El <n...@scylladb.com> The virtio-rng part lo

Re: [PATCH] loader: do not kill httpserver prematurely

2016-12-27 Thread Pekka Enberg
On Mon, Dec 26, 2016 at 12:04 AM, Nadav Har'El wrote: > Commit e270cf9c (more than two years ago) was well-intentioned, but > introduced a new bug: we no longer wait for the background programs > to finish before stopping httpserver. So for example if the command > line is

Re: [COMMIT osv master] update apps submodule

2017-07-10 Thread Pekka Enberg
On Fri, Jul 7, 2017 at 1:08 AM, Commit Bot wrote: > From: Nadav Har'El > Committer: Nadav Har'El > Branch: master > > update apps submodule > > Signed-off-by: Nadav Har'El Nadav, it's nice to have "git

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.

Re: How to test the schedule latency?

2018-10-11 Thread Pekka Enberg
On Thu, Oct 11, 2018 at 11:50 AM Nadav Har'El wrote: > > On Thu, Oct 11, 2018 at 10:45 AM Qixuan Wu wrote: > >> Hi All, >> >> I saw the paper, it said schedule latency is less than linux thread, >> about 328ns. >> >> Guest OS >> >> Colocated >> >> Apart >> >> Linux >> >> 905 ns >> >> 13148 ns

Re: How to test the schedule latency?

2018-10-11 Thread Pekka Enberg
On Thu, Oct 11, 2018 at 12:14 PM Nadav Har'El wrote: > On Thu, Oct 11, 2018 at 12:10 PM Pekka Enberg > wrote: > >> >> >> On Thu, Oct 11, 2018 at 11:50 AM Nadav Har'El wrote: >> >>> >>> tests/misc-ctxsw.cc >>> >>> To run i

Re: How to test the schedule latency?

2018-10-11 Thread Pekka Enberg
On Thu, Oct 11, 2018 at 12:22 PM Avi Kivity wrote: > > On 11/10/2018 12.14, Nadav Har'El wrote: > > On Thu, Oct 11, 2018 at 12:10 PM Pekka Enberg > wrote: > >> >> >> On Thu, Oct 11, 2018 at 11:50 AM Nadav Har'El wrote: >> >>> >>> test

Re: gvisor - google user-space kernel in go

2018-09-20 Thread Pekka Enberg
On Thu, Sep 20, 2018 at 9:29 AM, Qixuan Wu wrote: > > > 在 2018年9月19日星期三 UTC+8下午9:25:15,Pekka Enberg写道: >> >> >> >> On Wed, Sep 19, 2018 at 4:18 AM, Qixuan Wu wrote: >> >>> >>>- claim to run unmodified Linux executable like

Re: gvisor - google user-space kernel in go

2018-09-19 Thread Pekka Enberg
On Wed, Sep 19, 2018 at 4:18 AM, Qixuan Wu wrote: > >- claim to run unmodified Linux executable like OSv does > > gVisor can run the C application without recompiling, but application only > can run on OSv with recompiling. > OSv is quite capable of running unmodified Linux executables, as

Re: gvisor - google user-space kernel in go

2018-09-20 Thread Pekka Enberg
Hi Nadav, On Thu, Sep 20, 2018 at 11:03 AM, Nadav Har'El wrote: > I think Qixuan may be referring to the fact that OSv today can only run > position-independent executables (shared objects and PIE), and nor > "regular" position-dependent executables, > which causes us in many applications in

Re: [RFC] Support firecracker

2019-01-04 Thread Pekka Enberg
Hi Waldek, On Sat, Jan 5, 2019 at 8:47 AM Waldek Kozaczuk wrote: > Please bear in mind it is a RFC polluted with hacks and many TODO comments > that raise many questions. > > Feel free to review it especially if you have ideas on how to better > restructure the code (I left some comments about

Re: [RFC] Support firecracker

2019-01-04 Thread Pekka Enberg
On Sat, Jan 5, 2019 at 9:43 AM Waldek Kozaczuk wrote: > Indeed I have come across some incompatibility issues. Mostly around > configuration but nothing very fundamental. You can see in some of my > comments. > Right, I missed the comments because the diff is somewhat large. ;-) I would

Re: [RFC] Support firecracker

2019-01-05 Thread Pekka Enberg
On Sat, Jan 5, 2019 at 9:58 AM Pekka Enberg wrote: > > > On Sat, Jan 5, 2019 at 9:43 AM Waldek Kozaczuk > wrote: > >> Indeed I have come across some incompatibility issues. Mostly around >> configuration but nothing very fundamental. You can see in some of my >>

Re: OSv boots on AWS firecracker in 7ms (seven)

2019-01-04 Thread Pekka Enberg
On Sat, Jan 5, 2019 at 9:04 AM Waldek Kozaczuk wrote: > And one more thing I forgot to mention. I do not know much about ARM > architecture but I think the patch I have just sent may help us provide > virtio implementation for ARM as well, no? > I think ARM64 also supports virtio-pci these

Re: [PATCH] Refactor virtio layer to support modern PCI and mmio devices

2019-01-16 Thread Pekka Enberg
On Wed, Jan 16, 2019 at 6:02 PM Nadav Har'El wrote: > > On Wed, Jan 16, 2019 at 5:53 PM Waldek Kozaczuk > wrote: > >> On Wednesday, January 16, 2019 at 1:29:13 AM UTC-5, Pekka Enberg wrote: >>> >>> But for the overall approach: >>> >> ???

Re: [PATCH] Refactor virtio layer to support modern PCI and mmio devices

2019-01-15 Thread Pekka Enberg
e introduction of virtio_modern_pci_device in a follow up patch. But for the overall approach: Acked-by: Pekka Enberg - 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

Re: [osv-dev] OSv vs Docker vs Linux networking performance comparison

2019-03-27 Thread Pekka Enberg
On Wed, Mar 27, 2019 at 10:48 AM Pekka Enberg wrote: > Hi Waldek! > > On Wed, Mar 27, 2019 at 12:29 AM Waldek Kozaczuk > wrote: > >> Last week I spent some time investigating OSv performance and comparing >> it to Docker and Linux guests. >> > > Nice! >

Re: [osv-dev] OSv vs Docker vs Linux networking performance comparison

2019-03-27 Thread Pekka Enberg
Hi Waldek! On Wed, Mar 27, 2019 at 12:29 AM Waldek Kozaczuk wrote: > Last week I spent some time investigating OSv performance and comparing it > to Docker and Linux guests. > Nice! On Wed, Mar 27, 2019 at 12:29 AM Waldek Kozaczuk wrote: > The test setup looked like this: > > *Host:* > >

Re: [osv-dev] Updating http://osv.io/

2019-03-25 Thread Pekka Enberg
On Mon, Mar 25, 2019 at 10:37 AM Nadav Har'El wrote: > > On Mon, Mar 25, 2019 at 8:38 AM Tzach Livyatan wrote: > >> >> On Mon, Mar 25, 2019 at 8:17 AM Dor Laor wrote: >> >>> Waldek, I added you to the blog as admin, a Firecracked blog will be >>> awesome. >>> I failed to locate the main site

Re: [osv-dev] Capstan

2019-04-03 Thread Pekka Enberg
Hi, On Wed, Apr 3, 2019 at 4:24 PM Waldek Kozaczuk wrote: > In near future I am planning to add a capability to pull artifacts from > github repo. I am planning to create pull request for that. > > Can I count on someone to review my pull requests? Any volunteers? > No promises, but you can

Re: [osv-dev] OSv vs Docker vs Linux networking performance comparison

2019-03-28 Thread Pekka Enberg
Hi Waldek, On Thu, Mar 28, 2019 at 12:49 AM Waldek Kozaczuk wrote: > Some questions about the evaluation setup and measurements: >>> >>> - Did you establish a baseline with bare metal configuration? >>> >> How would I create baseline with with bare metal configuration for 1, 2, > 4 CPUs? With

Re: [osv-dev] Capstan

2019-03-27 Thread Pekka Enberg
Hello, On Thu, Mar 28, 2019 at 3:20 AM Waldek Kozaczuk wrote: > All, > > Please let me know if you think it is NOT a good idea to merge back > capstan repo back to cloudius-systems/capstan. Otherwise I propose we do so. > > I have never done such a merge on github. If anybody has any

Re: [osv-dev] OSv fully and officially supported on Firecracker !!!

2019-03-05 Thread Pekka Enberg
On Wed, Mar 6, 2019 at 6:24 AM Waldek Kozaczuk wrote: > With couple of last patches applied yesterday we finally made OSv properly > and fully run on Firecracker. This includes ability to run arbitrary images > (zfs, rofs or ramfs) with networking and SMP supported as well. > Nice work, Waldek!

Re: [osv-dev] Re: Unikernel performance review paper inquiry

2019-03-14 Thread Pekka Enberg
Hi, On Thu, Mar 14, 2019 at 5:11 AM Waldek Kozaczuk wrote: > I wonder if anyone has had chance to read this paper. I would like to see > what others think about reasons OSv thread scheduler does not scale well > with number of vCPUs. > I am not sure that the scheduler is to blame here. It is

Re: [osv-dev] [COMMIT osv master] elf: support PT_GNU_PROPERTY segment type

2019-03-08 Thread Pekka Enberg
On Fri, Mar 8, 2019 at 10:42 AM Commit Bot wrote: > From: Nadav Har'El > Committer: Nadav Har'El > Branch: master > > elf: support PT_GNU_PROPERTY segment type > > Recently, binutils added yet another segment type, called > "PT_GNU_PROPERTY": > >

Re: [osv-dev] Does OSv have its own scheduler?

2019-02-17 Thread Pekka Enberg
Hello, On Sun, Feb 17, 2019 at 11:45 PM Joe Duarte wrote: > Hi all -- Does OSv have its own scheduler, or does it rely on the Xen > scheduler? > > I guess this might be similar to asking if OSv has threads. I have no > idea. I'm not sure what being a unikernel is supposed to imply for threads.

Re: [osv-dev] Re: [RFC] Remaining work to support OSv on firecracker

2019-02-11 Thread Pekka Enberg
On Mon, Feb 11, 2019 at 10:54 AM Nadav Har'El wrote: > Maybe you can even add to run.py a firecracker hypersor options, so if > someone just installs this hypervisor he can use run.py? > That's a very good idea! - Pekka -- You received this message because you are subscribed to the Google

Re: [osv-dev] How to compose a vbox platform image with new capstan

2019-04-16 Thread Pekka Enberg
Hi, I don't think Capstan supports building VirtualBox images, but you can use the "qemu-img convert -O vdi" command to convert a QCOW2 (QEMU's format) image to a VirtualBox image. - Pekka On Tue, Apr 16, 2019 at 9:03 AM Roberto Battistoni wrote: > Hi guys! > > Any advice? Please I am very

Re: [osv-dev] Booting Bare Metal

2019-12-03 Thread Pekka Enberg
On Tue, Dec 3, 2019 at 5:31 PM Pekka Enberg wrote: > Hi Matthew, > > On Tue, Dec 3, 2019 at 2:42 PM Matthew Weekley > wrote: > >> Hello, >> >> Sorry, I should’ve been more specific! That is what I am doing. Would it >> be more help if I gave you the scrip

Re: [osv-dev] Booting Bare Metal

2019-12-03 Thread Pekka Enberg
Hi Matthew, On Tue, Dec 3, 2019 at 2:42 PM Matthew Weekley wrote: > Hello, > > Sorry, I should’ve been more specific! That is what I am doing. Would it > be more help if I gave you the script I am running and my grub.cfg...When I > reboot my system and pick that partition in BIOS, then it

Re: [osv-dev] Booting Bare Metal

2019-12-04 Thread Pekka Enberg
On Thu, Dec 5, 2019 at 6:56 AM Waldek Kozaczuk wrote: > PS. Do you see anything printed on the console? > Nope. I think I should have serial console enabled too to print to host stdout, but I honestly didn't spend any time debugging this. - Pekka -- You received this message because you are

Re: [osv-dev] [PATCH] Signed-off-by: BassMatt

2019-12-13 Thread Pekka Enberg
://github.com/cloudius-systems/osv/issues/1056 Looks good, thanks! Acked-by: Pekka Enberg I assume this is you: https://github.com/BassMatt Please fix the sign-off to be: Signed-off-by: Real Name as per contributions guide: https://github.com/cloudius-systems/osv/blob/master/CONTRIBUTIN

Re: [osv-dev] Projects for Students at the University of Texas in Austin

2019-10-24 Thread Pekka Enberg
Hi, On Thu, Oct 24, 2019 at 11:41 PM Jie Hao Liao wrote: > For whom may this concern, > > I'm Jay, one of the students at the University of Texas in Austin majoring > in Computer Science. This fall 2019 semester I'm taking a Virtualization > course for

Re: [osv-dev] CI Implementation/Contribution

2019-11-20 Thread Pekka Enberg
Hi Matthew, On Wed, Nov 20, 2019 at 7:29 AM Matthew Pabst wrote: > A couple of peers and I from the University of Texas at Austin are > interested in contributing to OSv, and we thought a good place to start > would be implementing some basic CI infrastructure ( >

Re: [osv-dev] Re: Capstan Build Fail and Fix

2019-11-26 Thread Pekka Enberg
Hi, On Mon, Nov 25, 2019 at 6:59 PM Waldek Kozaczuk wrote: > I am not golang expert either. Maybe others, original authors of capstan > on the list can chime in. I will look into myself. If there is a lot of > work we might just explicitly stick with v1. Either way, it would be good > to

Re: [osv-dev] Booting Bare Metal

2019-11-26 Thread Pekka Enberg
On Tue, Nov 26, 2019 at 4:50 PM Matthew Weekley wrote: > My current grub is > > menuentry “OSv” { > multiboot /boots/service/release.x64/vmlinuz.bin > ^^^ this needs to "linux", instead of "multiboot". > boot > } > > This returns “no multiboot header found. You need to load the kernel

Re: [osv-dev] Booting Bare Metal

2019-11-26 Thread Pekka Enberg
On Tue, Nov 26, 2019 at 3:30 PM wrote: > I just looked and I do not have any of those files anywhere on my system > (did the find command). > Aah, my tree was not up-to-date. Looks like Waldek removed Multiboot support: commit 2a34f9f2acb582b8351c3ca7cac0ac2ad18dfe2a Author: Waldemar Kozaczuk

Re: [osv-dev] Unikernels as highly isolated processes and an idea to implement limited fork/execve in OSv

2019-11-26 Thread Pekka Enberg
Hi Waldek, On Tue, Nov 26, 2019 at 12:44 AM Waldek Kozaczuk wrote: > Sometimes it might be more useful to think of unikernels as highly > isolated processes instead of microVMs with a specialised guest OS. See > Nabla processes - >

Re: [osv-dev] Booting Bare Metal

2019-11-26 Thread Pekka Enberg
On Tue, Nov 26, 2019 at 4:14 PM wrote: > I've never used vmlinuz to boot, but I see files that pertain to vmlinuz. > Any suggestions for how to boot bare metal using vmlinuz? Currently looking > for solutions now. Thanks! > Use GRUB, for example. See the previous links to "grub-mkrescue" how to

Re: [osv-dev] Re: [COMMIT osv-apps master] webassembly: add 3 WASM examples - lua, sqlite and nginx - to run on wasmer

2019-11-25 Thread Pekka Enberg
Hi, On Mon, Nov 25, 2019 at 6:41 PM Waldek Kozaczuk wrote: > I do not know exactly how wasmer works, but I think on the first run of a > given wasm file it transforms it into machine code and then stores in the > cache for the faster start next time. With ZFS images the 2nd time will be >

Re: [osv-dev] [PATCH] Manage Dependency with Go Modules and Update APIs to Latest

2019-12-09 Thread Pekka Enberg
n.md, use Go 1.11+ to build/manage Capstan on > Module Mode > > See [Go Modules Blogs](https://blog.golang.org/using-go-modules) to > learn more > > Signed-off-by: kayhaw > Waldek, I did not review the details, but the overall approach makes sense: Acked-by: Pekka Enberg -- You

Re: [osv-dev] [PATCH] Fix a file-path typo in the primary README

2019-12-10 Thread Pekka Enberg
On Tue, Dec 10, 2019 at 6:59 AM Mason Davis wrote: > The path is slightly incorrect and can cause issues if someone where to > copy and paste this code. > > Signed-off-by: Mason Davis > Reviewed-by: Pekka Enberg -- You received this message because you are subscribed to th

Re: [osv-dev] [PATCH] java: move balloon code out of kernel into java-base

2020-01-19 Thread Pekka Enberg
(Add osv-dev back to CC...) On Sun, Jan 19, 2020 at 11:16 PM Pekka Enberg wrote: > > On Sun, Jan 19, 2020 at 8:34 AM Waldemar Kozaczuk > wrote: > > > > The main motivation of this patch is to eliminate compile time > > dependencies in kernel on JDK headers. It ach

Re: [osv-dev] "Iso-UniK: lightweight multi-process unikernel through memory protection keys" based on OSv

2020-05-14 Thread Pekka Enberg
Hi Waldek, On Thu, May 14, 2020 at 6:04 PM Waldek Kozaczuk wrote: > https://link.springer.com/article/10.1186/s42400-020-00051-9 > The same approach of using Intel Memory Protection Keys (MPK) feature was also suggested in a SPMA'20 workshop paper "The Case for Intra-Unikernel Isolation" (

Re: [osv-dev] Integrating OpenJDK with OSv to make Java boot and run faster for FaaS

2020-03-19 Thread Pekka Enberg
On Thu, Mar 19, 2020 at 4:05 PM Pekka Enberg wrote: > > Hi, > > On Thu, Mar 19, 2020 at 3:30 PM Yuanqi Li wrote: > > Recently we've been looking for new directions. One of the ideas is to > > merge JVM and kernel together, so that kernel can expose more system >

Re: [osv-dev] Integrating OpenJDK with OSv to make Java boot and run faster for FaaS

2020-03-19 Thread Pekka Enberg
Hi, On Thu, Mar 19, 2020 at 3:30 PM Yuanqi Li wrote: > Recently we've been looking for new directions. One of the ideas is to merge > JVM and kernel together, so that kernel can expose more system information > (e.g., memory usage and layout, scheduling, network stack) to JVM. Some >

Re: [osv-dev] OSv boots and runs simple hello world on Firecracker ARM edition ... on Raspberry PI 4

2020-05-21 Thread Pekka Enberg
On Fri, May 22, 2020 at 12:26 AM Dor Laor wrote: > Kudos Waldek! > Indeed, nice work! - 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

Re: [osv-dev] [PATCH] aarch64: until MSI-X support becomes functional enable regular PCI interrupt

2020-07-03 Thread Pekka Enberg
-net waiting to receive PCI interrupt from > the hypervisor. > Acked-by: Pekka Enberg Please also open a ticket on osv.git on lack of MSI-X in the AArch64 port. -- You received this message because you are subscribed to the Google Groups "OSv Development" group. To unsubscr

Re: [osv-dev] Building customized kernel

2020-06-11 Thread Pekka Enberg
Hi Dor, On Thu, Jun 11, 2020 at 8:21 AM Dor Laor wrote: > Waldek, can you please describe what's your motivation in shrinking > the size of the kernel? Compared for example to modern RAM and also > to the JVM that many times will be there, the current size is already > 'small enough', isn't it?

Re: [osv-dev] Problems with socat

2020-07-23 Thread Pekka Enberg
Hi Rick, On Thu, Jul 23, 2020 at 4:34 AM Rick Payne wrote: > > Thanks, but the question was more 'why does the OSv socketpair() only > support SOCK_STREAM, and not SOCK_DGRAM?'. I guess there has to be a > reason why that decision was made. > I doubt there's any technical reason. We likely

Re: [osv-dev] Re: raw socket support ?

2020-07-15 Thread Pekka Enberg
Hi, On Wed, Jul 15, 2020 at 6:13 PM Waldek Kozaczuk wrote: > Hi, > > Unfortunately, I have no idea what it would take to add raw sockets > support. Please be aware that we maintain another IPV6 branch - > https://github.com/cloudius-systems/osv/tree/ipv6 - which besides IPV6 > might have better

Re: [osv-dev] [PATCH] Reject executables with non-matching machine type

2020-11-30 Thread Pekka Enberg
On Sun, Nov 29, 2020 at 11:22 AM Samuel Laberge wrote: > Whenever an ELF file is loaded, its machine identifier is now > compared to the kernel's. If they differ, the executable is > rejected. > > Fixes #1104 > > Signed-off-by: Samuel Laberge > Reviewed-by: Pekka

Re: [osv-dev] [PATCH] Reject executables with non-matching machine type

2020-12-01 Thread Pekka Enberg
Hi Samuel, On Mon, Nov 30, 2020 at 9:16 PM Samuel Laberge wrote: > I totally agree that would be simpler, I was just trying to match the > other conditionals around that one. But if it's better as != then I'd be > happy to change it! Up to you, really, but yeah "!=" is my preference. - Pekka

Re: [osv-dev] Looking to Get Started

2020-11-03 Thread Pekka Enberg
Hi Samuel, On Tue, Nov 3, 2020 at 2:27 AM Samuel Laberge wrote: > Hi all! > > I'm a CS student at the University of Texas at Austin and am really > interested in the OSv project. For one of my classes I need to contribute > to an open source project related to virtualization and I've been very

Re: [osv-dev] [PATCH] aarch64: mask interrupt and disable timer in the handler

2021-03-20 Thread Pekka Enberg
r the description > from the guide above, it is correct to mask the interrupt and/or disable > the timer in the timer interrupt handler. This is also what Linux does - > > https://github.com/torvalds/linux/blob/edd7ab76847442e299af64a761febd180d71f98d/drivers/clocksource/arm_arch_timer.c#

Re: [osv-dev] Contributing to osv.io

2021-02-17 Thread Pekka Enberg
Hi, On Fri, Feb 12, 2021 at 12:08 AM Matthew Kenigsberg < matthewkenigsb...@gmail.com> wrote: > Couldn't find that repo, I was looking in cloudius-systems 臘‍♂️ > Slightly off-topic: I think it would be good to (eventually) consolidate the Github organizations. Perhaps move "osv.git" (and

Re: [osv-dev] Contributing to osv.io

2021-02-17 Thread Pekka Enberg
Hi Waldek, On Thu, Feb 18, 2021 at 1:45 AM Waldek Kozaczuk wrote: > You mean osv from cloudious-systems to osv-io, or vice versa? Or create a > new organization? How easy is it to move the repos? Moving repositories is easy between organizations and Github preserves old URLs too. I would move