All of lore.kernel.org
 help / color / mirror / Atom feed
* Cache timings with various changes
@ 2022-11-23  0:07 Richard Purdie
  2022-11-23  4:33 ` [bitbake-devel] " Peter Kjellerstedt
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Purdie @ 2022-11-23  0:07 UTC (permalink / raw)
  To: bitbake-devel; +Cc: Joshua Watt

I've talked about changing the data we cache in various forums. These
are some actual numbers from a local system (88 core):

Patch                   Full reparse time    Cache load time    Cache size (compressed)     Cache size (uncompressed)
-----                   -----------------    ---------------    -----------------------     -------------------------
master baseline         5.732s               2.261s             N/A                         24M
frozenset changes       4.326s               2.289s             N/A                         24M
pickle in one           4.509s               2.177s             N/A                         24M
compress with zstd      6.040s               2.204s             3.4M                        24M
add hash data to cache  9.693s               4.327s             17M                         83M

It seems the frozenset improvements I have speed things up nicely and
look like a good change. The compression does slow things down, as does
pickling the cache in one go.

The patches are in poky-contrib rpurdie/t222. I'll post the frozenset
one, the others look like they need more thought.

Cheers,

Richard





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-11-23 12:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-23  0:07 Cache timings with various changes Richard Purdie
2022-11-23  4:33 ` [bitbake-devel] " Peter Kjellerstedt
2022-11-23 12:24   ` Richard Purdie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.