Issue #1719 has been updated by Luke Kanies.

Ohad Levy wrote:
> one thing that I've noticed today, is that if i change the provider to rpm, 
> it cuts the time by half, e.g.
> if with provider => yum it would "Evaluated in 0.06 seconds" than with rpm it 
> does its "Evaluated in 0.02 seconds"
> is there another way besides lsof that I could try to see the open files etc 
> during runtime?

Was that maybe always the case?

AFAIK, yum is just wicked slow.

I doubt this is a case of open files; if yum is the problem, I'd expect instead 
it's a case of there just being an additional test or something like that in 
our yum support.  Have you compared the two versions to see what's changed for 
yum?
----------------------------------------
Bug #1719: Puppetd runtime increase dramaticilly after upgrading to 24.6
http://projects.reductivelabs.com/issues/1719

Author: Ohad Levy
Status: Re-opened
Priority: High
Assigned to: Luke Kanies
Category: 
Target version: unplanned
Complexity: Unknown
Affected version: 0.24.8
Keywords: 


Puppet runs which usually takes below 40 seconds now take approx 120seconds.

out of the puppetmaster reporting directory:
using 24.4:
<pre>
metrics:
  time: !ruby/object:Puppet::Util::Metric
    label: Time
    name: time
    values:
    - - :package
      - Package
      - 1.05623960494995
    - - :file
      - File
      - 10.6328134536743
    - - :config_retrieval
      - Config retrieval
      - 24.5795600414276
    - - :filebucket
      - Filebucket
      - 0.000156164169311523
    - - :schedule
      - Schedule
      - 0.00120806694030762
    - - :total
      - Total
      - 43.2172024250031
    - - :yumrepo
      - Yumrepo
      - 0.00425291061401367
    - - :user
      - User
      - 0.00153994560241699
    - - :exec
      - Exec
      - 1.66444134712219
    - - :service
      - Service
      - 5.27211761474609
    - - :mount
      - Mount
      - 0.00152111053466797
    - - :host
      - Host
      - 0.00335216522216797
</pre>

after - 24.6

<pre>
metrics:
  time: !ruby/object:Puppet::Util::Metric
    label: Time
    name: time
    values:
    - - :host
      - Host
      - 0.00355815887451172
    - - :file
      - File
      - 11.7336454391479
    - - :total
      - Total
      - 120.841092348099
    - - :user
      - User
      - 0.058845043182373
    - - :mount
      - Mount
      - 0.0456039905548096
    - - :service
      - Service
      - 5.9176561832428
    - - :filebucket
      - Filebucket
      - 0.000210046768188477
    - - :config_retrieval
      - Config retrieval
      - 24.3035020828247
    - - :yumrepo
      - Yumrepo
      - 0.00350379943847656
    - - :schedule
      - Schedule
      - 0.00127720832824707
    - - :exec
      - Exec
      - 3.01487517356873
    - - :package
      - Package
      - 75.758415222168

</pre>


Using debug and verbose mode (both on client and server) it looks like puppet 
just waits for something in between 
<pre>
debug: Calling fileserver.describe
</pre>
operations.
it does not seem to be related to any package command (e.g. rpm, or yum) and 
puppet does not install or change anything on that system (as all resources 
were in sync).

another thing that I've noticed in my debugging, is that the operation of file 
{ ensure => absent } takes on average 1-2 seconds.

downgrading back to 24.4 resolve the problem.



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://reductivelabs.com/redmine/my/account

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to