public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Portage metadata cache backend: sqlite or not?
@ 2014-08-12 18:10 Marc Joliet
  2014-08-12 20:48 ` [gentoo-user] " James
  2014-08-13  2:00 ` [gentoo-user] " Nilesh Govindrajan
  0 siblings, 2 replies; 5+ messages in thread
From: Marc Joliet @ 2014-08-12 18:10 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1788 bytes --]

Hi list

For the longest time I've had portage configured to use the sqlite metadata
cache backend as per an old HOWTO [0], however, I thought that it would be a
good idea to revisit that decision.

Now apparently, this was supposed to speed up portage, although even that
depends.  For instance, [0] says that the metadata_overlay backend is faster on
fast storage; since all of portage is on an SSD, that ought to be the case for
me. However, [0] is pretty outdated, so I don't really know, and don't have any
comparison.

In addition to that, I don't explicitly make use of the sqlite metadata cache,
that is, I don't (consciously) use any software that accesses those DBs, except
for eix (except for overlays, where one would need to run "emerge --regen"
first, which is *ssssslllllloooowwwww*), which can make use of them if
CACHE_METHOD is set appropriately; this speeds up eix-update considerably.

Does anybody here have experience with this, or a recommendation?  I tried
switching to the default cache method temporarily to see how things perform,
and "emerge @world -uDNva" slowed down by about 30 seconds, so preliminary
results point to sticking with sqlite (although it could at least partly be a
btrfs performance regression in Linux 3.15, since there have been several reports of
those, and several fixes slated for 3.16). Anyway, I'm also unsure of unintended
consequences, or other settings I might have to change, too.

Also, does anybody have any performance data and/or experience on using btrfs
with compression in this context?

[0] http://www.gentoo-wiki.info/TIP_speed_up_portage_with_sqlite

Greetings,
-- 
Marc Joliet
--
"People who think they know everything really annoy those of us who know we
don't" - Bjarne Stroustrup

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

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

end of thread, other threads:[~2015-06-12 16:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-12 18:10 [gentoo-user] Portage metadata cache backend: sqlite or not? Marc Joliet
2014-08-12 20:48 ` [gentoo-user] " James
2014-08-13  2:00 ` [gentoo-user] " Nilesh Govindrajan
2015-05-04 19:33   ` Marc Joliet
2015-06-12 16:06     ` [DONE] " Marc Joliet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox