Stephan Hendl
2006-Nov-08 04:39 UTC
[Ocfs2-users] suitable values for block- and cluster-size
Hi all, I try to use an ocfs2 cluster with 4 nodes for a webserver cluster. The webserver contains millions of small files - does anybody have a suggestion for setting block size and cluster size? 4/4 or better 4/32? Thanks and regards, Stephan -- Dr. Stephan Hendl Systemmanagement ----------------------------------- Landesbetrieb f?r Datenverarbeitung und Statistik Land Brandenburg Adresse: 14467 Potsdam, Dortustr. 46 Telefon: +49-(0)331 39-471 Fax: +49-(0)331 27548-1187 Mobil: +49-(0)160 90 645 893 EMail: Stephan.Hendl@lds.brandenburg.de Internet: http://www.lds-bb.de
Mark Fasheh
2006-Nov-08 09:49 UTC
[Ocfs2-users] suitable values for block- and cluster-size
On Wed, Nov 08, 2006 at 01:38:42PM +0100, Stephan Hendl wrote:> Hi all, > > I try to use an ocfs2 cluster with 4 nodes for a webserver cluster. The > webserver contains millions of small files - does anybody have a > suggestion for setting block size and cluster size? 4/4 or better 4/32?I'd do 2/4 or 4/4 assuming that "small" means "less than 4k". The bigger block size might be a better long term solution (though you might have a small performance drop in the short run). When we finish the data in inodes feature, it'll allow you to store files within a single inode block so the larger block size would be preferable for lots of small files. I don't think we'll be able to retroactively 'stuff' inodes that already exist though, at least not on a live file system. --Mark -- Mark Fasheh Senior Software Developer, Oracle mark.fasheh@oracle.com