On Mon, 2 Jul 2001, Marvin T. Pascual wrote:
> Don't we have any solution on this even just to minimize the number of bytes
> used? Any idea from the Systems Programmer and Gurus here? :-)
Marvin,
First off, you will need to determine what you will be using a particular
filesystem for. The man page for mke2fs lists several options for defining
block size, fragment size, bytes per i-node, number of i-nodes, percentage
of reserved blocks and other things. If you know what you're doing, you
can set these up to fit your filesystem requirements nicely.
You'll note that by default, mke2fs reserves about 5% of your filesystem
space. You can lower this value if you wish at creation time, or use
tune2fs to modify an ext2 filesystem's other values. Checking the man page
for tune2fs, you'll see that you can modify reserved blocks by percentage
or by a specific count.
This is useful if you have filesystems that have particular uses for.
Case in point, some filesystems will benefit from a higher
bytes-per-i-node value, file systems that generally have large files. If
you can anticipate the type of use for a filesystem, you can plan what
values to stick into mke2fs, or tune2fs later.
One good article on tuning your filesystems can be found at
http://linuxperf.nl.linux.org/fileserving
I'm looking around for other good articles on file system tuning as well.
I remember having to do this for a Solaris box which had full-text
databases of journals and the performance increase is worth the trouble.
-x
___ eric pareja ([EMAIL PROTECTED]) - "We're all crazy. No one wants to admit it."
\@/ http://gra.ph/~xenos/xenos.pgp | http://plug.linux.org.ph [O/////O]------+
v "Even the smallest person can change the course of the future." / Clue |
- Lady Galadriel in J.R.R. Tolkien's "The Lord of the Rings" +-------+
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
To subscribe to the Linux Newbies' List: send "subscribe" in the body to
[EMAIL PROTECTED]