| To: | Chris Wedgwood <cw@xxxxxxxx> |
|---|---|
| Subject: | Re: [reiserfs-list] Re: benchmarks |
| From: | Xuan Baldauf <xuan--reiserfs@xxxxxxxxxxx> |
| Date: | Tue, 17 Jul 2001 02:07:02 +0200 |
| Cc: | Russell Coker <russell@xxxxxxxxxxxx>, Nikita Danilov <NikitaDanilov@xxxxxxxxx>, Xuan Baldauf <xuan--reiserfs@xxxxxxxxxxx>, rsharpe@xxxxxxxxxx, Seth Mos <knuffie@xxxxxxxxx>, Federico Sevilla III <jijo@xxxxxxxxxxxxxxxxxxxx>, linux-xfs@xxxxxxxxxxx, reiserfs-list@xxxxxxxxxxx |
| References: | <Pine.BSI.4.10.10107141752080.18419-100000@xxxxxxxxxxxxx> <3B5341BA.1F68F755@xxxxxxxxxxx> <15187.18225.196286.123754@xxxxxxxxxxxxxxxx> <20010716222927.A9A225F70@xxxxxxxxxxxxxxxxx> <20010717112300.A13374@xxxxxxxxxxxxx> |
| Sender: | owner-linux-xfs@xxxxxxxxxxx |
Chris Wedgwood wrote: > On Tue, Jul 17, 2001 at 12:29:27AM +0200, Russell Coker wrote: > > Last time I tested this one process could only open slightly more > than 80,000 files (I am not about to test this at the moment as > doing so allocates a lot of kernel memory that can't be swapped > and therefore requires a reboot to regain good performance). > > FWIW, I am able to open 1e6 files without any effort whatsoever. Code > attached (just wrote this now). > > You need to up /proc/sys/fs/file-max and your ulimit obiously. > > --cw > > ------------------------------------------------------------ > > open-me.cName: open-me.c > Type: C source code (text/c) 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? Xuân. |
| Previous by Date: | Re: [reiserfs-list] Re: benchmarks, Chris Wedgwood |
|---|---|
| Next by Date: | TAKE - Don't use BLKBSZSET (really), Nathan Scott |
| Previous by Thread: | Re: [reiserfs-list] Re: benchmarks, Chris Wedgwood |
| Next by Thread: | Re: [reiserfs-list] Re: benchmarks, Chris Wedgwood |
| Indexes: | [Date] [Thread] [Top] [All Lists] |