Tuning the system by disabling mitigations

Optimize your system for ultimate performance.

Moderators: khz, MattKingUSA

User avatar
bluebell
Established Member
Posts: 1081
Joined: Sat Sep 15, 2012 11:44 am
Location: Saarland & Frankfurt, Germany

Tuning the system by disabling mitigations

Postby bluebell » Wed Feb 13, 2019 2:43 pm

There are some mitigations against meltdown and spectre, most important for cloud and server providers.

If you run a single user machine you may consider switching off those mitigations because they eat CPU power.

On my Core i5 that got problems with some big Qtractor projects I'll try in the next days:

Code: Select all

pti=off spectre_v2=off l1tf=off nospec_store_bypass_disable no_stf_barrier


in the GRUB boot cmdline.
Linux – MOTU UltraLite AVB – Qtractor – https://soundcloud.com/suedwestlicht

User avatar
bluebell
Established Member
Posts: 1081
Joined: Sat Sep 15, 2012 11:44 am
Location: Saarland & Frankfurt, Germany

Re: Tuning the system by disabling mitigations

Postby bluebell » Wed Feb 13, 2019 6:04 pm

No noticeble effect. OK, was worth a try.
Linux – MOTU UltraLite AVB – Qtractor – https://soundcloud.com/suedwestlicht

User avatar
sysrqer
Established Member
Posts: 1798
Joined: Thu Nov 14, 2013 11:47 pm
Contact:

Re: Tuning the system by disabling mitigations

Postby sysrqer » Wed Feb 13, 2019 8:33 pm

Did you run any kind of benchmark test? It would be interesting to know what the difference is although if it's not noticeable maybe it is not relevant.

User avatar
bluebell
Established Member
Posts: 1081
Joined: Sat Sep 15, 2012 11:44 am
Location: Saarland & Frankfurt, Germany

Re: Tuning the system by disabling mitigations

Postby bluebell » Thu Feb 14, 2019 12:30 pm

sysrqer wrote:Did you run any kind of benchmark test? It would be interesting to know what the difference is although if it's not noticeable maybe it is not relevant.


Only "can I make jackd's buffer size smaller for a given Qtractor project". In my case: no. So I couldn't see any difference.
Linux – MOTU UltraLite AVB – Qtractor – https://soundcloud.com/suedwestlicht

Musicteacher
Established Member
Posts: 167
Joined: Mon Nov 13, 2017 5:54 am

Re: Tuning the system by disabling mitigations

Postby Musicteacher » Thu Feb 14, 2019 12:55 pm

This is a very rough scale (buffer size). Buffer size usually is changed in powers of 2, one cannot seriously think that system speed goes up by a factor of 2!

What about: How many plugins of a given type can I use befor I get xruns? Like "50 instances of my favorite synth" vs "52 instances ..."

merlyn
Established Member
Posts: 413
Joined: Thu Oct 11, 2018 4:13 pm

Re: Tuning the system by disabling mitigations

Postby merlyn » Thu Feb 14, 2019 1:32 pm

A good practical test is how many notes on pianoteq, since the DSP load goes up with the number of notes played.

User avatar
bluebell
Established Member
Posts: 1081
Joined: Sat Sep 15, 2012 11:44 am
Location: Saarland & Frankfurt, Germany

Re: Tuning the system by disabling mitigations

Postby bluebell » Sat Mar 16, 2019 6:54 pm

I tested with xruncounter and got some interesting results.

Hardware: Notebook with Intel(R) Core(TM) i7-7700T CPU @ 2.90GHz
Kernel: Linux bubu 4.16.12-rt5-avl1 #12 SMP PREEMPT RT Thu Jun 14 04:35:48 EDT 2018 x86_64 x86_64 x86_64 GNU/Linux

jack2 with -n2 -p 128

With mitigations I got the 1st xrun at 69%, 62%, 67% (3 runs).
Without mitigations I got the 1st xrun at 74%, 70%, 71%

So disabling the mitigations seems to enable a slight performance boost.
Linux – MOTU UltraLite AVB – Qtractor – https://soundcloud.com/suedwestlicht


Return to “System Tuning and Configuration”

Who is online

Users browsing this forum: No registered users and 2 guests