in reply to Re: BerkeleyDB vs. Linux file system
in thread BerkeleyDB vs. Linux file system

Actually, I did try db_get and db_put. There was no significant difference. It does not affect the results.
  • Comment on Re: Re: BerkeleyDB vs. Linux file system

Replies are listed 'Best First'.
Re^3: BerkeleyDB vs. Linux file system
by diotalevi (Canon) on Mar 18, 2003 at 17:24 UTC

    I see a difference between FETCH/STORE and db_put/db_get. All this confirms for me is that BerkeleyDB is fast enough. I'm just glad it competes nicely with the file system (which as you said has all sorts of in-kernel advantages). My own system is OpenBSD 3.2 using the GENERIC kernel on a 233 MMX pentium using ATA-100 discs in "PIO mode 4, Ultra-DMA mode 5" (whatever that means).

      I didn't say there was no difference, only that it wasn't significant. BerkeleyDB is definitely very fast, and would be a much better choice than a file system for anything small (~50 bytes).

      Did OpenBSD produce different results, or was it about the same, i.e. Berkeley writes faster and reads slower?