public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Do you leave it on? USE="berkdb"
@ 2006-10-17  2:53 Grant
  2006-10-17 14:53 ` Brian Davis
  0 siblings, 1 reply; 6+ messages in thread
From: Grant @ 2006-10-17  2:53 UTC (permalink / raw
  To: Gentoo mailing list

Do you guys leave the berkdb USE flag on?  It seems to be a default
flag, but I've been using -berkdb in make.conf ever since I started
using Gentoo.  Is it basically a better way for lots of different
packages to manage their databases?

- Grant
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] Do you leave it on? USE="berkdb"
  2006-10-17  2:53 [gentoo-user] Do you leave it on? USE="berkdb" Grant
@ 2006-10-17 14:53 ` Brian Davis
  2006-10-22  3:21   ` Grant
  0 siblings, 1 reply; 6+ messages in thread
From: Brian Davis @ 2006-10-17 14:53 UTC (permalink / raw
  To: gentoo-user

I have mine off.  However, you should see which packages you have 
installed that would take advantage of it before you turn it off globally.

Grant wrote:
> Do you guys leave the berkdb USE flag on?  It seems to be a default
> flag, but I've been using -berkdb in make.conf ever since I started
> using Gentoo.  Is it basically a better way for lots of different
> packages to manage their databases?
>
> - Grant
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] Do you leave it on? USE="berkdb"
  2006-10-17 14:53 ` Brian Davis
@ 2006-10-22  3:21   ` Grant
  2006-10-22  9:55     ` kashani
  0 siblings, 1 reply; 6+ messages in thread
From: Grant @ 2006-10-22  3:21 UTC (permalink / raw
  To: gentoo-user

> I have mine off.  However, you should see which packages you have
> installed that would take advantage of it before you turn it off globally.
>
> Grant wrote:
> > Do you guys leave the berkdb USE flag on?  It seems to be a default
> > flag, but I've been using -berkdb in make.conf ever since I started
> > using Gentoo.  Is it basically a better way for lots of different
> > packages to manage their databases?
> >
> > - Grant

Does anyone else have a comment on this?  Does turning on berkdb
increase the performance of the applications that can utilize it, with
the downside of another package on the system?  How about gdbm?

- Grant
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] Do you leave it on? USE="berkdb"
  2006-10-22  3:21   ` Grant
@ 2006-10-22  9:55     ` kashani
  2006-10-22 15:14       ` Grant
  0 siblings, 1 reply; 6+ messages in thread
From: kashani @ 2006-10-22  9:55 UTC (permalink / raw
  To: gentoo-user

Grant wrote:
> Does anyone else have a comment on this?  Does turning on berkdb
> increase the performance of the applications that can utilize it, with
> the downside of another package on the system?  How about gdbm?

At one point berkdb and gdbm conflicted in cyrus-sasl and I think there 
were issues in PHP as well... this is roughly 2-3 years ago. I started 
turning berkdb off for most things and never noticed a difference. My 
understanding is that they do the same thing.

I'd say using neither is an issue. Apache will start, process config 
files, and then use berkdb or gdbm to create a hash of the vhosts for 
fast lookups. I'd assume Apache has some less efficient fallback code to 
hash configs or it would fail to build without one or the other.

kashani

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] Do you leave it on? USE="berkdb"
  2006-10-22  9:55     ` kashani
@ 2006-10-22 15:14       ` Grant
  2006-10-22 17:04         ` [gentoo-user] " Harm Geerts
  0 siblings, 1 reply; 6+ messages in thread
From: Grant @ 2006-10-22 15:14 UTC (permalink / raw
  To: gentoo-user

> > Does anyone else have a comment on this?  Does turning on berkdb
> > increase the performance of the applications that can utilize it, with
> > the downside of another package on the system?  How about gdbm?
>
> At one point berkdb and gdbm conflicted in cyrus-sasl and I think there
> were issues in PHP as well... this is roughly 2-3 years ago. I started
> turning berkdb off for most things and never noticed a difference. My
> understanding is that they do the same thing.
>
> I'd say using neither is an issue. Apache will start, process config
> files, and then use berkdb or gdbm to create a hash of the vhosts for
> fast lookups. I'd assume Apache has some less efficient fallback code to
> hash configs or it would fail to build without one or the other.

It sounds like I should have one or the other on.  I guess I'll go for
berkdb since it's a default and gdbm is not.

- Grant
-- 
gentoo-user@gentoo.org mailing list



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

* [gentoo-user] Re: Do you leave it on? USE="berkdb"
  2006-10-22 15:14       ` Grant
@ 2006-10-22 17:04         ` Harm Geerts
  0 siblings, 0 replies; 6+ messages in thread
From: Harm Geerts @ 2006-10-22 17:04 UTC (permalink / raw
  To: gentoo-user

On Sunday 22 October 2006 17:14, Grant wrote:
> > > Does anyone else have a comment on this?  Does turning on berkdb
> > > increase the performance of the applications that can utilize it, with
> > > the downside of another package on the system?  How about gdbm?
> >
> > At one point berkdb and gdbm conflicted in cyrus-sasl and I think there
> > were issues in PHP as well... this is roughly 2-3 years ago. I started
> > turning berkdb off for most things and never noticed a difference. My
> > understanding is that they do the same thing.
> >
> > I'd say using neither is an issue. Apache will start, process config
> > files, and then use berkdb or gdbm to create a hash of the vhosts for
> > fast lookups. I'd assume Apache has some less efficient fallback code to
> > hash configs or it would fail to build without one or the other.
>
> It sounds like I should have one or the other on.  I guess I'll go for
> berkdb since it's a default and gdbm is not.

In the amd64-2006+ and x86-2005.1+ profiles both berkdb and gdbm are on by 
default. This leaves the choice to the applications.
-- 
gentoo-user@gentoo.org mailing list



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

end of thread, other threads:[~2006-10-22 17:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-17  2:53 [gentoo-user] Do you leave it on? USE="berkdb" Grant
2006-10-17 14:53 ` Brian Davis
2006-10-22  3:21   ` Grant
2006-10-22  9:55     ` kashani
2006-10-22 15:14       ` Grant
2006-10-22 17:04         ` [gentoo-user] " Harm Geerts

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