From: Jason Stubbs <jstubbs@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Re: 2004.2 Feature Requests
Date: Sun, 2 May 2004 19:04:16 +0900 [thread overview]
Message-ID: <200405021904.20160.jstubbs@gentoo.org> (raw)
In-Reply-To: <20040502034034.GA26131@cerberus.oppresses.us>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sunday 02 May 2004 12:40, Jon Portnoy wrote:
> On Sat, May 01, 2004 at 01:46:00PM -0400, Jerry McBride wrote:
> > Move away from the filesystem database that portage currently uses to
> > something with a bit more perfomance... mysql, sqlite even postgres... An
> > SQL backend interface would be WONDERFUL.
> >
> > Port portage to c or c++. Python sucks in the performance department...
> > If not port to c then atleast start using psyco for a small perf boost...
> > Rebuilding the cache (reading files) after a sync is... terrible... What
> > a kludge...
>
> The performance issues are db-related, nothing at all to do with Python.
The performance issues are partially db-related, but the biggest "problem" is
having to call bash. The current caching in portage is still stored in a
file-based "database". The difference in access times of the portage database
and the cache is that the cache files have a set format.
Dropping the cache "kludge" and reading directly from the portage database
(whether flat-file or sql or whatever) would require huge changes in the
structure of ebuilds themselves. At minimum, it would require no usage of
bash in the global section. This is something that will need a *lot* of work.
Regards,
Jason Stubbs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iQCVAwUBQJTHo1oikN4/5jfsAQJw0gP/Q4d+A8x2iXPPwheO8j5g06ppAWQMGMB3
US1KqkK3ECp0Gjq1aSCMkEycadcbgByO0GE+boKciLSKf2Fqvceit4XTTsL3cco5
ZO+YaTObO/ihfNYuNw/q58cvYpfjYyk+IgJ0LEnxL+rrtfmq3e5fQ2brRT32B8dj
ICxTHxJ/Np4=
=Km24
-----END PGP SIGNATURE-----
--
gentoo-dev@gentoo.org mailing list
next prev parent reply other threads:[~2004-05-02 10:06 UTC|newest]
Thread overview: 67+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-30 3:42 [gentoo-dev] 2004.2 Feature Requests John Davis
2004-04-30 6:03 ` Joshua Brindle
2004-04-30 7:25 ` Kurt Lieber
2004-04-30 16:37 ` Pieter Van den Abeele
2004-05-02 17:01 ` Donnie Berkholz
2004-05-02 19:34 ` Pieter Van den Abeele
2004-05-02 19:50 ` Nathaniel McCallum
2004-05-02 20:02 ` Paul de Vrieze
2004-04-30 13:39 ` Eric Sammer
2004-05-04 5:23 ` Jason Huebel
2004-05-04 9:04 ` Bjoern Michaelsen
2004-05-04 12:31 ` Troy Dack
2004-05-04 12:35 ` Allen D Parker
2004-05-04 14:31 ` Jason Huebel
2004-05-04 17:00 ` david
2004-05-04 17:21 ` Georgi Georgiev
2004-05-04 22:28 ` Josh Grebe
2004-05-04 22:44 ` Georgi Georgiev
2004-05-08 4:00 ` John Davis
2004-04-30 6:16 ` Kumba
2004-04-30 7:22 ` Joshua Brindle
2004-04-30 7:43 ` Kumba
2004-04-30 7:56 ` Sven Vermeulen
2004-04-30 7:25 ` Sven Vermeulen
2004-04-30 7:48 ` Kumba
2004-04-30 16:44 ` Pieter Van den Abeele
2004-04-30 16:33 ` Pieter Van den Abeele
2004-04-30 7:05 ` Stuart Herbert
2004-04-30 16:18 ` [gentoo-dev] " Johannes Segitz
2004-04-30 17:37 ` [gentoo-dev] " Marius Mauch
2004-04-30 18:15 ` Lars Strojny
2004-05-01 12:23 ` Sven Vermeulen
2004-04-30 22:51 ` N. Owen Gunden
2004-04-30 23:07 ` Jon Portnoy
2004-04-30 23:21 ` N. Owen Gunden
2004-04-30 23:29 ` Jon Portnoy
2004-04-30 23:47 ` Stuart Herbert
2004-05-01 2:16 ` Dan Podeanu
2004-05-01 19:10 ` Chris Gianelloni
2004-05-01 22:21 ` Greg KH
2004-05-01 17:46 ` [gentoo-dev] " Jerry McBride
2004-04-30 17:54 ` [gentoo-dev] " Lisa Seelye
2004-04-30 19:01 ` John Davis
2004-04-30 20:23 ` [gentoo-dev] Key policy for GPG verification [was: 2004.2 Feature Requests] Marius Mauch
2004-05-01 11:09 ` Chris Bainbridge
2004-04-30 23:50 ` [gentoo-dev] 2004.2 Feature Requests Spider
2004-05-01 11:50 ` Heinrich Wendel
2004-05-01 17:46 ` [gentoo-dev] " Jerry McBride
2004-05-02 3:40 ` Jon Portnoy
2004-05-02 10:04 ` Jason Stubbs [this message]
2004-05-02 17:00 ` Jason Wever
2004-05-02 3:48 ` Grant Goodyear
2004-05-02 9:55 ` Paul de Vrieze
2004-05-03 4:48 ` John Nilsson
2004-05-03 6:39 ` Brian Friday
2004-05-03 7:56 ` Paul de Vrieze
2004-05-11 7:51 ` [gentoo-dev] still missing local use flags Michael Sterrett -Mr. Bones.-
2004-05-01 23:41 ` [gentoo-dev] 2004.2 Feature Requests Jason Stubbs
2004-05-03 11:05 ` Josh Glover
2004-05-03 11:10 ` Peter Ruskin
2004-05-06 12:34 ` [gentoo-dev] " Duncan
2004-05-07 3:33 ` [gentoo-dev] " Olivier Fisette
2004-05-07 19:42 ` Stuart Herbert
2004-05-07 4:26 ` Nick Rout
2004-05-07 6:57 ` Christian Parpart
2004-05-07 15:26 ` Donnie Berkholz
2004-05-07 15:15 ` Chris Bainbridge
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200405021904.20160.jstubbs@gentoo.org \
--to=jstubbs@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox