Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Jan 2010 17:12:18 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r201658 - head/sbin/geom/class/stripe
Message-ID:  <201001061712.o06HCICF087127@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Wed Jan  6 17:12:18 2010
New Revision: 201658
URL: http://svn.freebsd.org/changeset/base/201658

Log:
  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.

Modified:
  head/sbin/geom/class/stripe/geom_stripe.c

Modified: head/sbin/geom/class/stripe/geom_stripe.c
==============================================================================
--- head/sbin/geom/class/stripe/geom_stripe.c	Wed Jan  6 16:56:31 2010	(r201657)
+++ head/sbin/geom/class/stripe/geom_stripe.c	Wed Jan  6 17:12:18 2010	(r201658)
@@ -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);



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