Re: PSA: New intel MDS vulnerability mitigations cause measurable slowdown

2019-05-16 Thread Thomas Munro
On Fri, May 17, 2019 at 9:42 AM Thomas Munro wrote: > pgbench -M prepared read-only transactions per second, 16 client threads: (That second "16 client threads" line should read "32 client threads".) -- Thomas Munro https://enterprisedb.com

Re: PSA: New intel MDS vulnerability mitigations cause measurable slowdown

2019-05-16 Thread Thomas Munro
On Fri, May 17, 2019 at 5:26 AM Chapman Flack wrote: > On 5/16/19 12:24 PM, Albert Cervera i Areny wrote: > > Missatge de Thomas Munro del dia dj., 16 de > > maig 2019 a les 13:09: > >> With all three mitigations activated, my little dev machine has gone > >> from being able to do ~11.8 million b

Re: PSA: New intel MDS vulnerability mitigations cause measurable slowdown

2019-05-16 Thread Chapman Flack
On 5/16/19 12:24 PM, Albert Cervera i Areny wrote: > Missatge de Thomas Munro del dia dj., 16 de > maig 2019 a les 13:09: >> With all three mitigations activated, my little dev machine has gone >> from being able to do ~11.8 million baseline syscalls per second to > > Did you mean "1.8"? Not in

Re: PSA: New intel MDS vulnerability mitigations cause measurable slowdown

2019-05-16 Thread Albert Cervera i Areny
Missatge de Thomas Munro del dia dj., 16 de maig 2019 a les 13:09: > > On Wed, May 15, 2019 at 1:13 PM Andres Freund wrote: > > > I've run a quick pgbench benchmark: > > > > > > *Without* disabling SMT, for readonly pgbench, I'm seeing regressions > > > between 7-11%, depending on the size of sha

Re: PSA: New intel MDS vulnerability mitigations cause measurable slowdown

2019-05-16 Thread Thomas Munro
On Wed, May 15, 2019 at 1:13 PM Andres Freund wrote: > > I've run a quick pgbench benchmark: > > > > *Without* disabling SMT, for readonly pgbench, I'm seeing regressions > > between 7-11%, depending on the size of shared_buffers (and some runtime > > variations). That's just on my laptop, with a

Re: PSA: New intel MDS vulnerability mitigations cause measurable slowdown

2019-05-14 Thread Andres Freund
Hi, On 2019-05-14 15:30:52 -0700, Andres Freund wrote: > There's a new set of CPU vulnerabilities, so far only affecting intel > CPUs. Cribbing from the linux-kernel announcement I'm referring to > https://xenbits.xen.org/xsa/advisory-297.html > for details. > > The "fix" is for the OS to perform

Re: PSA: New intel MDS vulnerability mitigations cause measurable slowdown

2019-05-14 Thread Andres Freund
Hi, On 2019-05-15 12:52:47 +1200, Thomas Munro wrote: > On Wed, May 15, 2019 at 10:31 AM Andres Freund wrote: > > *Without* disabling SMT, for readonly pgbench, I'm seeing regressions > > between 7-11%, depending on the size of shared_buffers (and some runtime > > variations). That's just on my

Re: PSA: New intel MDS vulnerability mitigations cause measurable slowdown

2019-05-14 Thread Thomas Munro
On Wed, May 15, 2019 at 10:31 AM Andres Freund wrote: > *Without* disabling SMT, for readonly pgbench, I'm seeing regressions > between 7-11%, depending on the size of shared_buffers (and some runtime > variations). That's just on my laptop, with an i7-6820HQ / Haswell CPU. > I'd be surprised if

PSA: New intel MDS vulnerability mitigations cause measurable slowdown

2019-05-14 Thread Andres Freund
Hi, There's a new set of CPU vulnerabilities, so far only affecting intel CPUs. Cribbing from the linux-kernel announcement I'm referring to https://xenbits.xen.org/xsa/advisory-297.html for details. The "fix" is for the OS to perform some extra mitigations: https://www.kernel.org/doc/html/latest