Misplaced Pages

Reiser4

Article snapshot taken from[REDACTED] with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.

This is an old revision of this page, as edited by 219.88.77.237 (talk) at 02:06, 22 March 2007. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Revision as of 02:06, 22 March 2007 by 219.88.77.237 (talk)(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
Reiser4
Developer(s)Namesys
Full nameReiser4
Introduced2004 with Linux
Partition IDsApple_UNIX_SVR2 (Apple Partition Map)
0x83 (MBR)
EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 (GPT)
Structures
Directory contentsDancing B*-tree
Limits
Max file size8 TiB on x86
Max filename length3976 bytes
Allowed filename
characters
All bytes except NUL and '/'
Features
Dates recordedmodification (mtime), metadata change (ctime), access (atime)
Date range64-bit timestamps
ForksExtended attributes
File system
permissions
Unix permissions, ACLs and arbitrary security attributes
Transparent
compression
Version 4.1 (beta)
Transparent
encryption
Version 4.1 (beta)
Other
Supported
operating systems
Linux

Reiser4 is a computer file system, a new "from scratch" successor to the ReiserFS file system, developed by Namesys and sponsored by DARPA as well as Linspire.

As of 2007, Reiser4 has not yet been merged into the mainline Linux kernel and consequently is still not supported on many Linux distributions; however, its predecessor ReiserFS v3 has been much more widely adopted. Reiser4 is also available from Andrew Morton's -mm kernel sources. Linux kernel developers claim that Reiser4 breaks Linux coding standards, but Hans Reiser suggests political reasons.

Features

Some of the goals of the Reiser4 file system are:

Some of the more advanced Reiser4 features (such as user-defined transactions) are also not available because of a lack of a VFS API for them.

At present Reiser4 lacks a few standard file system features, such as an online repacker (similar to the defragmentation utilities provided with other file systems). The creators of Reiser4 say they will implement these later; sooner if someone pays them to do so.

Performance

Reiser4 uses B*-trees in conjunction with the dancing tree balancing approach, in which underpopulated nodes will not get merged until a flush to disk except under memory pressure or when a transaction completes. Such a system also allows Reiser4 to create files and directories without having to waste time and space through fixed blocks.

As of 2004, synthetic benchmarks performed by Namesys show that Reiser4 is 10 to 15 times faster than its most serious competitor ext3 working on files smaller than 1 KiB. Namesys's benchmarks suggest it is typically twice the performance of ext3 for general-purpose filesystem usage patterns.

Reiser4. Benchmarks.

Hans Reiser, a technical genius, is the main developer of the Reiser3 (ReiserFS) and Reiser4 filesystems.

Reiser3 was an advanced filesystem, in its time, but is beginning to show its age.

Reiser4, the replacement Reiser3, is truly cutting edge, an outstanding filesystem.

To get some idea of how good Reiser4 really is, you should consider the following test results. The first column names the filesystem tested. The second column records the total time (in seconds) it took to run the filesystem benchmarking software bonnie++ (Version 1.93c). The third column records the total number of megabytes needed to store 655 megabytes of raw data.

SMALLER is better.


FILESYSTEMTIMEDISK USAGE
REISER4 (lzo)1,938278
REISER4 (gzip)2,295213
REISER43,462692
EXT24,092816
JFS4,225806
EXT44,408816
EXT34,421816
XFS4,625799
REISER36,178793
FAT3212,342988
NTFS-3g>10,414772

Each test was preformed 5 times and the average value recorded. SMALLER is better.

The bonnie++ tests were preformed, with the following parameters:

bonnie++ -n128:128k:0

More on the tests can be found here: http://m.domaindlx.com/LinuxHelp/resources/fs-benchmarks.htm

The above site provides a script, so that you can check these results for yourself.

See also

External links

Notes and references

  1. Documentation/filesystems/reiser4.txt from a reiser4-patched kernel source, "By default file in reiser4 have 64 bit timestamps."
  2. "Linux: Why Reiser4 Is Not in the Kernel". Kerneltrap. September 19, 2005.{{cite web}}: CS1 maint: year (link)
  3. Reiser, Hans (2004-09-16). "Re: Benchmark : ext3 vs reiser4 and effects of fragmentation". Namesys, ReiserFS mailing list. Retrieved 2006-10-13.
  4. Hans Reiser (November 20, 2003). "Benchmarks Of ReiserFS Version 4". Namesys. Retrieved 2006-11-28. {{cite web}}: Check date values in: |year= (help)CS1 maint: year (link)
Category:
Reiser4 Add topic