Hi,
Let's try to answer the question.
Looking at the log:
07:43:28 agent starts
07:43:30 agent has finished pluginsync
07:43:33 master starts catalog compilation
07:44:48 master has finished compilation (it took 75.51 seconds which is
coherent)
07:49:28 agent starts applying the catalog
07:51:00 agent finishes the catalog run (it took 125.23 seconds)
Between those two traces, we have a time span of about 7 minutes 30s.
So everything looks normal:
compilation 75.51
catalog run 125.23
total 3 min 34 s
Then we have the almost 4 minutes hole between compilation is finished
and the agent starting to apply the catalog.
This is where the agent downloads the catalog, unserialize it to ruby
objects from pson, serialize it again to pson, and stores it to disk.
As I (and Peter) said numerous time, this part of the agent lifecycle is
one of the most time consuming. It should now be much better than when
it was serialized in yaml (can you check that your catalog are
serialized as pson on the agent?), but still we're doing an operation
that has no use just because the internal wiring doesn't allow us to
directly write what the agent receives from the catalog.
BTW, if you put the agent in debug mode, it should show how long it took
to serialize/dump the cached catalog. This way we could compare this
time with the total time and see if the time is spent on serialization,
unserialization, download, etc...
HTH,