Hi Josh, I will test it today and tell you what I observe.
Regarding performances: - the increase in CPU consumption is hard to quantify precisely. I can only tell the load average changed from ~0.30-0.60 to ~1.00-1.50 with regular peaks up to 2.50. Nagios even reported 15.0 a couple of times in the past 2 days. - it uses a lot more memory. Before my memory consumption was constantly around 60% of 3GB, now it oscillates around 90% and my master swaps a lot. Nagios gets quite crazy about it. To be continued... On Wednesday, May 7, 2014 5:59:48 PM UTC+2, Josh Partlow wrote: > > On Wed, May 7, 2014 at 6:24 AM, Antoine Cotten > <[email protected]<javascript:> > > wrote: > >> Thanks Josh, >> >> This seems to work better indeed, although I can still observe a decrease >> in performances. The config retrieval time is higher than with config-based >> environments (9 sec -> 26 sec on average), and CPU-wise I can also notice >> an increase but this is hard to quantify without prolonged monitoring, I'll >> let it run for 24 extra hours before giving any conclusion. But, well, >> nothing compared to v3.5.1 fortunately, so I believe this RC1 is promising! >> >> Feel free to ask if you need any data or extra feedback from me. >> > > Thanks for testing this, Antoine! There is a time to live setting for the > new environment cache which defaults to 5 seconds. It's > 'environment_timeout' and you can set it in your puppet.conf, or per > directory environment in it's environment.conf. I'm curious what, if any, > change you see setting it to say '30s', and what change if you set it > 'unlimited'. > > Would you have time to test that? > > thanks, > Josh > > >> -- >> Toni >> >> >> >> >> On Tuesday, May 6, 2014 10:55:24 PM UTC+2, Josh Partlow wrote: >>> >>> Hi Antoine, >>> >>> There is a Puppet 3.6.0-rc1 available in the pre-release repos which has >>> environment cacheing that we think will take care of the slowdown you are >>> seeing with directory environments. Would you be able to test that? (See >>> Eric's 3.6.0-rc1 announcement for details on obtaining the packages) >>> >>> thanks, >>> Josh >>> >>> On Tuesday, April 22, 2014 11:26:47 AM UTC-7, Eric Sorenson wrote: >>>> >>>> >>>> >>>> On Tuesday, April 22, 2014 5:25:55 AM UTC-7, Antoine Cotten wrote: >>>>> >>>>> Hi Eric, >>>>> thank you for pointing me to this feature, and sorry for the answer >>>>> time. >>>>> >>>>> I managed to outline the problematic parts in the Puppet run: the >>>>> final POST method takes forever when Directory Environments is enabled >>>>> (1) >>>>> and the catalog compilation is overall much slower (1.3./4|5|6/) >>>>> >>>>> I triggered a run on the same node, with and without the feature >>>>> enabled. Here are the corresponding profiling logs: >>>>> >>>>> >>>> Thanks, this is great information. >>>> >>>> The reason the POST looks slow is because it's an aggregate of all the >>>> steps that came before it, as you see the profile step numbers pop out a >>>> level, that line aggregates the times of everything inside it. So the >>>> POST >>>> is the aggregate of all the steps to compilation. >>>> >>>> I am looking at this more closely and I have opened https://tickets. >>>> puppetlabs.com/browse/PUP-2337 to track it. >>>> >>>> --eric0 >>>> >>> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "Puppet Users" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/puppet-users/wzy8NPWauu4/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/puppet-users/0008dd5d-fab6-4d01-b206-6a1994236b42%40googlegroups.com<https://groups.google.com/d/msgid/puppet-users/0008dd5d-fab6-4d01-b206-6a1994236b42%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Josh Partlow > [email protected] <javascript:> > Developer, Puppet Labs > > Join us at PuppetConf 2014, September 22-24 in San Francisco - > http://puppetconf.com > Register by May 30th to take advantage of the Early Adopter discount —save > $349! > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/b1120ecb-2158-4391-8bda-34f6c2cfac51%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
