Skip to contentSkip to conversation

reiserfs - recommendations for small files

DISCUSSION Viji V Nair 3 participants 4 messages Oct 17, 2009 – Oct 19, 2009

lore
Share & tools
lore
#0 lore raw

Hi,

System : Fedora 11 x86_64
Current Filesystem: 150G ext4 (formatted with "-T small" option) Number of files: 50 Million, 1 to 30K png images

We are generating these files using a python programme and getting very slow IO performance. While generation there are only writes, no read. After generation there are heavy read and no write. These files are not in a single directory, this is a pyramid structure. There are total 15 pyramids and coming down from top to bottom the sub directories and files are multiplied by a factor of 4

I am looking for an alternate file system and best practices/recommendation to get a better performance. What the optimisation methods available in reiserfs for small files?

Any suggestions of the above are greatly appreciated.

Viji

#1 lore raw
Quoted 13 lines · Viji V Nair

Hi,

System : Fedora 11 x86_64
Current Filesystem: 150G ext4 (formatted with "-T small" option) Number of files: 50 Million, 1 to 30K png images

We are generating these files using a python programme and getting very slow IO performance. While generation there are only writes, no read. After generation there are heavy read and no write. These files are not in a single directory, this is a pyramid structure. There are total 15 pyramids and coming down from top to bottom the sub directories and files are multiplied by a factor of 4

Quoted 3 lines

I am looking for an alternate file system and best practices/recommendation to get a better performance. What the optimisation methods available in reiserfs for small files?

You could benchmark this on reiser3 today (it's perfectly stable & small file handling is supposedly a sweet spot).

--Toby

Quoted 8 lines

Any suggestions of the above are greatly appreciated.

Viji
--
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw

I

On Tue, Oct 20, 2009 at 12:46 AM, Toby Thain <[email protected]> wrote

Quoted 16 lines · Viji V Nair
Quoted 14 lines

Hi,

System : Fedora 11 x86_64
Current Filesystem: 150G ext4 (formatted with "-T small" option) Number of files: 50 Million, 1 to 30K png images

We are generating these files using a python programme and getting very slow IO performance. While generation there are only writes, no read. After generation there are heavy read and no write. These files are not in a single directory, this is a pyramid structure. There are total 15 pyramids and coming down from top to bottom the sub directories and files  are multiplied by a factor of 4

Quoted 6 lines
Quoted 3 lines

I am looking for an alternate file system and best practices/recommendation to get a better performance. What the optimisation methods available in reiserfs for small files?

You could benchmark this on reiser3 today (it's perfectly stable & small file handling is supposedly a sweet spot).

I am creating a fedora 11 kernel rpm with reiserfs3 and reiser4 support, planning to bench mark it on multiple hardware. Will update the results.

Quoted 14 lines

--Toby

Quoted 9 lines

Any suggestions of the above are greatly appreciated.

Viji
--
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw
In reply to Viji V Nair
Quoted 13 lines · Viji V Nair

Hi,

System : Fedora 11 x86_64
Current Filesystem: 150G ext4 (formatted with "-T small" option) Number of files: 50 Million, 1 to 30K png images

We are generating these files using a python programme and getting very slow IO performance. While generation there are only writes, no read. After generation there are heavy read and no write. These files are not in a single directory, this is a pyramid structure. There are total 15 pyramids and coming down from top to bottom the sub directories and files are multiplied by a factor of 4

Quoted 4 lines

I am looking for an alternate file system and best practices/recommendation to get a better performance. What the optimisation methods available in reiserfs for small files?

I think that default tail packing policy would be the best for you. Also use tea hash.

Thanks,
Edward.

Quoted 9 lines

Any suggestions of the above are greatly appreciated.

Viji
--
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html