fixing Linux Mint 18.3 for Meltdown and Spectre

Chat about anything related to Linux Mint
User avatar
tovian
Level 5
Level 5
Posts: 529
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 » Fri Jan 05, 2018 6:06 pm

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

User avatar
ClixTrix
Level 5
Level 5
Posts: 743
Joined: Wed Dec 09, 2015 11:40 am
Location: Columbus, Ohio, USA

Re: fixing Linux Mint 18.3 for Meltdown and Spectre

Post by ClixTrix » Sat Jan 06, 2018 9:10 am

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.
Linux Mint 18.3 x64 Cinnamon Kernel 4.15.0-32-generic
Gigabyte GA-AB350M-D3H (F20) / Ryzen 5 1600 / Micron Ballistix Sport DDR4 2400 2x8GB / XFX HD5450-1GB
NVMe-SSD Samsung 960 EVO 250GB / SATA-HDD WD1600BEKT 160GB / SATA-SSD Toshiba OCZ VX500 512GB

User avatar
Sir Charles
Level 7
Level 7
Posts: 1832
Joined: Thu Jan 04, 2018 1:00 pm

Re: fixing Linux Mint 18.3 for Meltdown and Spectre

Post by Sir Charles » Sat Jan 06, 2018 9:15 am

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)
I suppose that's one of the ironies of life, doing the wrong thing at the right moment -C.C.

User avatar
Sir Charles
Level 7
Level 7
Posts: 1832
Joined: Thu Jan 04, 2018 1:00 pm

Re: fixing Linux Mint 18.3 for Meltdown and Spectre

Post by Sir Charles » Sat Jan 06, 2018 9:31 am

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.
I suppose that's one of the ironies of life, doing the wrong thing at the right moment -C.C.

User avatar
ClixTrix
Level 5
Level 5
Posts: 743
Joined: Wed Dec 09, 2015 11:40 am
Location: Columbus, Ohio, USA

Re: fixing Linux Mint 18.3 for Meltdown and Spectre

Post by ClixTrix » Sat Jan 06, 2018 10:08 am

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.
Linux Mint 18.3 x64 Cinnamon Kernel 4.15.0-32-generic
Gigabyte GA-AB350M-D3H (F20) / Ryzen 5 1600 / Micron Ballistix Sport DDR4 2400 2x8GB / XFX HD5450-1GB
NVMe-SSD Samsung 960 EVO 250GB / SATA-HDD WD1600BEKT 160GB / SATA-SSD Toshiba OCZ VX500 512GB

User avatar
ClixTrix
Level 5
Level 5
Posts: 743
Joined: Wed Dec 09, 2015 11:40 am
Location: Columbus, Ohio, USA

Re: fixing Linux Mint 18.3 for Meltdown and Spectre

Post by ClixTrix » Sat Jan 06, 2018 11:33 am

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.
Linux Mint 18.3 x64 Cinnamon Kernel 4.15.0-32-generic
Gigabyte GA-AB350M-D3H (F20) / Ryzen 5 1600 / Micron Ballistix Sport DDR4 2400 2x8GB / XFX HD5450-1GB
NVMe-SSD Samsung 960 EVO 250GB / SATA-HDD WD1600BEKT 160GB / SATA-SSD Toshiba OCZ VX500 512GB

User avatar
Pjotr
Level 20
Level 20
Posts: 10664
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 » Sat Jan 06, 2018 11:50 am

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 19 Tara
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

User avatar
Sir Charles
Level 7
Level 7
Posts: 1832
Joined: Thu Jan 04, 2018 1:00 pm

Re: fixing Linux Mint 18.3 for Meltdown and Spectre

Post by Sir Charles » Sat Jan 06, 2018 1:11 pm

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.
I suppose that's one of the ironies of life, doing the wrong thing at the right moment -C.C.

User avatar
Pjotr
Level 20
Level 20
Posts: 10664
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 » Sat Jan 06, 2018 1:13 pm

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 19 Tara
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

User avatar
Sir Charles
Level 7
Level 7
Posts: 1832
Joined: Thu Jan 04, 2018 1:00 pm

Re: fixing Linux Mint 18.3 for Meltdown and Spectre

Post by Sir Charles » Sat Jan 06, 2018 1:13 pm

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 suppose that's one of the ironies of life, doing the wrong thing at the right moment -C.C.

User avatar
Sir Charles
Level 7
Level 7
Posts: 1832
Joined: Thu Jan 04, 2018 1:00 pm

Re: fixing Linux Mint 18.3 for Meltdown and Spectre

Post by Sir Charles » Sat Jan 06, 2018 1:18 pm

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.
I suppose that's one of the ironies of life, doing the wrong thing at the right moment -C.C.

User avatar
Pepi
Level 5
Level 5
Posts: 672
Joined: Wed Nov 18, 2009 7:47 pm

Re: fixing Linux Mint 18.3 for Meltdown and Spectre

Post by Pepi » Sat Jan 06, 2018 2:44 pm

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:

User avatar
Sir Charles
Level 7
Level 7
Posts: 1832
Joined: Thu Jan 04, 2018 1:00 pm

Re: fixing Linux Mint 18.3 for Meltdown and Spectre

Post by Sir Charles » Sat Jan 06, 2018 2:52 pm

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.
I suppose that's one of the ironies of life, doing the wrong thing at the right moment -C.C.

User avatar
Pjotr
Level 20
Level 20
Posts: 10664
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 » Sat Jan 06, 2018 2:53 pm

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 19 Tara
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: 18
Joined: Tue Jan 03, 2017 7:03 am

Re: fixing Linux Mint 18.3 for Meltdown and Spectre

Post by kitaubila » Sat Jan 06, 2018 2:59 pm

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 5
Level 5
Posts: 672
Joined: Wed Nov 18, 2009 7:47 pm

Re: fixing Linux Mint 18.3 for Meltdown and Spectre

Post by Pepi » Sat Jan 06, 2018 4:43 pm

Newest worked fine on my Asus laptop fine 8)

User avatar
Schultz
Level 6
Level 6
Posts: 1225
Joined: Thu Feb 25, 2016 8:57 pm

Re: fixing Linux Mint 18.3 for Meltdown and Spectre

Post by Schultz » Sat Jan 06, 2018 4:44 pm

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 » Sat Jan 06, 2018 4:54 pm

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?

User avatar
Sir Charles
Level 7
Level 7
Posts: 1832
Joined: Thu Jan 04, 2018 1:00 pm

Re: fixing Linux Mint 18.3 for Meltdown and Spectre

Post by Sir Charles » Sat Jan 06, 2018 5:03 pm

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.
I suppose that's one of the ironies of life, doing the wrong thing at the right moment -C.C.

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 » Sat Jan 06, 2018 6:04 pm

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

Post Reply

Return to “Chat about Linux Mint”