Hello,

I have run the ncf tests against this build, and found no regression related to iterations. However, some tests are broken because strings containing unexpandable variables are skipped. Is it a intended change of behavior in 3.10?

I did a quick comparison with 3.9b1 and found a speedup around 7% with this build, but the tests do not use a lot of nested iterations.

Alexis

On 05/20/2016 11:39 PM, Dimitrios Apostolou wrote:
Hello list,

As part of fixing CFE-2162 [1] I have rewritten the iteration engine of
CFEngine, i.e. the backend that makes sure promises are actuated over each
element of slists or containers.

[1] https://tracker.mender.io/browse/CFE-2162

The changes go deep inside the evaluator, and behavioural changes are
expected, like "cf_null" no longer being treated specially, and other
more subtle things! So I've prepared an Alpha build of my private branch
and all testing would be appreciated. You can find the builds at:

https://cfengine-package-repos.s3.amazonaws.com/experimental/CFE-2162/cfengine-community-3.10.0-0.a1.0.22.i386.rpm
https://cfengine-package-repos.s3.amazonaws.com/experimental/CFE-2162/cfengine-community-3.10.0-0.a1.0.22.x86_64.rpm
https://cfengine-package-repos.s3.amazonaws.com/experimental/CFE-2162/cfengine-community_3.10.0~a1~22_amd64.deb <https://cfengine-package-repos.s3.amazonaws.com/experimental/CFE-2162/cfengine-community_3.10.0%7Ea1%7E22_amd64.deb> https://cfengine-package-repos.s3.amazonaws.com/experimental/CFE-2162/cfengine-community_3.10.0~a1~22_i386.deb <https://cfengine-package-repos.s3.amazonaws.com/experimental/CFE-2162/cfengine-community_3.10.0%7Ea1%7E22_i386.deb>

Just remember that this is highly experimental code, in preliminary
stage, so take precautions and run your tests in a VM. And debug output
(-d) is way too dense at this point, you've been warned. :-) The main
reason I'm putting this out is to get feedback on compatibility with
your existing policy.

The big difference of this build should be much better performance in
policies with nested expansions of slists/containers.

All feedback is appreciated - positive or negative, on all aspects like
performance, correctness etc.


Thanks!
Dimitris


P.S. Sorry for hijacking help-cfengine mailing list, the only purpose is to catch as much attention as possible; Please respond only on dev-cfengine which is more relevant to the subject.
--
You received this message because you are subscribed to the Google Groups "dev-cfengine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>. To post to this group, send email to [email protected] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/dev-cfengine/CALSpUb2ae7hRuervDrxJae%3DtERob30jBNm%3D9DBsxmAoBcWLLVA%40mail.gmail.com <https://groups.google.com/d/msgid/dev-cfengine/CALSpUb2ae7hRuervDrxJae%3DtERob30jBNm%3D9DBsxmAoBcWLLVA%40mail.gmail.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 
"dev-cfengine" 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/dev-cfengine/623becdf-7d68-a208-f1e3-02e449956f28%40normation.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to