linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Why are the MB/s of avx and raid6: twice as high for a docked ThinkPad than for an undocked ?
@ 2016-06-15 21:46 Toralf Förster
  2016-06-16  9:14 ` Henrique de Moraes Holschuh
  0 siblings, 1 reply; 3+ messages in thread
From: Toralf Förster @ 2016-06-15 21:46 UTC (permalink / raw)
  To: Linux Kernel

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

And why do the units differ (MB/sec versus MB/s) ?

-- 
Toralf
PGP: C4EACDDE 0076E94E, OTR: 420E74C8 30246EE7

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Why are the MB/s of avx and raid6: twice as high for a docked ThinkPad than for an undocked ?
  2016-06-15 21:46 Why are the MB/s of avx and raid6: twice as high for a docked ThinkPad than for an undocked ? Toralf Förster
@ 2016-06-16  9:14 ` Henrique de Moraes Holschuh
  2016-06-16 10:16   ` Toralf Förster
  0 siblings, 1 reply; 3+ messages in thread
From: Henrique de Moraes Holschuh @ 2016-06-16  9:14 UTC (permalink / raw)
  To: Toralf Förster; +Cc: Linux Kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Why are the MB/s of avx and raid6: twice as high for a docked ThinkPad than for an undocked ?
  2016-06-16  9:14 ` Henrique de Moraes Holschuh
@ 2016-06-16 10:16   ` Toralf Förster
  0 siblings, 0 replies; 3+ messages in thread
From: Toralf Förster @ 2016-06-16 10:16 UTC (permalink / raw)
  To: Henrique de Moraes Holschuh; +Cc: Linux Kernel

On 06/16/2016 11:14 AM, Henrique de Moraes Holschuh wrote:
> Did you try setting the BIOS to "highest performance" mode even while on
> battery?
ough - that was it - *head smack*

> BTW: update the BIOS of the T440s if you haven't done so already, AFAIK
did it

Thx Henrique for the answer

-- 
Toralf
PGP: C4EACDDE 0076E94E, OTR: 420E74C8 30246EE7

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-06-16 10:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-15 21:46 Why are the MB/s of avx and raid6: twice as high for a docked ThinkPad than for an undocked ? Toralf Förster
2016-06-16  9:14 ` Henrique de Moraes Holschuh
2016-06-16 10:16   ` Toralf Förster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).