summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade
diff options
context:
space:
mode:
authorsheldonh <sheldonh@FreeBSD.org>2001-12-11 16:21:40 +0000
committersheldonh <sheldonh@FreeBSD.org>2001-12-11 16:21:40 +0000
commit29d0d309963e8ceb4d68e5963c13a4f5070d3e78 (patch)
tree90125984a1a1adf2fe49ce6fe3a4751dc707d34c /usr.sbin/sade
parent1fef6a00e61c035c56a2a6493f67e443fea2566f (diff)
downloadFreeBSD-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 'usr.sbin/sade')
-rw-r--r--usr.sbin/sade/install.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/sade/install.c b/usr.sbin/sade/install.c
index 6371f80..108064f 100644
--- a/usr.sbin/sade/install.c
+++ b/usr.sbin/sade/install.c
@@ -1121,7 +1121,7 @@ installVarDefaults(dialogMenuItem *self)
variable_set2(SYSTEM_STATE, "update", 0);
else
variable_set2(SYSTEM_STATE, "init", 0);
- variable_set2(VAR_NEWFS_ARGS, "-b 8192 -f 1024", 0);
+ variable_set2(VAR_NEWFS_ARGS, "-b 16384 -f 2048", 0);
variable_set2(VAR_CONSTERM, "NO", 0);
return DITEM_SUCCESS;
}
OpenPOWER on IntegriCloud