From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753862AbcFPJOZ (ORCPT ); Thu, 16 Jun 2016 05:14:25 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:43002 "EHLO out3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751323AbcFPJOV (ORCPT ); Thu, 16 Jun 2016 05:14:21 -0400 X-Sasl-enc: U5gNVmg9+q4EYb0vFz5LwB9nswBdUQ8ZQbn/VciyVwNr 1466068459 Date: Thu, 16 Jun 2016 06:14:16 -0300 From: Henrique de Moraes Holschuh To: Toralf =?iso-8859-1?Q?F=F6rster?= Cc: Linux Kernel Subject: Re: Why are the MB/s of avx and raid6: twice as high for a docked ThinkPad than for an undocked ? Message-ID: <20160616091416.GA5733@khazad-dum.debian.net> References: <5761CCBA.7050405@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <5761CCBA.7050405@gmx.de> X-GPG-Fingerprint1: 4096R/39CB4807 C467 A717 507B BAFE D3C1 6092 0BD9 E811 39CB 4807 User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 15 Jun 2016, Toralf Förster wrote: > This diff is reliable depending whether the T440s is docked (right) or not (left) : > > Linux t44 4.5.7-hardened-r2 #1 SMP Wed Jun 15 23:39:10 CEST 2016 x86_64 Intel(R) Core(TM) i5-4300U CPU @ 1.90GHz GenuineIntel GNU/Linux > > 215c215 > < avx : 10196.000 MB/sec > --- > > avx : 23504.000 MB/sec > 225,234c225,234 > < raid6: sse2x1 gen() 2578 MB/s > < raid6: sse2x1 xor() 2007 MB/s > < raid6: sse2x2 gen() 3246 MB/s > < raid6: sse2x2 xor() 2203 MB/s > < raid6: sse2x4 gen() 3773 MB/s > < raid6: sse2x4 xor() 2640 MB/s > < raid6: avx2x1 gen() 5042 MB/s > < raid6: avx2x2 gen() 5812 MB/s > < raid6: avx2x4 gen() 6824 MB/s > < raid6: using algorithm avx2x4 gen() 6824 MB/s > --- > > raid6: sse2x1 gen() 5816 MB/s > > raid6: sse2x1 xor() 4515 MB/s > > raid6: sse2x2 gen() 7261 MB/s > > raid6: sse2x2 xor() 4968 MB/s > > raid6: sse2x4 gen() 8511 MB/s > > raid6: sse2x4 xor() 5916 MB/s > > raid6: avx2x1 gen() 11378 MB/s > > raid6: avx2x2 gen() 13117 MB/s > > raid6: avx2x4 gen() 15398 MB/s > > raid6: using algorithm avx2x4 gen() 15398 MB/s Did you try setting the BIOS to "highest performance" mode even while on battery? BTW: update the BIOS of the T440s if you haven't done so already, AFAIK there are some nasties in the outdated microcode and right now the only way to get the fixed microcode for these processors is through a BIOS update. Latest BIOS for the T440s is from 2016-04-27. > And why do the units differ (MB/sec versus MB/s) ? For the typical "no good reason at all". The proper SI units for these are actually "MiB/s", I think: AFAIK, the kernel is measuring base-2 throughput, not base-10 throughput... -- "One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh