From owner-freebsd-questions@freebsd.org Mon Nov 23 12:53:35 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DF724A3428F for ; Mon, 23 Nov 2015 12:53:35 +0000 (UTC) (envelope-from fidaj@ukr.net) Received: from frv157.fwdcdn.com (frv157.fwdcdn.com [212.42.77.157]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A2E6117AC for ; Mon, 23 Nov 2015 12:53:35 +0000 (UTC) (envelope-from fidaj@ukr.net) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ukr.net; s=fsm; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=5jzHh9WfI7Juutb4zRH3rqMX9hFJUFY+y82cgt2qWvg=; b=jK3lZWWa2LXHA5aW9tXyTc9/8v9BhzIGHgHAwhHB6pOmRrNQi7R0A3zku52SO8pQwFE7fRhjNMZEjh8v83C/VenOxNP+nMkUYp+ELKUKicS8mOQ078rrzByUU4L77XWHyQvDGUzcJbFEqdcaHz9rU6uVuVq9T3usdBUn8qJohhQ=; Received: from [178.137.225.202] (helo=nonamehost.local) by frv157.fwdcdn.com with esmtpsa ID 1a0qcY-000DFU-RX ; Mon, 23 Nov 2015 14:53:26 +0200 Date: Mon, 23 Nov 2015 14:53:26 +0200 From: Ivan Klymenko To: "Brandon J. Wandersee" Cc: RW via freebsd-questions , Oleg Ginzburg Subject: Re: cryptodev HW (aesni) vs software Message-ID: <20151123145326.63d3203b@nonamehost.local> In-Reply-To: <86lh9qhtuw.fsf@WorkBox.Home> References: <20151120200325.2baade9c@nonamehost.local> <20151120192920.119bbf91@gumby.homeunix.com> <20151122130329.6ea9b9c6@nonamehost.local> <86lh9qhtuw.fsf@WorkBox.Home> X-Mailer: Claws Mail 3.13.0 (GTK+ 2.24.28; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Authentication-Result: IP=178.137.225.202; mail.from=fidaj@ukr.net; dkim=pass; header.d=ukr.net X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Nov 2015 12:53:36 -0000 On Sun, 22 Nov 2015 10:38:47 -0600 Brandon J. Wandersee wrote: > Ivan Klymenko writes: > > > I hope the problem has now become more visible? > > No. State what you believe the "problem" to be. We need to know how > what actually happened is different from what you expected to happen. > Problem 1 At two loaded modules cryptodev and aesni to encrypt selected slower Problem 2 Without any loaded modules cryptodev and aesni encryption occurs at the same rate as in the loaded module aesni - which suggests that hardware encryption is absolutely not working. Problem 3 In the best case FreeBSD inferior Linux in encryption by as much as 23% at exactly the same hardware an example of such a command: openssl speed -evp aes-128-cbc -elapsed