cvs commit: src/sys/geom/stripe g_stripe.c

Pawel Jakub Dawidek pjd at FreeBSD.org
Fri Jul 9 07:30:24 PDT 2004


pjd         2004-07-09 14:30:09 UTC

  FreeBSD src repository

  Modified files:
    sys/geom/stripe      g_stripe.c 
  Log:
  Implement "FAST" mode for GEOM_STRIPE class and turn it on by default.
  
  In this mode you can setup even very small stripe size and you can be
  sure that only one I/O request will be send to every disks in stripe.
  It consumes some more memory, but if allocation fails, it will fall
  back to "ECONOMIC" mode.
  
  It is about 10 times faster for small stripe size than "ECONOMIC" mode
  and other RAID0 implementations. It is even recommended to use this
  mode and small stripe size, so our requests are always splitted.
  
  One can still use "ECONOMIC" mode by setting kern.geom.stripe.fast to 0.
  It is also possible to setup maximum memory which "FAST" mode can consume,
  by setting kern.geom.stripe.maxmem from /boot/loader.conf.
  
  Revision  Changes    Path
  1.4       +345 -80   src/sys/geom/stripe/g_stripe.c


More information about the cvs-all mailing list