Make Linux fast again

Optimize your system for ultimate performance.

Moderators: khz, MattKingUSA

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

Make Linux fast again

Postby bluebell » Fri May 17, 2019 5:11 am

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.

User avatar
khz
Established Member
Posts: 1054
Joined: Thu Apr 17, 2008 6:29 am
Location: German

Re: Make Linux fast again

Postby khz » Fri May 17, 2019 5:21 am

:-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: 1399
Joined: Sat Jun 11, 2016 12:05 am

Re: Make Linux fast again

Postby jonetsu » Fri May 17, 2019 6:56 pm

I think China will oppose.

tavasti
Established Member
Posts: 746
Joined: Tue Feb 16, 2016 6:56 am
Location: Kangasala, Finland
Contact:

Re: Make Linux fast again

Postby tavasti » Fri May 17, 2019 7:48 pm

Fast but not safe. For computer which is not connected to network ever, that might be ok option.
Linux veteran & Novice musician

Hear my music at https://audiu.net/users/tawaste

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

Re: Make Linux fast again

Postby bluebell » Fri May 17, 2019 7:55 pm

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.

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

Re: Make Linux fast again

Postby bluebell » Fri May 17, 2019 7:58 pm

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?

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

Re: Make Linux fast again

Postby merlyn » Fri May 17, 2019 8:59 pm

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: 147
Joined: Sun Oct 11, 2015 1:43 pm

Re: Make Linux fast again

Postby Death » Sat May 18, 2019 12:14 am

I don't know what those commands do so I'm scared to try :shock:

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

Re: Make Linux fast again

Postby merlyn » Sat May 18, 2019 12:23 am

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: 147
Joined: Sun Oct 11, 2015 1:43 pm

Re: Make Linux fast again

Postby Death » Sat May 18, 2019 12:46 am

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: 362
Joined: Thu Oct 11, 2018 4:13 pm

Re: Make Linux fast again

Postby merlyn » Sat May 18, 2019 1:09 am

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: 147
Joined: Sun Oct 11, 2015 1:43 pm

Re: Make Linux fast again

Postby Death » Sat May 18, 2019 1:31 am

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: 752
Joined: Mon Oct 03, 2016 3:27 pm
Location: Rocky Mountains, North America
Contact:

Re: Make Linux fast again

Postby Michael Willis » Sat May 18, 2019 4:05 am

Death wrote:Not gonna try disabling those mitigations though haha :wink:

This is definitely "here be dragons" territory.

Death
Established Member
Posts: 147
Joined: Sun Oct 11, 2015 1:43 pm

Re: Make Linux fast again

Postby Death » Sat May 18, 2019 12:20 pm

Yes. I thought it was dodgy just running the latest Mesa Devel drivers for a while haha :lol:

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

Re: Make Linux fast again

Postby merlyn » Sat May 18, 2019 12:44 pm

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'.


Return to “System Tuning and Configuration”

Who is online

Users browsing this forum: No registered users and 0 guests