Run multiple ostinato python script in parallel

70 views
Skip to first unread message

Howdoyouturnthison

unread,
Jun 8, 2016, 4:36:12 PM6/8/16
to ostinato
Hi guys,

I'm trying to model several network traffic profile running a lot of stream one after an other.
The problem is that when I try to run several script in parallel, ostinato don't manage to follow the bit rate I defined.
Is it possible to do so ? On start of every parallel script, the bit rate slow.
I would like to know if it's an ostinato issue or if it's some kind of hardware limitation.

Waiting for your answers,


Srivats P

unread,
Jun 10, 2016, 11:04:12 AM6/10/16
to Howdoyouturnthison, ostinato
Most likely the aggregate rate is more than the hardware capability.
Does a single stream with that rate work on the same hardware?

Also, I'm not really clear why you need different scripts to run in
parallel. Are all the scripts controlling the same drone?

Srivats
> --
> Get Ostinato News and Updates on Twitter - Follow @ostinato
> (http://twitter.com/ostinato)
> ---
> You received this message because you are subscribed to the Google Groups
> "ostinato" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ostinato+u...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--
http://ostinato.org/
@ostinato

Howdoyouturnthison

unread,
Jun 10, 2016, 12:12:37 PM6/10/16
to ostinato
I have 4 scripts that control 4 different drones. And yes, I manage to run a bit rate higher than the sum of all of them with a single one.
Actually I use mininet and run 4 drones on 4 different hosts, so in fact it's on the same physical machine. I tried on a better computer and it work better but still not properly

Howdoyouturnthison

unread,
Jun 13, 2016, 4:36:48 PM6/13/16
to ostinato
I ran a top to see what's happening with my drones process and i find out that, whatever you put on your stream, one drone will use 100% of assigned core. As I have a quad core process, I just can run 4 drone correctly, them ostinato reduce the bit rate.

Is that normal that a drone use a whole core even with a low bit rate?!

Srivats P

unread,
Jun 14, 2016, 10:47:56 AM6/14/16
to Howdoyouturnthison, ostinato
Reply all
Reply to author
Forward
0 new messages