From owner-freebsd-questions@FreeBSD.ORG Mon Mar 23 17:08:58 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 38952A58 for ; Mon, 23 Mar 2015 17:08:58 +0000 (UTC) Received: from mail-wi0-x22f.google.com (mail-wi0-x22f.google.com [IPv6:2a00:1450:400c:c05::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C6061BF4 for ; Mon, 23 Mar 2015 17:08:57 +0000 (UTC) Received: by wixw10 with SMTP id w10so38467319wix.0 for ; Mon, 23 Mar 2015 10:08:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=pYPuwnSgQo2rDmcTi0cnaFUVH30YOdKqm0sAGwtSnJA=; b=z7t6744GgrBeS37qiFkt8ew/5FCDnSjT8AkFAairYRGEczA0heJlDI2qjhgvYF3lBL 4aG90qWvnCiK65u0GzyRnDUI/MV+Zc4P3cQhDjWbsUIPEl5jKOePNkU7/JV6zJpy3vd+ 0DFCLYynSeq8qnlTAEyYsqQCLfGmsxu++5H16vvG703HGKtoDKe2yVrscG7SMeYTQ3P+ DCUzrFh5csB8A9ZT4UrC2dpIhHUOj0rKVsMHsp+bQkZabzKGiVHHRli82tITet6M09Kz 6q68itt9iITScyF4vP6jjkVTpptLFuMm48woII3ZdWAuFUbFIdjpkaMsEx0p0vlxJxQ3 ViKw== X-Received: by 10.194.60.104 with SMTP id g8mr271129wjr.96.1427130536029; Mon, 23 Mar 2015 10:08:56 -0700 (PDT) Received: from gumby.homeunix.com (5ec3c5e1.skybroadband.com. [94.195.197.225]) by mx.google.com with ESMTPSA id cj9sm2213305wjc.42.2015.03.23.10.08.54 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Mar 2015 10:08:55 -0700 (PDT) Date: Mon, 23 Mar 2015 17:08:53 +0000 From: RW To: freebsd-questions@freebsd.org Subject: Re: thrashing + lost files Message-ID: <20150323170853.7fd28fd9@gumby.homeunix.com> In-Reply-To: <0MegOs-1Ys1A80zUW-00OIFG@mail.gmx.com> References: <0MegOs-1Ys1A80zUW-00OIFG@mail.gmx.com> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; amd64-portbld-freebsd10.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2015 17:08:58 -0000 On Tue, 17 Mar 2015 23:56:25 -0800 CK wrote: > Features=0x381b83f > VIA Padlock Features=0xdd real memory = 536870912 (512 MB) >... > GEOM_ELI: Device ada0p3.eli created. > GEOM_ELI: Encryption: 3DES-CBC 192 > GEOM_ELI: Crypto: software > GEOM_ELI: Device ada0p6.eli created. > GEOM_ELI: Encryption: AES-XTS 128 > GEOM_ELI: Crypto: software Try setting padlock_load="YES" to loader.conf, and switching your swap partition to use AES-CBC 128. I'm not certain, but I think that's supported in hardware for VIA padlock - you'll see "Crypto: hardware" if it works. Contrary to what someone else said geli doesn't use much memory itself. However it can strain a low-end processor, which is why low-power processors have had acceleration for a long time. Not having much memory exacerbates the problem by reducing disk caching. > 5 Reallocated_Sector_Ct 0x0033 199 199 140 Pre-fail Always - 1 > ... > SMART Self-test log structure revision number 1 > No self-tests have been logged. [To run self-tests, use: smartctl -t] IIWY I'd run "smartctl -t long" on the device, wait an hour or so for it to complete and run smartctl -a again. I'm not an expert on this, but some people advocate replacing drives with any relocated sectors.