svn commit: r202425 - stable/8/sbin/geom/class/stripe

Alexander Motin mav at
Fri Jan 15 23:52:32 UTC 2010

Author: mav
Date: Fri Jan 15 23:52:31 2010
New Revision: 202425

  MFC r201658:
  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.

Directory Properties:
  stable/8/sbin/geom/class/stripe/   (props changed)

Modified: stable/8/sbin/geom/class/stripe/geom_stripe.c
--- stable/8/sbin/geom/class/stripe/geom_stripe.c	Fri Jan 15 23:03:51 2010	(r202424)
+++ stable/8/sbin/geom/class/stripe/geom_stripe.c	Fri Jan 15 23:52:31 2010	(r202425)
@@ -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);

More information about the svn-src-stable-8 mailing list