Hi Igor, While 2.2 is quite a bit faster than 2.0/2.1, it does still lag a bit behind 1.9. Mainly this slowness is due to the way we've changed how workers are created, which in 2.0+ allows us to have strategies but does come with a hit to performance. We'll still look at ways of improving things in the future, so any analysis/debugging of performance problems is always appreciated.
Thanks! James Cammarata Ansible Lead/Sr. Principal Software Engineer Ansible by Red Hat twitter: @thejimic, github: jimi-c On Tue, Nov 1, 2016 at 7:08 PM, Igor Cicimov <[email protected] > wrote: > Hi James, > > Although the performance improvements are welcomed, I wonder how does this > stack compared to 1.9.x version? > > There have been discussions here, more specific https://groups.google.com/ > forum/#!starred/ansible-devel/UU0Tpw-qlhY, and couple of issues raised > and outlined in your post here https://groups.google.com/ > forum/#!starred/ansible-devel/TLEc1NoQ7lA, that revel a serious problem > in the very core of 2.x release. Has this been addressed in 2.2.0 and if > yes how close is the 2.2 performance to the old 1.9.x branch? > > Thanks, > Igor > > > On Wednesday, November 2, 2016 at 12:55:28 AM UTC+11, James Cammarata > wrote: >> >> Hi all, we're very happy to announce that Ansible 2.2.0 has been released! >> >> This release includes many new features and improvements (from the RC1 >> release announcement): >> >> * Almost 200 new modules! >> * Major performance improvements. In many cases, you should see a 2-3x >> improvement over 2.1/2.0. >> * `include_role` now allows for roles to be executed inline with your >> other tasks, instead of listing them only in the `roles:` section of your >> plays (http://docs.ansible.com/ansible/include_role_module.html) >> * The `listen` feature for handlers allows for much easier notifications >> of multiple handlers via a pub/sub mechanism ( >> http://docs.ansible.com/ansible/playbooks_intro.html#handle >> rs-running-operations-on-change). >> * Serial batches can now be specified as a list rather than a single >> integer value, meaning you can do something like this to scale up serial >> batches: >> `serial: [1, 5, 10]` # the first batch will be 1 host, 2nd=5 hosts, all >> other batches will be 10 hosts) >> * Windows tasks can now use "async", and can also now use the >> "environment" option to set environment variables. >> * Support for binary modules. >> * New become method: `ksu` (Kerberos su). >> * New meta option: `end_play`, which allows for early termination of a >> play without failing. >> * Meta tasks now support conditional statements. >> >> Here is the official announcement on our website: >> >> https://www.ansible.com/press/ansible-22-delivers-new-automa >> tion-capabilities-for-containers-networks-and-cloud >> >> As always, this update is available via PyPi and releases.ansible.com >> now, and packages for distros will be available as soon as possible. >> >> Thanks and enjoy! >> >> James Cammarata >> >> Ansible Lead/Sr. Principal Software Engineer >> Ansible by Red Hat >> twitter: @thejimic, github: jimi-c >> > -- > You received this message because you are subscribed to the Google Groups > "Ansible Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/ansible-project/ee7e7988-436a-4e6f-a13f-fcdb2f8d4301%40googlegroups. > com > <https://groups.google.com/d/msgid/ansible-project/ee7e7988-436a-4e6f-a13f-fcdb2f8d4301%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAMFyvFiuyWq9Ttwgssnz3HF95RmwrTj5iTBbsXNQvmzDAbXTbA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
