[Top] [All Lists]

Re: [reiserfs-list] Re: benchmarks

To: Xuan Baldauf <xuan--reiserfs@xxxxxxxxxxx>
Subject: Re: [reiserfs-list] Re: benchmarks
From: Chris Wedgwood <cw@xxxxxxxx>
Date: Tue, 17 Jul 2001 12:56:15 +1200
Cc: Russell Coker <russell@xxxxxxxxxxxx>, Nikita Danilov <NikitaDanilov@xxxxxxxxx>, rsharpe@xxxxxxxxxx, Seth Mos <knuffie@xxxxxxxxx>, Federico Sevilla III <jijo@xxxxxxxxxxxxxxxxxxxx>, linux-xfs@xxxxxxxxxxx, reiserfs-list@xxxxxxxxxxx
In-reply-to: <3B5381A5.365A8006@xxxxxxxxxxx>
References: <Pine.BSI.4.10.10107141752080.18419-100000@xxxxxxxxxxxxx> <3B5341BA.1F68F755@xxxxxxxxxxx> <15187.18225.196286.123754@xxxxxxxxxxxxxxxx> <20010716222927.A9A225F70@xxxxxxxxxxxxxxxxx> <20010717112300.A13374@xxxxxxxxxxxxx> <3B5381A5.365A8006@xxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mutt/1.3.18i
On Tue, Jul 17, 2001 at 02:07:02AM +0200, Xuan Baldauf wrote:

    Maybe you're creating only one dentry-, inode-,
    whatever-in-kernel-object for one file. So you're maybe just
    increasing refcounters, not the amount of objects. What about
    creating 1M files and then opening all different files?

Ah, of course.  The attached code really does create and hold open the
files.  I don't get to 1e6 though, in fact the system got sluggish so
I stopped it after 624,596 files were created.

Use with caution, if it eats you disk... don't blame me :)


Attachment: create-me.c
Description: Text Data

<Prev in Thread] Current Thread [Next in Thread>