Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Jun 2012 18:47:11 +0200 (CEST)
From:      Alessio Focardi <alessiof@gmail.com>
To:        Garance A Drosehn <gad@FreeBSD.org>, freebsd-fs@freebsd.org
Subject:   Re: Millions of small files: best filesystem / best options
Message-ID:  <225885946.5069.1338569231830.JavaMail.root@zimbra.interconnessioni.it>
In-Reply-To: <4FC802E6.2060202@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

> Instead of creating a *FILE* at /AA/BB/CC/DD, create a symlink.

This is one of the most valuable suggestions I have received so far!!!

Going to test it in a few hours, I guess I will have to format the partition to be mostly composed of inodes, right?

Is not that clear how it can be accomplished using the formula

-i number of bytes per inode
	     Specify the density of inodes in the file system.	The default is
	     to create an inode for every (4 * frag-size) bytes of data space.
	     If fewer inodes are desired, a larger number should be used; to
	     create more inodes a smaller number should be given.  One inode
	     is required for each distinct file, so this value effectively
	     specifies the average file size on the file system.

maybe should "number of bytes for inode" (make an inode every X number of bytes) be set to 1?

really tnx!!!




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?225885946.5069.1338569231830.JavaMail.root>