Skip to contentSkip to conversation

Repacker stats

PATCH In review Piotr Neuman 2 participants 2 messages Oct 17, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Repacker stats

Hi

This patch allows reading of repacker stats while it is working. It creates two files in repacker sysfs hierarchy: formatted_nodes and unformatted_nodes, which correspond to the stats that repacker prints after it has finished.

Download:

http://kem.p.lodz.pl/~peter/reiser4_repacker_stats.patch.bz2
or
http://kem.p.lodz.pl/~peter/reiser4_repacker_stats.patch

The patch seems pretty safe, though I wait for confirmation from zam on that ;-).

Regards

Piotr Neuman

#1 lore raw
Quoted 4 lines · Piotr Neuman

This patch allows reading of repacker stats while it is working. It creates two files in repacker sysfs hierarchy: formatted_nodes and unformatted_nodes, which correspond to the stats that repacker prints after it has finished.

Cheers for the sikkhmeister :)

I started hacking something of an analyzer, but being in this very tired mood and all, I think at least the math parts of it are broken ;)

Latest version:
http://mjt.nysv.org/reiser/repacker_stats/03-repackerstat.py

Kludgy to the max, but I hope I can teach it to do graphs at some point and also to start and stop the repacker with different settings. Once that's done, all it needs is a port to C and it should be shippable.

All help is appreciated, as always.

Signature · 1 line
mjt