All of lore.kernel.org
 help / color / mirror / Atom feed
* pg_stat_t is 500+ bytes
@ 2016-08-23 18:13 Sage Weil
  2016-08-23 19:39 ` Mark Nelson
  2016-08-24  3:01 ` Haomai Wang
  0 siblings, 2 replies; 16+ messages in thread
From: Sage Weil @ 2016-08-23 18:13 UTC (permalink / raw)
  To: ceph-devel

This is huge.  It takes the pg_info_t str from 306 bytes to 847 bytes, and 
this _info omap key is rewritten on *every* IO.

We could shrink this down significant with varint and/or delta encoding 
since a huge portion of it is just a bunch of uint64_t counters.  This 
will probably cost some CPU time, but OTOH it'll also shrink our metadata 
down a fair bit too which will pay off later.

Anybody want to tackle this?
sage

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

end of thread, other threads:[~2016-08-29 13:28 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-23 18:13 pg_stat_t is 500+ bytes Sage Weil
2016-08-23 19:39 ` Mark Nelson
2016-08-24  3:01 ` Haomai Wang
2016-08-24  4:02   ` Haomai Wang
2016-08-24 16:09     ` Sage Weil
2016-08-24 16:12       ` Mark Nelson
2016-08-24 16:20         ` Piotr Dałek
2016-08-25 12:54           ` Haomai Wang
2016-08-25 12:56             ` Haomai Wang
2016-08-26  1:28               ` Somnath Roy
2016-08-26  3:04                 ` Mark Nelson
2016-08-26  3:11                   ` Mark Nelson
2016-08-26  5:36                     ` Mark Nelson
2016-08-29 13:27                       ` Mark Nelson
2016-08-27  0:00               ` Somnath Roy
2016-08-29 13:28                 ` Sage Weil

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.