[PATCH] Support building and running Java apps in non-isolated mode

2016-10-14 Thread Waldemar Kozaczuk
Added new java-non-isolated module and refactored scripts/module.py to provide isolated_jvm and non_isolated_jvm as a way to build and run java apps in isolated (old default) and non-isolated mode. The non-isolated mode gets enabled by module.py that detects if selected java module (provides

Re: [PATCH] Changed java-example to use java.so directly to start example Hello application

2016-10-14 Thread Waldek Kozaczuk
Tomasz, You can ignore this patch. I create new issue #800 and send corresponding patch that addresses the problem in a better way. I will be sending another patch that cleans the apps later. Waldek On Thursday, September 22, 2016 at 11:44:59 AM UTC-4, Tomasz Grabiec wrote: > > On Wed, Sep

Re: Guideline for MPTCP support in OSv

2016-10-14 Thread Benoît Canet
Hi Ganesh, This sound like a big project given that the OSv tcp stack is heavyly optimised. (Van-Jacobson) Maybe you should wait for Nadav the OSv maintainer to come back from vacation in two week and discuss that with him. Best regards Benoît On Fri, Oct 14, 2016 at 6:01 AM, GanesH AvacharE

Re: Trouble with /dev/urandom

2016-10-14 Thread Benoît Canet
In the code I don't understand on what the wakeup operate nor on what the blocking operate. randomdev_unblock(void) { if (!random_context.seeded) { #ifndef __OSV__ selwakeuppri(_context.rsel, PUSER); #endif wakeup(_context); random_context does not look

Re: Trouble with /dev/urandom

2016-10-14 Thread Benoît Canet
QEMU on ubuntu 16.04. benoit@alfred:~/osv$ cat /proc/sys/kernel/random/entropy_avail 58 Some go debugging interleaved. OSv v0.24-199-g733d26f 4 CPUs detected Firmware vendor: SeaBIOS bsd: initializing - done VFS: mounting ramfs at / VFS: mounting devfs at /dev net: initializing - done vga: Add

Re: Guideline for MPTCP support in OSv

2016-10-14 Thread Benoît Canet
Hello Ganesh, I think OSv implement this: https://lwn.net/Articles/169961/ Nadav's email is n...@scylladb.com. No idea right now. Best regards Benoît On Fri, Oct 14, 2016 at 4:13 PM, GanesH AvacharE < ganeshavachare...@gmail.com> wrote: > Hello Benoit, > > Thanks for your prompt reply. > >

Re: Guideline for MPTCP support in OSv

2016-10-14 Thread GanesH AvacharE
Hello Benoit, It's really awesome thing and level of awesomeness is same as MPTCP. I understood the concept ;but I never made my hand dirty on kernel code. I am not able to analyse how to start and amount time it will take. I think I have to add some sort of data structure like circular buffer

Re: Guideline for MPTCP support in OSv

2016-10-14 Thread GanesH AvacharE
Hello Benoit, Thanks for your prompt reply. I will wait for Nadav. Can you provide me the email of Van-Jacobson and Nadav the maintainer of OSv? As you mentioned it is big project. Is there any another project which I can take it as final year B.Tech project and which can be finished within 4-5

Re: Trouble with /dev/urandom

2016-10-14 Thread Tomasz Grabiec
On Fri, Oct 14, 2016 at 4:14 PM, Benoît Canet wrote: > > QEMU on ubuntu 16.04. > > benoit@alfred:~/osv$ cat /proc/sys/kernel/random/entropy_avail > > 58 > > That's not a lot. Try watching it during your test. > Some go debugging interleaved. > > OSv

Re: Trouble with /dev/urandom

2016-10-14 Thread Benoît Canet
Thanks I will dig this. On Fri, Oct 14, 2016 at 4:29 PM, Tomasz Grabiec wrote: > > > On Fri, Oct 14, 2016 at 4:14 PM, Benoît Canet > wrote: > >> >> QEMU on ubuntu 16.04. >> >> benoit@alfred:~/osv$ cat /proc/sys/kernel/random/entropy_avail >>

Trouble with /dev/urandom

2016-10-14 Thread Benoît Canet
Hello list, In the process of porting go to OSv I noticed that the Go runtime initialization stall half the time waiting in a read for /dev/urandom. The message OSv output is "random: blocking on read.". It then sometime proceeed to unblock itself a couple dozen of seconds later. Does it ring