All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hans Reiser <reiser@namesys.com>
To: Phil Howard <phil-reiserfs@ipal.net>
Cc: reiserfs-list@namesys.com
Subject: Re: DNS server reading directly from reiserfs
Date: Thu, 02 May 2002 14:37:17 +0400	[thread overview]
Message-ID: <3CD116DD.5010808@namesys.com> (raw)
In-Reply-To: 20020502103932.GA23420@vega.ipal.net

Phil Howard wrote:

>Continuing from an earlier discussion I had regarding the use of reiserfs
>based files in place of databases, I was thinking about the issues involved
>in serving DNS data directly from files.  The concern I had previously was
>the performance hit from open(),read(),close() to access a single piece of
>data to answer a query.  Today I realized that DJBDNS uses the CDB format
>and does an open(),read(),close() sequence for each query as well.  So it
>can't be that bad.  This would come down to reiserfs vs CDB for which is the
>faster in finding the desired piece of data, not the syscall interfaces, in
>terms of comparing these two.  Assuming all data is in a single directory,
>or maybe is in a directory tree structured TLD-first, what performance level
>might one expect doing this?  With ext2 it could be quite costly due to the
>O(N) lookup.  With reiserfs tree structure, this would be a lot better.  And
>with tail-packing, less RAM would be needed to keep lots of data in cache
>for large servers.  Any thoughts or benchmark data along these lines?
>
>  
>
You never know until you measure.  Try it!

Hans



      reply	other threads:[~2002-05-02 10:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-02 10:39 DNS server reading directly from reiserfs Phil Howard
2002-05-02 10:37 ` Hans Reiser [this message]

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=3CD116DD.5010808@namesys.com \
    --to=reiser@namesys.com \
    --cc=phil-reiserfs@ipal.net \
    --cc=reiserfs-list@namesys.com \
    /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 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.