----- "Aurelien Degremont" <[email protected]> wrote:

> R.I.Pienaar a écrit :
> 
> > I might be wrong, but at the moment we take a PSON encoded catelog
> from the master, decode it, then recode it into YAML and save it to
> disk?
> > 
> > I think I recall a ticket going past recently to get rid of that
> second recode to YAML and just save the original PSON catelog to disk
> as a cache, or am I remembering wrong?
> 
> Oh, I forgot something important.
> I ran my test using 'marshall' as format for the catalogs. This is the
> quickest for us.
> 
> preferred_serialization_format = marshal
> 
> So here, the time needed to write the catalog, on disk, using
> marshaling, is really slow.
> (BTW, I reproduced the problem on 2 different hardwares).

Did you look at your catalogs? Are they actually Marshal?

# puppetd --preferred_serialization_format=marshal --test
-rw-r----- 1 root root 717244 Jun 28 16:50 
/var/lib/puppet/client_yaml/catalog/nephilim.ml.org.yaml

# head -n1 /var/lib/puppet/client_yaml/catalog/nephilim.ml.org.yaml
--- &id001 !ruby/object:Puppet::Resource::Catalog

That's YAML.  Cos it does this crazy decode/recode dance as far as I know.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" 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-dev?hl=en.

Reply via email to