Re: Some pgbench results - Mailing list pgsql-general

From Magnus Naeslund(f)
Subject Re: Some pgbench results
Date
Msg-id 44239BEE.6040700@fbab.net
Whole thread Raw
In response to Re: Some pgbench results  ("Just Someone" <just.some@gmail.com>)
Responses Re: Some pgbench results
Re: Some pgbench results
List pgsql-general
Just Someone wrote:
[snip]
>>
>> mke2fs -b $bsizeb -j -J size=400 -m 1 -O sparse_super \
>>   -T largefile4 -E stride=$stride /dev/sdb
>>
>> Mounted with: mount -t ext3 -o data=journal,noatime /dev/sdb /mnt/test8
>
> That's an interesting thing to try, though because of other things I
> want, I prefer xfs or jfs anyway. I will have an extreme number of
> schemas and files, which make high demands on the directory structure.
> My tests showed me that ext3 doesn't cope with many files in
> directories very well. With xfs and jfs I can create 500K files in one
> directory in no time (about 250 seconds), with ext3 it start to crawl
> after about 30K files.
>

It might seem that I'm selling ext3 or something :) but it's the linux
filesystem I know best.
If you want ext3 to perform with large directories, there is an mkfs
option that enables directory hashing that you can try: -O dir_index.

Regards,
Magnus


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Parallel sequential scans
Next
From: Clyde Swann
Date:
Subject: where to find pg_config....