From: Alex Zarochentsev <zam@namesys.com>
To: Alejandro Sanchez Acosta <asanchez@gnome.org>
Cc: reiserfs-list@namesys.com
Subject: Re: Some more basic questions.
Date: Mon, 10 Nov 2003 15:17:43 +0300 [thread overview]
Message-ID: <20031110121743.GA1408@backtop.namesys.com> (raw)
In-Reply-To: <1068437719.3362.24.camel@voyager>
On Mon, Nov 10, 2003 at 05:15:20AM +0100, Alejandro Sanchez Acosta wrote:
> Hello,
> I don't understand so well how the dancing trees work. I've seen in the
> documentation that are faster than B+ trees, but I don't understand the
> reason. Somebody can explain me how does it work a dancing tree and
> where does reiserfs use it?
Reiser4 tree has no strict invariant that each node (except root) should be
filled by more than 50%. Instead it has a rule that ordinary tree modification
deletes node only if it is empty. Modified nodes are not written to disk until
jnode_flush() packs them more tighty. The idea is to make ordinary tree
operations (insert, delete) cheaper and still have on-disk tree well packed,
because tree packing saves i/o operations.
> Other thing that I don't understand is the cache design, where are used
> caches in the filesystem?
?
Basically, reiser4 reads nodes from disk (into page cache), nodes remain in
memory until system releases them and frees memory. It is pache cache
functionality.
> And why is better to use extents than BLOBs? A lot of databases use
> BLOB's to storage the data and get good performance with.
acessing BLOBs require one disk op than accessing meta data. In reiser4 you
see an attempt to implement "equal access cost" for all data, including file
bodies.
> What security features provide reiser4?
IFAIK, currently only traditional unix security checks are implemented.
> I have seen that you can use
> crypto support and crypto compressing, does it support other security
> features? does it use the new CryptoAPI?
no.
> And other thing, if I want to do a new plugin, what I have to do? Any
> documentation related?
Write new plugins using existing ones as template.
What is bad is that reiser4 has no external API to bind reiser4 object and
plugins of different types. I think Hans will agree with me that should be
fixed soon.
> Thanks in advance.
> --
> Alejandro Sanchez Acosta <asanchez@gnome.org>
>
--
Alex.
next prev parent reply other threads:[~2003-11-10 12:17 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-10 4:15 Some more basic questions Alejandro Sanchez Acosta
2003-11-10 12:17 ` Alex Zarochentsev [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-05-28 20:59 Marcus White
2014-05-29 6:04 ` Venkateswara Rao Nandigam
2014-05-29 6:45 ` Zhang Haoyu
2014-05-30 4:06 ` Marcus White
2014-05-30 6:48 ` Zhang Haoyu
2014-06-02 21:19 ` Marcus White
2014-06-03 3:43 ` Zhang Haoyu
2014-06-03 4:53 ` Marcus White
2014-06-03 6:47 ` Zhang Haoyu
2014-06-03 6:54 ` Venkateswara Rao Nandigam
2014-06-03 11:00 ` Zhang Haoyu
2014-06-03 12:51 ` Zhang Haoyu
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=20031110121743.GA1408@backtop.namesys.com \
--to=zam@namesys.com \
--cc=asanchez@gnome.org \
--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.