diff options
author | sheldonh <sheldonh@FreeBSD.org> | 2001-12-11 16:21:40 +0000 |
---|---|---|
committer | sheldonh <sheldonh@FreeBSD.org> | 2001-12-11 16:21:40 +0000 |
commit | 29d0d309963e8ceb4d68e5963c13a4f5070d3e78 (patch) | |
tree | 90125984a1a1adf2fe49ce6fe3a4751dc707d34c /sbin/newfs/newfs.c | |
parent | 1fef6a00e61c035c56a2a6493f67e443fea2566f (diff) | |
download | FreeBSD-src-29d0d309963e8ceb4d68e5963c13a4f5070d3e78.zip FreeBSD-src-29d0d309963e8ceb4d68e5963c13a4f5070d3e78.tar.gz |
Update the default newfs block and fragment sizes from 8192/1024 to
16384/2048.
Following recent discussions on the -arch mailing list, involving dillon
and mckusick, this change parallels the one made over a decade ago when
the default was bumped up from 4096/512.
This should provide significant performance improvements for most
folks, less significant performance losses for a few folks and
wasted space lost to large fragments for many folks.
For discussion, please see the following thread in the -arch archive:
Subject: Using a larger block size on large filesystems
The discussion ceases to be relevant when the issue of partitioning
schemes is raised.
Diffstat (limited to 'sbin/newfs/newfs.c')
-rw-r--r-- | sbin/newfs/newfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/newfs/newfs.c b/sbin/newfs/newfs.c index c34fcb6..8764a87 100644 --- a/sbin/newfs/newfs.c +++ b/sbin/newfs/newfs.c @@ -98,8 +98,8 @@ void fatal(); * sectorsize <= DESFRAGSIZE <= DESBLKSIZE * DESBLKSIZE / DESFRAGSIZE <= 8 */ -#define DFL_FRAGSIZE 1024 -#define DFL_BLKSIZE 8192 +#define DFL_FRAGSIZE 2048 +#define DFL_BLKSIZE 16384 /* * Cylinder groups may have up to many cylinders. The actual |