Re: Guideline for MPTCP support in OSv

2016-10-14 Thread Waldek Kozaczuk
Ganesh, I am not a core OSv developer but if you are looking for something to contribute I think that adding support to run OSv on Microsoft Azure (Hyper-V) would be very beneficial and possibly doable in 4-5 months. The statement of problem per Google Summer of Code (https://github.com/cloudi

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 21,

[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: Trouble with /dev/urandom

2016-10-14 Thread Raphael Carvalho
On Fri, Oct 14, 2016 at 11:59 AM, Tomasz Grabiec wrote: > > > On Fri, Oct 14, 2016 at 4:56 PM, Raphael Carvalho > wrote: > >> >> >> On Fri, Oct 14, 2016 at 10:39 AM, Benoît Canet < >> ben...@cloudius-systems.com> wrote: >> >>> >>> Hello list, >>> >>> In the process of porting go to OSv I noticed

Re: Trouble with /dev/urandom

2016-10-14 Thread Tomasz Grabiec
On Fri, Oct 14, 2016 at 5:00 PM, Benoît Canet wrote: > > Thomasz: does the wakeup() on something that does not look like a wait > queue or wait condition > make sense to you ? > This is wakup() from bsd/orting/synch.cc. The API allows using arbitrary pointers to identify synchronization ports.

Re: Trouble with /dev/urandom

2016-10-14 Thread Benoît Canet
Thomasz: does the wakeup() on something that does not look like a wait queue or wait condition make sense to you ? On Fri, Oct 14, 2016 at 4:59 PM, Tomasz Grabiec wrote: > > > On Fri, Oct 14, 2016 at 4:56 PM, Raphael Carvalho > wrote: > >> >> >> On Fri, Oct 14, 2016 at 10:39 AM, Benoît Canet <

Re: Trouble with /dev/urandom

2016-10-14 Thread Tomasz Grabiec
On Fri, Oct 14, 2016 at 4:56 PM, Raphael Carvalho wrote: > > > On Fri, Oct 14, 2016 at 10:39 AM, Benoît Canet < > ben...@cloudius-systems.com> wrote: > >> >> 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

Re: Trouble with /dev/urandom

2016-10-14 Thread Raphael Carvalho
On Fri, Oct 14, 2016 at 10:39 AM, Benoît Canet wrote: > > 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 proc

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. Thanks! On Friday 14 October 2016, Benoît Canet wrote: > > For OSv kernel code it's just regular C++. It's much less disturbing than > Linux kernel code. > > No idea the tcp stack already look very complicated to me and I do

Re: Guideline for MPTCP support in OSv

2016-10-14 Thread Benoît Canet
For OSv kernel code it's just regular C++. It's much less disturbing than Linux kernel code. No idea the tcp stack already look very complicated to me and I don't feel I would be a good guide. Better wait for Nadav. Best regards Benoît On Fri, Oct 14, 2016 at 4:38 PM, GanesH AvacharE < ganesh

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: 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 >> >> 58 >> >> > That's not a lot. Try watching it duri

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 v0.24-199-g733d26f > 4 CPUs detected > Firmw

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(&random_context.rsel, PUSER); #endif wakeup(&random_context); random_context do

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. > > I

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
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 V

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 3:39 PM, Benoît Canet wrote: > > 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 proce

Data Warehouse with Teradata Certified@Charlotte, NC

2016-10-14 Thread santosh kumar
Hi, Hope you doing Well !!! Here is our Implementing partner Requirement, Please go through the below requirement and send us suitable consultant with their updated resume, rates and Contact details .. *Role: **Data Warehouse with Teradata Certified* *Location: **Charlotte, NC* *Work Duratio

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 a