summaryrefslogtreecommitdiffstats
path: root/sbin/geom
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2010-01-06 17:12:18 +0000
committermav <mav@FreeBSD.org>2010-01-06 17:12:18 +0000
commit0b756fd13cb4f5b3b5e466f0185342059e2c8060 (patch)
tree087af58e9e7ea654a1f995119abfcea8ba9a6fe1 /sbin/geom
parent0b338ccc3c99a0d279ad9810c980d2b7a97c9a28 (diff)
downloadFreeBSD-src-0b756fd13cb4f5b3b5e466f0185342059e2c8060.zip
FreeBSD-src-0b756fd13cb4f5b3b5e466f0185342059e2c8060.tar.gz
Increase default block size from 4K to 64K. It was reduces 6 yeard ago,
when trees were big and FAST mode was enabled by default. So small block size doesn't benefits linear I/O operations in FAST and significantly slowdowns in ECONOMIC (default) mode. For single stream random I/Os so small block doesn't give much benefits, as access time is usually bigger then transfer time there. Same time it requires all heads to seek together for every single request, reducing performance on parallel load.
Diffstat (limited to 'sbin/geom')
-rw-r--r--sbin/geom/class/stripe/geom_stripe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/geom/class/stripe/geom_stripe.c b/sbin/geom/class/stripe/geom_stripe.c
index 13243c7..16808cc 100644
--- a/sbin/geom/class/stripe/geom_stripe.c
+++ b/sbin/geom/class/stripe/geom_stripe.c
@@ -46,7 +46,7 @@ __FBSDID("$FreeBSD$");
uint32_t lib_version = G_LIB_VERSION;
uint32_t version = G_STRIPE_VERSION;
-static intmax_t default_stripesize = 4096;
+static intmax_t default_stripesize = 65536;
static void stripe_main(struct gctl_req *req, unsigned flags);
static void stripe_clear(struct gctl_req *req);
OpenPOWER on IntegriCloud