Skip to content

Ocfs2 allocation tuning

Joel Becker ocfs2-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 4 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 4 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Ocfs2-devel] [PATCH 0/4] Ocfs2 allocation tuning
Quoted 15 lines · Mark Fasheh

The following patches apply some lessons I've learned during some testing of a couple non-trivial workloads on Ocfs2. Roughly speaking, they tune "up" the default local alloc windowxs, and tune "down" the reservations code a bit.

I primarily ran two tests - one simulating a large multi-node data-processing workload, and the multi-threaded writers test, mtwrite at:

http://www.kernel.org/pub/linux/kernel/people/mfasheh/ocfs2/tests/mtwrite.c

All patches were developed and tested on top of the current set of allocation changes in ocfs2.git (primarily reservations, and the local alloc fixes we have). A git branch containing all the patches is available, based off 2.6.33:

Quoted 6 lines

git pull git://git.kernel.org/pub/scm/linux/kernel/git/ocfs2-mark.git disk-alloc

Basically though, this all involved many many test runs (of which I have lots of data) and a thorough checking of fragmentation levels. I changed only one value at a time. Details regarding some of the test runs are within the specific patch descriptions.

These patches are now in the merge-window branch of ocfs2.git.

Joel

Signature · 10 lines
"It is not the function of our government to keep the citizen from
 falling into error; it is the function of the citizen to keep the
 government from falling into error."
	- Robert H. Jackson

Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127