[osv-dev] [PATCH 3/3] httpserver: add monitoring API unit tests

2020-03-19 Thread Waldemar Kozaczuk
Signed-off-by: Waldemar Kozaczuk --- modules/httpserver-api/tests/basetest.py | 11 +++- .../tests/monitoring-api/testenv.py | 19 +++ .../tests/monitoring-api/testfile.py | 54 +++ .../tests/monitoring-api/testfs.py| 18 +++

[osv-dev] [PATCH 2/3] httpserver: add read-only monitoring module

2020-03-19 Thread Waldemar Kozaczuk
This patch adds new module httpserver-monitoring-api that provides read-only subset of the API intended for monitoring purposes only. The monitoring flavor of httpserver provides following routes: - /api - /env - /file - /fs - /hardware - /network - /os where each of the routes expose GET-only

[osv-dev] [PATCH 1/3] httpserver: allow compiling out features not needed for monitoring api

2020-03-19 Thread Waldemar Kozaczuk
This patch modifies httpserver-api source code to add pre-processor conditionals - "#if !defined(MONITORING)" - to disable fragments of code that are not needed for monitoring api. More specifically it disables all non-GET routes (with exception of trace API) and YAML file-based configuration. It

[osv-dev] [COMMIT osv master] httpserver: use openjdk8-from-host module in tests

2020-03-19 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master httpserver: use openjdk8-from-host module in tests Signed-off-by: Waldemar Kozaczuk --- diff --git a/modules/httpserver-api/Makefile b/modules/httpserver-api/Makefile --- a/modules/httpserver-api/Makefile +++

[osv-dev] [COMMIT osv master] virtio: extract common logic to map capability bar

2020-03-19 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master virtio: extract common logic to map capability bar Signed-off-by: Waldemar Kozaczuk --- diff --git a/drivers/virtio-pci-device.cc b/drivers/virtio-pci-device.cc --- a/drivers/virtio-pci-device.cc +++

[osv-dev] [COMMIT osv master] virtio: optimize number of exits when parsing capabilities

2020-03-19 Thread Commit Bot
From: Waldemar Kozaczuk Committer: Waldemar Kozaczuk Branch: master virtio: optimize number of exits when parsing capabilities Signed-off-by: Waldemar Kozaczuk --- diff --git a/drivers/pci-function.cc b/drivers/pci-function.cc --- a/drivers/pci-function.cc +++ b/drivers/pci-function.cc @@

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

2020-03-19 Thread Waldek Kozaczuk
One more thing: OSv provides pretty sophisticated tracing, profiling and debugging tools - if you want to start playing with it more: - https://github.com/cloudius-systems/osv/wiki/Debugging-OSv - https://github.com/cloudius-systems/osv/wiki/Trace-analysis-using-trace.py Waldek On

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

2020-03-19 Thread Waldek Kozaczuk
Hi, On Thursday, March 19, 2020 at 9:30:30 AM UTC-4, Yuanqi Li wrote: > > Hi all, > > We are a system research group from UCLA focusing on managed runtimes. We > have some experience in kernel/JVM codesign. In our last project we > modified Linux kernel to expose virtual memory subsystem to JVM

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

2020-03-19 Thread Nadav Har'El
On Thu, Mar 19, 2020 at 3:30 PM Yuanqi Li wrote: > Hi all, > > We are a system research group from UCLA focusing on managed runtimes. We > have some experience in kernel/JVM codesign. In our last project we > modified Linux kernel to expose virtual memory subsystem to JVM to improve > its GC

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 > > information (e.g., memory

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 >

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

2020-03-19 Thread Yuanqi Li
Hi all, We are a system research group from UCLA focusing on managed runtimes. We have some experience in kernel/JVM codesign. In our last project we modified Linux kernel to expose virtual memory subsystem to JVM to improve its GC performance under resource disaggregated datacenters. It will