fixing Linux Mint 18.3 for Meltdown and Spectre

Chat about anything related to Linux Mint
Forum rules
Do not post support questions here. Before you post read the forum rules. Topics in this forum are automatically closed 6 months after creation.
tovian
Level 5
Level 5
Posts: 630
Joined: Sun Nov 22, 2015 1:17 pm
Location: Heart of Dixie

Re: fixing Linux Mint 18.3 for Meltdown and Spectre

Post by tovian »

ClixTrix wrote:..........I think this article targets the exact cause and why.

https://arstechnica.com/gadgets/2018/01 ... s-patches/
Ya just gotta love that the article was written by a guy named "BRIGHT" :wink:
“I think that this situation absolutely requires a really futile and stupid gesture be done on somebody's part"
"We're just the guys to do it”

Animal House
ClixTrix

Re: fixing Linux Mint 18.3 for Meltdown and Spectre

Post by ClixTrix »

Kernel.org released 4.14.12 with a follow-up patch that avoids the KPTI fix implementation on AMD processors and the unnecessary slowdown, so I'll probably try 4.14.12 for my Ryzen.
Sir Charles

Re: fixing Linux Mint 18.3 for Meltdown and Spectre

Post by Sir Charles »

Linux KPTI Tests Using Linux 4.14 vs. 4.9 vs. 4.4

Here is the result of som tests that Phoronix has run to show the impact of the KPTI on performance:
https://www.phoronix.com/scan.php?page= ... pcid&num=1

t seems that the negative impact of the security measures are not as bad as what was believed at the beginning of this cpu scandal.

"These Linux 4.4 vs. 4.9 vs. Linux 4.14 kernel tests of KPTI on/off were done using an Intel Core i7 4790K "Haswell" system that is well supported by Linux for some time and thus no compatibility issues going back to 4.9 or further." (source: the link above)
Sir Charles

Re: fixing Linux Mint 18.3 for Meltdown and Spectre

Post by Sir Charles »

ClixTrix wrote:Kernel.org released 4.14.12 with a follow-up patch that avoids the KPTI fix implementation on AMD processors and the unnecessary slowdown, so I'll probably try 4.14.12 for my Ryzen.
I have been running 4.4.11 with KPTI enabled since yesterday on my rather low spec Intel PC and I havn't noticed any negative impact on the performance. It is said that the performance hit is workload dependent so I assume performing tasks making lots of system calls could have some negative impact.
ClixTrix

Re: fixing Linux Mint 18.3 for Meltdown and Spectre

Post by ClixTrix »

The ZDNet article has a pretty good breakdown on the impact. The "random I/O to NvMe" at 8 to 19% got my attention due to my config and intended workload.

http://www.zdnet.com/article/how-the-me ... ffect-you/

My point in posting was to reassure AMD users that they WON'T be affected by the attempts to patch the Meltdown bug. I absolutely agree that any slowdown by the KPTI patch is dependent on your workload.

Oh.....and running 4.14.12 on my test partition now on sig system.
ClixTrix

Re: fixing Linux Mint 18.3 for Meltdown and Spectre

Post by ClixTrix »

Well, already have a bug problem with the "Strict Site Isolation" feature on Chrome/Chromium.

Go to any ebay listing page. You'll see what I'm seeing. FYI....ebay heavily scripts and loads the Description section in an IFRAME. Can you say SQUISH! :cry:

Edit: More checking.... ebay descriptions with simple text only are getting the problem. I am seeing some more stylized pages load OK.
User avatar
Pjotr
Level 24
Level 24
Posts: 20086
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: fixing Linux Mint 18.3 for Meltdown and Spectre

Post by Pjotr »

OK, relief is at hand, namely on January, 9:
https://insights.ubuntu.com/2018/01/04/ ... abilities/

Apparently those Ubuntu devs have worked through the Christmas and New Year holidays.... Not much fun for them.

Some things that stand out: it seems that for Ubuntu 16.04.x (and therefore Mint 18.x) only the 4.4 kernel series and the 4.13 kernel series will be fixed. Furthermore, these fixes are only for 64-bit kernels.
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
Sir Charles

Re: fixing Linux Mint 18.3 for Meltdown and Spectre

Post by Sir Charles »

At the moment I am using Firefox Nightly (current version 59.0a1) and it has a fix for both Meltdown and Spectre implemented. I admit that I was positively surprised how well FF Nightly works. So far I havn't been experiencing any instability or bugs.
User avatar
Pjotr
Level 24
Level 24
Posts: 20086
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: fixing Linux Mint 18.3 for Meltdown and Spectre

Post by Pjotr »

Marziano wrote:At the moment I am using Firefox Nightly (current version 59.0a1) and it has a fix for both Meltdown and Spectre implemented. I admit that I was positively surprised how well FF Nightly works. So far I havn't been experiencing any instability or bugs.
Firefox 57.0.4 has also been fixed:
https://www.mozilla.org/en-US/firefox/5 ... ox-browser
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
Sir Charles

Re: fixing Linux Mint 18.3 for Meltdown and Spectre

Post by Sir Charles »

Pjotr wrote:OK, relief is at hand, namely on January, 9
That's good news! I will be rolling back to 4.13 then when it will receive the updates.
Sir Charles

Re: fixing Linux Mint 18.3 for Meltdown and Spectre

Post by Sir Charles »

Pjotr wrote: Firefox 57.0.4 has also been fixed:
https://www.mozilla.org/en-US/firefox/5 ... ox-browser
Yes, it's true but I thought that I will go all in and try out something "Bleeding Edge" for once.
User avatar
Pepi
Level 6
Level 6
Posts: 1305
Joined: Wed Nov 18, 2009 7:47 pm

Re: fixing Linux Mint 18.3 for Meltdown and Spectre

Post by Pepi »

Marziano wrote:
Pjotr wrote:OK, relief is at hand, namely on January, 9
That's good news! I will be rolling back to 4.13 then when it will receive the updates.

I tried 4.13 this morning and it trashed my computer until I rolled back to 4.10.0-42. Not making me feel to fuzzy inside :cry:
Sir Charles

Re: fixing Linux Mint 18.3 for Meltdown and Spectre

Post by Sir Charles »

Pepi wrote: I tried 4.13 this morning and it trashed my computer until I rolled back to 4.10.0-42. Not making me feel to fuzzy inside :cry:
That's unfortunate. I have tried both 4.14.11 and 4.13.0-21. Both of them have been working fine.
User avatar
Pjotr
Level 24
Level 24
Posts: 20086
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: fixing Linux Mint 18.3 for Meltdown and Spectre

Post by Pjotr »

Pepi wrote:
Marziano wrote:
Pjotr wrote:OK, relief is at hand, namely on January, 9
That's good news! I will be rolling back to 4.13 then when it will receive the updates.

I tried 4.13 this morning and it trashed my computer until I rolled back to 4.10.0-42. Not making me feel to fuzzy inside :cry:
You might try rolling back to the 4.4 series....
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
kitaubila
Level 1
Level 1
Posts: 22
Joined: Tue Jan 03, 2017 7:03 am

Re: fixing Linux Mint 18.3 for Meltdown and Spectre

Post by kitaubila »

what about mate v17.x? is there going to be an update or I have to upgrade to v18.x first? Is that even possible or I should start again. I'm using it in oracle VM.
thanks.
User avatar
Pepi
Level 6
Level 6
Posts: 1305
Joined: Wed Nov 18, 2009 7:47 pm

Re: fixing Linux Mint 18.3 for Meltdown and Spectre

Post by Pepi »

Newest worked fine on my Asus laptop fine 8)
User avatar
Schultz
Level 9
Level 9
Posts: 2958
Joined: Thu Feb 25, 2016 8:57 pm

Re: fixing Linux Mint 18.3 for Meltdown and Spectre

Post by Schultz »

kitaubila wrote:
what about mate v17.x?
The version of Mint doesn't matter. Just update the kernel. For Mint 17.x, kernel series 3.13 will get the update. Or you could always use kernel series 4.4 or 4.13 if they work with your system. But I don't know if they show in Mint 17.x's Update Manager or not.
User avatar
Superannuated
Level 4
Level 4
Posts: 303
Joined: Wed Sep 16, 2015 1:18 am
Location: UTC -8 :: Pacific Coast USA

Re: fixing Linux Mint 18.3 for Meltdown and Spectre

Post by Superannuated »

Schultz wrote:
kitaubila wrote:
what about mate v17.x?
Or you could always use kernel series 4.4 or 4.13 if they work with your system. But I don't know if they show in Mint 17.x's Update Manager or not.
Yes, the 4.4 kernel shows up in the 17.3 Update Manager.

Just to be certain, if I am running 4.4 on 17.3 will the patch be effective or do I have to roll back to 3.13?
Sir Charles

Re: fixing Linux Mint 18.3 for Meltdown and Spectre

Post by Sir Charles »

Superannuated wrote: Just to be certain, if I am running 4.4 on 17.3 will the patch be effective or do I have to roll back to 3.13?
Well, I believe the patch will be effective on all the kernels for which they are intended. No need to rolling back.
User avatar
Superannuated
Level 4
Level 4
Posts: 303
Joined: Wed Sep 16, 2015 1:18 am
Location: UTC -8 :: Pacific Coast USA

Re: fixing Linux Mint 18.3 for Meltdown and Spectre

Post by Superannuated »

Marziano wrote:Well, I believe the patch will be effective on all the kernels for which they are intended. No need to rolling back.
I suspect you are correct. I wish the insights.ubuntu article were a little better written because it gives the impression that if you are running the Trusty base (Mint 17) then you should roll back to kernel 3.13.
Updates will be available for:
Ubuntu 17.10 (Artful) — Linux 4.13 HWE
Ubuntu 16.04 LTS (Xenial) — Linux 4.4 (and 4.4 HWE)
Ubuntu 14.04 LTS (Trusty) — Linux 3.13
Locked

Return to “Chat about Linux Mint”