From owner-cvs-all@FreeBSD.ORG Fri Jul 9 14:30:23 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CEA0C16A4D2; Fri, 9 Jul 2004 14:30:22 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3452843D2F; Fri, 9 Jul 2004 14:30:10 +0000 (GMT) (envelope-from pjd@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i69EUA0r059041; Fri, 9 Jul 2004 14:30:10 GMT (envelope-from pjd@repoman.freebsd.org) Received: (from pjd@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i69EU9qE059040; Fri, 9 Jul 2004 14:30:10 GMT (envelope-from pjd) Message-Id: <200407091430.i69EU9qE059040@repoman.freebsd.org> From: Pawel Jakub Dawidek Date: Fri, 9 Jul 2004 14:30:09 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/geom/stripe g_stripe.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jul 2004 14:30:24 -0000 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