From owner-freebsd-geom@FreeBSD.ORG Mon Dec 7 21:34:17 2009 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90C42106566C for ; Mon, 7 Dec 2009 21:34:17 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (chello089077043238.chello.pl [89.77.43.238]) by mx1.freebsd.org (Postfix) with ESMTP id CE31E8FC14 for ; Mon, 7 Dec 2009 21:34:16 +0000 (UTC) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id E72CC45C9B; Mon, 7 Dec 2009 22:34:14 +0100 (CET) Received: from localhost (chello089077043238.chello.pl [89.77.43.238]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 24DD145C99; Mon, 7 Dec 2009 22:34:09 +0100 (CET) Date: Mon, 7 Dec 2009 22:34:08 +0100 From: Pawel Jakub Dawidek To: Wiktor Niesiobedzki Message-ID: <20091207213408.GE1795@garage.freebsd.pl> References: <2ae8edf30912050724i6f196e53y40ccd06970d59a7a@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="RpqchZ26BWispMcB" Content-Disposition: inline In-Reply-To: <2ae8edf30912050724i6f196e53y40ccd06970d59a7a@mail.gmail.com> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 9.0-CURRENT i386 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-0.6 required=4.5 tests=BAYES_00,RCVD_IN_SORBS_DUL autolearn=no version=3.0.4 Cc: freebsd-geom Subject: Re: geli freezing 8.0 RELEASE and 7.2-STABLE X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2009 21:34:17 -0000 --RpqchZ26BWispMcB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Dec 05, 2009 at 04:24:25PM +0100, Wiktor Niesiobedzki wrote: > Hi, >=20 > I'm currently configuring new box with 8.0-RELEASE. I'm setting it up > together with geli. From time to time I notice some small freezes (for > 2-5 seconds) of the system. >=20 > I'm doing a small test. In one shell I'm running: >=20 > % while true ; do ; sleep 1; date ;done > sob 5 gru 2009 16:02:48 CET > sob 5 gru 2009 16:02:49 CET > sob 5 gru 2009 16:02:50 CET > sob 5 gru 2009 16:03:15 CET > sob 5 gru 2009 16:03:16 CET > sob 5 gru 2009 16:03:17 CET > sob 5 gru 2009 16:03:18 CET > sob 5 gru 2009 16:03:19 CET >=20 > (Note the gap between 16:02:50 and 16:03:15) Hi Wiktor:) My guess is that this is because GELI worker threads are running with too high priority (at least for your configuration). If I am right, the patch below should help you: http://people.freebsd.org/~pjd/patches/g_eli.c.2.patch --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --RpqchZ26BWispMcB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFLHXTQForvXbEpPzQRAgdYAJ9Sun2SK/xTz5rV7BThKLSSwf1utQCfUT8l GmgiNBbAU3dMHse7nzQVPaA= =FVra -----END PGP SIGNATURE----- --RpqchZ26BWispMcB--