Skip to contentSkip to conversation

best reiserfs mount options for generic benchmarking

DISCUSSION [email protected] 2 participants 2 messages Sep 14, 2002 – Sep 16, 2002

lore
Share & tools
lore
#0 lore raw
Quoted 1 line

Why?

Mainly for the reiserfs developers benefit. Hans expressed some interest in the numbers. Also, if the tests take less time, I can run more of them. :)

I've changed the partition reiserfs runs on. That means comparison with earlier runs is less valid. Hans got me thinking the benchmarks may be helpful for reiserfs developers, so I want to cater to what is most useful for them.

Quoted 1 line

the best thing to benchmark is the way you really use a system.

The mount options I typically use are noatime,notail,nodev,nosuid.

Quoted 4 lines

If you have files that grow by small chunks but which are on average quite large then you will probably want to mount notails as it won't save any significant amount of space but can cost performance. If you have any typical disk usage for home directories or maildir's then you'll want tails.

Thanks!

A "real world" workload I'm interested in is:
* 100k - 2mb files typically created by copy or parsed into existence.
* Thousands of files in a directory, multiple big directories.
* files are typically accessed somewhat randomly and read in their entirety. and
* I/O to large statically sized files (database reads/writes).

The benchmarks are meant to be a community contribution, rather than an evaluation of what's best for a workload I have.

Signature · 2 lines
Randy Hron
http://home.earthlink.net/~rwhron/kernel/bigbox.html
#1 lore raw
Quoted 4 lines · On Sat, 14 Sep 2002 12:47:55 EDT, [email protected] said:

I've changed the partition reiserfs runs on. That means comparison with earlier runs is less valid. Hans got me thinking the benchmarks may be helpful for reiserfs developers, so I want to cater to what is most useful for them.

I'm not a developer, but I suspect what they'd *really* like to see is the *interaction* between options - for instance, does the prealloc option behave differently with tails/notails? Does prealloc play nice with notails for file creation, but not for file removal? How do the various combos of options behave for short reads/writes, long ones, and a random mix?

Even if you don't find any bugs or regressions, this is the sort of data that will be needed when somebody gets around to writing a tuning guide...

Signature · 3 lines
				Valdis Kletnieks
				Computer Systems Senior Engineer
				Virginia Tech