LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-15-2021, 08:43 PM   #1
fulalas
Member
 
Registered: Jun 2017
Posts: 148

Rep: Reputation: 34
Big performance drop on Vulkan after massive glibc update


I couldn't detect which packages are responsible for it, but Shadow of The Tomb Raider (Vulkan) has suffered 16% perform drop after glibc massive update (between January and February) in current. It seems like a CPU bottleneck, according to the benchmark.

I have GTX 1650 Super, and both kernel and Nvidia drivers (460.56) are still the same.

Funny enough, OpenGL performance hasn't changed at all.
 
Old 03-15-2021, 09:02 PM   #2
mralk3
Slackware Contributor
 
Registered: May 2015
Distribution: Slackware
Posts: 1,901

Rep: Reputation: 1052Reputation: 1052Reputation: 1052Reputation: 1052Reputation: 1052Reputation: 1052Reputation: 1052Reputation: 1052
I don't know much about this topic I admit. Did you try reinstalling the nvidia drivers? The way I understand it, they are kernel modules that should be rebuilt from time to time.
 
Old 03-15-2021, 09:15 PM   #3
fulalas
Member
 
Registered: Jun 2017
Posts: 148

Original Poster
Rep: Reputation: 34
I tried it, but it didn't change anything.
 
Old 03-16-2021, 09:37 AM   #4
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,784

Rep: Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435
This is very odd. I actually got an 11% improvement with the 460.56 driver (GTX 1070 Ti - 99% GPU bound) compared to the same test a month ago with the 460.39 driver. The only additional system differences from a month ago are all the slackpkg+ updates (as of last night) and a custom low-latency 5.10.22 kernel. Odd.

Perhaps it is as you noted a CPU bottleneck in your system since in my system the CPU far outstrips my GPU. I want a 3080 but who knows when that can happen . My CPU is an i5-10600K mildly clocked to 5.0 GHz all cores. That still doesn't explain why my scores went up.

Last edited by enorbet; 03-16-2021 at 09:42 AM.
 
Old 03-16-2021, 11:34 AM   #5
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
For Intel processors turning on all in-kernel security features can be devastating, some have reported up to 40% drop in performance. It has nothing to do with Linux of course and has everything to do with Intel hardware bugs. If you do not build your own kernels and had a kernel upgrade lately then the reason is likely right there.
 
Old 03-16-2021, 01:32 PM   #6
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,784

Rep: Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435
That makes sense, Emerson, as I commonly use "make oldconfig" or "make olddefconfig" which would defeat new defaults.
 
Old 03-16-2021, 03:26 PM   #7
fulalas
Member
 
Registered: Jun 2017
Posts: 148

Original Poster
Rep: Reputation: 34
The thing is: the kernel and the drivers haven't changed!

Anyway, when building kernel I just need to call 'make oldconfig' to not apply security features? I have an old and simple Pentium G4560 (2 cores + 2 threads), so any performance improvement is welcome
 
Old 03-16-2021, 03:45 PM   #8
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Quote:
Originally Posted by enorbet View Post
I commonly use "make oldconfig" or "make olddefconfig" which would defeat new defaults.
'make olddefconfig' is the worst you can do to your custom kernel, it will apply the new defaults without asking you.
 
Old 03-16-2021, 04:59 PM   #9
Aeterna
Senior Member
 
Registered: Aug 2017
Location: Terra Mater
Distribution: VM Host: Slackware-current, VM Guests: Artix, Venom, antiX, Gentoo, FreeBSD, OpenBSD, OpenIndiana
Posts: 1,008

Rep: Reputation: Disabled
Quote:
Originally Posted by Emerson View Post
'make olddefconfig' is the worst you can do to your custom kernel, it will apply the new defaults without asking you.
shrug:
just run diff to see what is new the leave it or remove new option.
 
Old 03-16-2021, 05:22 PM   #10
fulalas
Member
 
Registered: Jun 2017
Posts: 148

Original Poster
Rep: Reputation: 34
Found it how to disable kernel mitigations: https://linuxreviews.org/HOWTO_make_..._on_Intel_CPUs

And here some benchmarks: https://www.phoronix.com/scan.php?pa...ltdown-2&num=2

Last edited by fulalas; 03-16-2021 at 08:04 PM.
 
1 members found this post helpful.
Old 03-16-2021, 05:55 PM   #11
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Quote:
Originally Posted by Aeterna View Post
shrug:
just run diff to see what is new the leave it or remove new option.
You run 'make oldconfig' and it will ask you. If you like the easy way, that is.
 
Old 03-16-2021, 06:14 PM   #12
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
fulalas,

thank you! I had all these options carefully disabled in my kernel, your research and findings make life easier. I need max CPU performance for video processing in my desktop and I'll leave those mitigations for my servers.
 
Old 03-16-2021, 06:20 PM   #13
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,235

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
I don't find this likely, but is there any chance at all that your CPU frequency scaling settings might have changed?
 
Old 03-16-2021, 06:47 PM   #14
fulalas
Member
 
Registered: Jun 2017
Posts: 148

Original Poster
Rep: Reputation: 34
@dugan, it's set to 'performance' since forever -- I've just double checked it.

I'm about to find out what is causing the performance drop. It's something inside /lib64 (not /usr/lib64). I need more time to test it and then I'll let you guys know.
 
Old 03-16-2021, 07:03 PM   #15
Aeterna
Senior Member
 
Registered: Aug 2017
Location: Terra Mater
Distribution: VM Host: Slackware-current, VM Guests: Artix, Venom, antiX, Gentoo, FreeBSD, OpenBSD, OpenIndiana
Posts: 1,008

Rep: Reputation: Disabled
Quote:
Originally Posted by Emerson View Post
'make olddefconfig' is the worst you can do to your custom kernel, it will apply the new defaults without asking you.
either or
Quote:
Originally Posted by Emerson View Post
You run 'make oldconfig' and it will ask you. If you like the easy way, that is.
So is oldconfig asking or applying new defaults without asking?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Vulkan 1.2.140 spec out and NVIDIA has a new Vulkan Beta Driver up with new extension support LXer Syndicated Linux News 0 05-06-2020 06:11 AM
LXer: Vulkan API specification 1.2 released, new NVIDIA Vulkan Beta driver up LXer Syndicated Linux News 0 01-18-2020 06:50 AM
LXer: Vulkan at GDC videos now up, with Valve talking about porting Source 2 to Vulkan LXer Syndicated Linux News 0 03-19-2016 11:53 AM
LXer: Vulkan 1.0 and Vulkan SDK Announced for Linux and Windows LXer Syndicated Linux News 0 02-17-2016 02:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration