Make Linux fast again

Optimize your system for ultimate performance.

Moderators: MattKingUSA, khz

User avatar
bluebell
Established Member
Posts: 1909
Joined: Sat Sep 15, 2012 11:44 am
Location: Saarland, Germany
Has thanked: 111 times
Been thanked: 116 times

Make Linux fast again

Post by bluebell »

https://make-linux-fast-again.com/

noibrs noibpb nopti nospectre_v2 nospectre_v1 l1tf=off nospec_store_bypass_disable no_stf_barrier mds=off mitigations=off

Let's test.

Linux – MOTU UltraLite AVB – Qtractor – http://suedwestlicht.saar.de/

User avatar
khz
Established Member
Posts: 1648
Joined: Thu Apr 17, 2008 6:29 am
Location: German
Has thanked: 42 times
Been thanked: 92 times

Re: Make Linux fast again

Post by khz »

:-D
. . . FZ - Does humor belongs in Music?
. . GNU/LINUX@AUDIO ~ /Wiki $ Howto.Info && GNU/Linux Debian installing >> Linux Audio Workstation LAW
  • I don't care about the freedom of speech because I have nothing to say.
jonetsu
Established Member
Posts: 2036
Joined: Sat Jun 11, 2016 12:05 am
Has thanked: 10 times
Been thanked: 22 times

Re: Make Linux fast again

Post by jonetsu »

I think China will oppose.
tavasti
Established Member
Posts: 2047
Joined: Tue Feb 16, 2016 6:56 am
Location: Kangasala, Finland
Has thanked: 369 times
Been thanked: 208 times
Contact:

Re: Make Linux fast again

Post by tavasti »

Fast but not safe. For computer which is not connected to network ever, that might be ok option.

Linux veteran & Novice musician

Latest track: https://www.youtube.com/watch?v=ycVrgGtrBmM

User avatar
bluebell
Established Member
Posts: 1909
Joined: Sat Sep 15, 2012 11:44 am
Location: Saarland, Germany
Has thanked: 111 times
Been thanked: 116 times

Re: Make Linux fast again

Post by bluebell »

tavasti wrote:Fast but not safe. For computer which is not connected to network ever, that might be ok option.
I'd say for a single user workstation you're still safer than with any Windows system.

Most exploits affect people who have different customers on the same machine and have to keep their address spaces and registers separated.

Linux – MOTU UltraLite AVB – Qtractor – http://suedwestlicht.saar.de/

User avatar
bluebell
Established Member
Posts: 1909
Joined: Sat Sep 15, 2012 11:44 am
Location: Saarland, Germany
Has thanked: 111 times
Been thanked: 116 times

Re: Make Linux fast again

Post by bluebell »

jonetsu wrote:I think China will oppose.
Intel might oppose. All those fixes make machines slower so people have to buy faster CPUs or CPUs with more cores. Is there something better in the world of capitalism than having others pay for own failures?

Linux – MOTU UltraLite AVB – Qtractor – http://suedwestlicht.saar.de/

merlyn
Established Member
Posts: 1392
Joined: Thu Oct 11, 2018 4:13 pm
Has thanked: 168 times
Been thanked: 247 times

Re: Make Linux fast again

Post by merlyn »

It would be interesting to see if disabling mitigations results in improved audio performance. I would try it, but I've got an AMD chip. :) I've read it doesn't make much difference on AMD. Although I probably will find out for myself. This was useful :

Code: Select all

★ grep . /sys/devices/system/cpu/vulnerabilities/*
/sys/devices/system/cpu/vulnerabilities/l1tf:Not affected
/sys/devices/system/cpu/vulnerabilities/meltdown:Not affected
/sys/devices/system/cpu/vulnerabilities/spec_store_bypass:Not affected
/sys/devices/system/cpu/vulnerabilities/spectre_v1:Mitigation: __user pointer sanitization
/sys/devices/system/cpu/vulnerabilities/spectre_v2:Mitigation: Full AMD retpoline, STIBP: disabled, RSB filling
Death
Established Member
Posts: 372
Joined: Sun Oct 11, 2015 1:43 pm
Been thanked: 32 times

Re: Make Linux fast again

Post by Death »

I don't know what those commands do so I'm scared to try :shock:
merlyn
Established Member
Posts: 1392
Joined: Thu Oct 11, 2018 4:13 pm
Has thanked: 168 times
Been thanked: 247 times

Re: Make Linux fast again

Post by merlyn »

It's just one command and the rest is the output. It shows what vulnerabilities a processor has and what the mitigation is. This is back in the news with the discovery of ZombieLoad :) which doesn't show up in that list yet.
Death
Established Member
Posts: 372
Joined: Sun Oct 11, 2015 1:43 pm
Been thanked: 32 times

Re: Make Linux fast again

Post by Death »

merlyn wrote:It's just one command and the rest is the output. It shows what vulnerabilities a processor has and what the mitigation is. This is back in the news with the discovery of ZombieLoad :) which doesn't show up in that list yet.
Oh I meant the command in the first post :P
merlyn
Established Member
Posts: 1392
Joined: Thu Oct 11, 2018 4:13 pm
Has thanked: 168 times
Been thanked: 247 times

Re: Make Linux fast again

Post by merlyn »

I see. @bluebell posted a list of kernel boot options. They turn off all mitigations against spectre, meltdown and the new one : mds.
Death
Established Member
Posts: 372
Joined: Sun Oct 11, 2015 1:43 pm
Been thanked: 32 times

Re: Make Linux fast again

Post by Death »

Ah yeh I get it now after looking up and running the command you ran. I appear to be ok with my system. Not gonna try disabling those mitigations though haha :wink:
User avatar
Michael Willis
Established Member
Posts: 1451
Joined: Mon Oct 03, 2016 3:27 pm
Location: Rocky Mountains, North America
Has thanked: 68 times
Been thanked: 163 times
Contact:

Re: Make Linux fast again

Post by Michael Willis »

Death wrote:Not gonna try disabling those mitigations though haha :wink:
This is definitely "here be dragons" territory.
Death
Established Member
Posts: 372
Joined: Sun Oct 11, 2015 1:43 pm
Been thanked: 32 times

Re: Make Linux fast again

Post by Death »

Yes. I thought it was dodgy just running the latest Mesa Devel drivers for a while haha :lol:
merlyn
Established Member
Posts: 1392
Joined: Thu Oct 11, 2018 4:13 pm
Has thanked: 168 times
Been thanked: 247 times

Re: Make Linux fast again

Post by merlyn »

Death wrote:I thought it was dodgy just running the latest Mesa Devel drivers
In terms of having a stable, reliable system development drivers are more of a risk than disabling meltdown/spectre mitigations.

I read that Intel wanted the mitigations to be 'opt-in'. The Linux kernel would be distributed without the performance hit to Intel hardware, and if you were a government employee, a spy, an international businessman or other party with valuable secrets the mitigations could be enabled.

It was Linus who insisted the mitigations be 'opt-out'.
Post Reply