Re: [osv-dev] Re: Memory problem with Java multithreading application in OSv

2019-05-28 Thread robertob
gt; Now I am not 100% if OSv mmaps or mallocs stack in Java case (I think the > former). If I am wrong than and the latter is the case then all stacks are > committed in memory. But who knows how exactly JVM allocates memory in this > case. > > Some extra article I found u

Re: [osv-dev] Re: Memory problem with Java multithreading application in OSv

2019-05-26 Thread robertob
Sorry, I am halted on this problem. Any Idea? Il giorno giovedì 23 maggio 2019 08:15:03 UTC+2, robertob ha scritto: > > Hi guys, > > I've also tried on the Fedora 30 linux to execute the Java app with 400 > threads and I must confirm that the machine memory does not go over 7

Re: [osv-dev] Re: Memory problem with Java multithreading application in OSv

2019-05-23 Thread robertob
an idea of what has been mmap'ed. > > On Monday, May 20, 2019 at 12:09:49 PM UTC-4, Nadav Har'El wrote: >> >> >> On Mon, May 20, 2019 at 5:35 PM Waldek Kozaczuk >> wrote: >> >>> >>> >>> On Sunday, May 19, 2019 at 12:19:59 PM UTC-4,

Re: [osv-dev] Re: Memory problem with Java multithreading application in OSv

2019-05-20 Thread robertob
Il giorno lunedì 20 maggio 2019 18:09:49 UTC+2, Nadav Har'El ha scritto: > > > On Mon, May 20, 2019 at 5:35 PM Waldek Kozaczuk > wrote: > >> >> >> On Sunday, May 19, 2019 at 12:19:59 PM UTC-4, robertob wrote: >>> >>> Hi everybody, >>&

[osv-dev] Re: Memory problem with Java multithreading application in OSv

2019-05-20 Thread robertob
the OSv image when executed. Il giorno lunedì 20 maggio 2019 16:35:10 UTC+2, Waldek Kozaczuk ha scritto: > > > > On Sunday, May 19, 2019 at 12:19:59 PM UTC-4, robertob wrote: >> >> Hi everybody, >> >> I have built an OSv image that run with QEMU and KVM accel

[osv-dev] Memory problem with Java multithreading application in OSv

2019-05-19 Thread robertob
Hi everybody, I have built an OSv image that run with QEMU and KVM acceleration. It executes a mine Java multi threading application. This is the command line I execute: capstan run unikure -n "bridge" -c 2 -m 4500M -e "--ip=eth0,192.168.122.101,255.255.255.0 --defaultgw=192.168.122.1

[osv-dev] Re: Setting the ZFS partition failed for...

2019-05-08 Thread robertob
f QEMU is on your system? > > If that is the case we need to do similar change in capstan. I might be > able to do it and cut new release of it soon. > > Waldek > > On Tuesday, May 7, 2019 at 8:53:59 AM UTC-4, robertob wrote: >> >> Sorry but something happened when update Fed

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

2019-05-07 Thread robertob
bcaefba554a36209/hypervisor/qemu/qemu.go#L419) > > to see if it returns no error > > I betting the last check one is somehow failing. Just execute kvm-ok in > command line using same user you are using to run capstan and see what it > shows. > > Waldek > > On Satu

[osv-dev] Setting the ZFS partition failed for...

2019-05-07 Thread robertob
Sorry but something happened when update Fedora distro from 29 to 30 version and now when I build the image I get this error: # capstan package compose uni Setting the ZFS partition failed for /tmp/capstan924335984/application.img Failed to find an available port: Address already in use Failed

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

2019-05-04 Thread robertob
I'm still stuck on this problem. KVM works well on the machine but the capstan runs the qemu without "-enable-kvm". Is there a way to force this parameter in capstan run? Il giorno venerdì 19 aprile 2019 12:25:48 UTC+2, robertob ha scritto: > > KVM is installed and working

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

2019-04-16 Thread robertob
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 close to conclude my experimentations but >

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

2019-04-14 Thread robertob
I made package.yaml that correctly run with default QEMU platform, but now I do not understand how to build image for virtualbox platform. When I build the image (capstan package compose uni) I see every time that the QEMU image was created. I tried this package.yaml file with "platform: vbox"

[osv-dev] Re: Problems to pass arguments to a JAR in run.yaml

2019-03-25 Thread robertob
ine to run the image: " capstan run uni -n "bridge" -f "8000:8000" -e "--ip=eth0,10.0.0.100,255.255.255.0 --defaultgw=10.0.0.1 --nameserver=10.0.0.1 /java.so -jar uni.jar --options ..." Do I have to start the httpserver in any way? thanks for the patience r Il giorno l

[osv-dev] Re: Problems to pass arguments to a JAR in run.yaml

2019-03-25 Thread robertob
9 at 2:47:36 AM UTC-4, robertob wrote: >> >> Thank you so much. >> >> I did all you wrote but I get these lines: >> >> OSv v0.24-472-gf240a59 >> eth0: 192.168.122.15 >> /java.so: failed looking up symbol _ZTINSt6thread6_StateE (typeinfo for >>

[osv-dev] Re: Problems to pass arguments to a JAR in run.yaml

2019-03-24 Thread robertob
va on OSv! > Arg: -lsim > Arg: -nTc > Arg: 10 > Arg: -sp > Arg: 5 > Arg: -kp > Arg: ./keystore > Arg: -tf > Arg: ./config/topology.prop.xml > Arg: -tIp > Arg: 127.0.0.1 > Arg: -d > Arg: 60 > Arg: -td > Arg: ./traces/ > Arg: -cfg

Re: [osv-dev] Get logs inside a Unikernel instance

2019-03-11 Thread robertob
Any advice? regards Il giorno venerdì 8 marzo 2019 14:53:45 UTC+1, robertob ha scritto: > > The problem is that the two instances run on a separate network and I do > not understand how to reach them from the outside... > > The startup command is this: > > first ins

[osv-dev] Get logs inside a Unikernel instance

2019-03-07 Thread robertob
I have two instances of a my Unikernel image. This image is built on top of a Cloudious JDK8 image and run a small simulator written in Java. The instances see each other through a different network and bridge configuration. So we use "-n bridge" and set the --e parameter with 10.0.0.x IPs

Re: [osv-dev] Re: Run capstan with bridge conf: can I set static IP?

2019-03-02 Thread robertob
s://github.com/cloudius-systems/capstan so we can clearly say there > that this old capstan is no longer maintained and redirect to > https://github.com/mikelangelo-project/capstan. I am aware of many people > using old one and not even aware that the new one exists. > > Thanks in advan

[osv-dev] Run capstan with bridge conf: can I set static IP?

2019-02-23 Thread robertob
I need to run a capstan image on two machines with differente static IPs which allow to talk each other. I tried using "-n 'bridge'" option to capstan run but there isn't any configuration to set a static IP, so every time I get a different IP. I'm not so expert with OSv, please give me some