Re: [PLUG] I have an Ansible joke...

2016-09-01 Thread Tim
> Because I am doing much operating systems work at the shell, this may be > "most of what I do". :( Note that often lua is chosen in close-to-the-OS > situations. I'm really not sure *why* there's such a performance hit in some libraries, and it probably varies from one library to the next. Obv

Re: [PLUG] I have an Ansible joke...

2016-08-31 Thread Michael Dexter
On 8/31/16 5:03 PM, Tim wrote: > Python tends to be *very* fast. > > Right up until you try to interact with a C/C++ library. Interesting. I was briefly thinking that this would be the solution to many performance issues: Start feeding responsibilities over to components in C/C++. > Basically,

Re: [PLUG] I have an Ansible joke...

2016-08-31 Thread Tim
> Useful was never the question. Perfomant, your mileage may vary. Python tends to be *very* fast. Right up until you try to interact with a C/C++ library. Basically, any time Python executes native libraries (e.g. sqlite, libssl, whatever) to do something, there's a big performance hit on t

Re: [PLUG] I have an Ansible joke...

2016-08-31 Thread Michael Dexter
On 8/31/16 11:44 AM, Seth Alford wrote: > Please don't conflate Python and Ansible. I've found Python to be quite > useful. I have had problems with Ansible, however. Useful was never the question. Perfomant, your mileage may vary. I am working with project where everyone is love with Python, r

Re: [PLUG] I have an Ansible joke...

2016-08-31 Thread Seth Alford
Please don't conflate Python and Ansible. I've found Python to be quite useful. I have had problems with Ansible, however. --Seth ___ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug

Re: [PLUG] I have an Ansible joke...

2016-08-31 Thread Tom
I suspect that here maybe something fishy on your side somewhere ... Did you try: -v, --verbose --> verbose mode (-vvv for more, - to enable connection debugging) On x250 laptop: $ time -p ansible localhost -m shell -a 'echo helloworld' localhost | success | rc=0 >> helloworld real 0.24 user

Re: [PLUG] I have an Ansible joke...

2016-08-31 Thread Robert Citek
For comparison on a small Digital Ocean instance (512MB): $ time -p ansible localhost -m shell -a 'echo helloworld' localhost | SUCCESS | rc=0 >> helloworld real 0.62 user 0.45 sys 0.16 $ ansible --version ansible 2.1.0.0 config file = /etc/ansible/ansible.cfg configured module search path =

[PLUG] I have an Ansible joke...

2016-08-30 Thread Michael Dexter
(just keeps waiting) So, I tried Ansible and found that, quite remarkably, it can run "echo hello world" on localhost in between 8 and 10 seconds, spiking my disk at 60% load: /usr/bin/time -h ansible localhost -m shell -a 'echo helloworld' 8.09s real... Seriously? Anyone else been burned b