AMD + Valve Working On New Linux CPU Performance Scaling Design

1 : Anonymous2021/08/02 16:14 ID: owht35
AMD + Valve Working On New Linux CPU Performance Scaling Design
2 : Anonymous2021/08/02 18:50 ID: h7gkrci

I'm super excited about this not so much for gaming but for epyc. Any money pouring into development for better (open source) linux scheduling is a huge win!

3 : Anonymous2021/08/02 17:52 ID: h7gcs43

Ok now work on bringing Radeon Settings to linux pls

ID: h7gkenj

This is the last thing preventing me from going full Linux

ID: h7gs8hx

You serious? You don't know ... – Everybody knows you never go full Linux.

ID: h7hb3ae

I'm already mostly full Linux, but I'm also waiting for proper Freesync support before I totally stop booting into Windows for games. It just doesn't work with multiple monitors (unless they're all the same res/refresh rate + freesync compatible maybe?) in X11. Also need more games running natively or with good Proton (or similar) support. I can get a lot of stuff running on Lutris (WINE) but performance is usually worse, though not bad.

ID: h7gyn06

I thought Radeon software worked well on Linux due to their open code.

ID: h7h5yes

The drivers are open source and work well in Linux. Radeon Settings is the GUI control panel that lets you specify game-specific details and overclock your GPU.

ID: h7h1nkt

It does there just isn't a settings GUI like there is for Nvidia

ID: h7j8orr

But please open-source it.

ID: h7hqvr2

And OpenGL performance to Windows.

ID: h7ho5ge

Or somehow just have an open source universal graphics card GUI, that can manipulate any GPU from any company.

ID: h7gksxw

Why? I enjoy my bug-free experience.

ID: h7h6lz9

I'm not aware of any major bugs that are actually caused by the GUI that lets you adjust some settings.

ID: h7glf12

Bugs? What bugs? Lol

Boost, Chill, Anti-Lag, Enhanced Sync, ReLive, Image Sharpening, FSR and many more features are part of Radeon Settings which is missing on Linux so yes, we NEED Radeon Settings sooner rather than later.

4 : Anonymous2021/08/02 21:32 ID: h7h6wma

So basically they are bringing ACPI CPPC to linux for better single thread performance? I see higher temperatures/power usage in Linux vs Windows, which is probably due to this.

This, better VCE support and proper monitoring support is preventing me from going full Linux.

5 : Anonymous2021/08/02 17:43 ID: h7gbif6

So basically the Deck right?

ID: h7gimox

This will benefit any Linux system running an AMD CPU.

ID: h7h20m1

Zen 2 and above specifically. It's about getting more performance out of each watt used

ID: h7iypm5

I still can't help but think of the Elgato stream deck when reading the name "deck"....

And I don't even know what that thing does :')

6 : Anonymous2021/08/03 00:52 ID: h7hwlaw

Someone should introduce this author to the comma.

ID: h7jjxpj

Yeah, all the Phoronix articles are like that. I respect the dude's work, he does write a ton, but a bit of punctuation here and there wouldn't go amiss.

ID: h7jnd1w

Perhaps you could reach out to be an editor...or just edit and send it back to him.

7 : Anonymous2021/08/02 16:35 ID: h7g212d

That's why amd is the only option when i buy/upgrade my pc

ID: h7ghk8r

There aren't that many options to begin with.

ID: h7gsw3h

It's sad. It's a duopoly. Atleast it's better than a monopoly.

ID: h7gstw6

Wat?

Because they eventually support their products years after launch?

ID: h7h5j9l

The Fine Wine is real.

8 : Anonymous2021/08/02 21:33 ID: h7h6z9l

I wonder if anything will come of this. Shitty CPU scaling has been an issue for Linux gaming since forever, causing performance problems and inconsistent frame times, and basically nothing has been done to address it. Feral Game Mode is a third-party attempt at a fix and it just changes the governor to Performance.

The way I see it, the issue is that the default governor for most distros (ondemand) doesn't scale the frequency up quickly enough, which can lead to these issues. I've been meaning to look into this forever (I've had the Kernel documentation bookmarked for years) and I only now dug up what the default value for when the ondemand governor scales up the frequency.

I used this command to check the default:

cat /sys/devices/system/cp

" class="reddit-press-user-link" target="_blank" rel="noopener">
/ondemand/up_threshold

And fuck me, on a Ubuntu 20.04 based distro the default is 95. Seems really high to me, I mean it can't get much higher than that. No wonder there's performance issues if the CPU only starts scaling up when it's 95% loaded.

According to Arch Wiki, the threshold can be changed like this (I had to use sudo su, can't figure out how to do it using only sudo):

echo -n 80 > /sys/devices/system/cp

" class="reddit-press-user-link" target="_blank" rel="noopener">
/ondemand/up_threshold

I wonder if there's an ideal threshold for gaming, and if there could be performance improvements for other applications. I can't really test right now, as I don't have access to my desktop.

ID: h7hxzb9

For the command you can pass it to sh with the -c switch to execute it, then sudo that sh command. Like so:

sudo sh -c 'echo -n 80 > /sys/devices/system/cp/ondemand/up_threshold'

The single quotes are important, so the exterior shell doesn't try to parse them instead of the root sh command

ID: h7j0hjw

a simpler way to do this is to just pipe the string into tee

printf 80 | sudo tee /sys/devices/system/cp/ondemand/up_threshold
9 : Anonymous2021/08/02 19:27 ID: h7gpw6a

Annnnnnnnd this is why my whole house went from Intel to AMD after Zen2. Keep this up and you have a loyal customer ;D

ID: h7hem7m

why? Based on 5.x statistics, Intel is contributing way more to the Linux kernel development than AMD

ID: h7j0v6x

Blue bad, Red good

Now give me upvotes

users

ID: h7j4nes

Intel is also about 10 times as big a company as AMD. So it shouldn't be a surprise.

EDIT:

12k vs 110k employees

9bn vs 78bn revenue

So about 9 times as big actually.

ID: h7h5umo

I didn't quite realize all I've ever bought were AMD CPUs. It's just such a natural decision to make

ID: h7ha5v8

Weren't many AMD options when I was buying my last laptop, but otherwise same. FX-6300 to R5 2600. I've had 6 cores since before it was cool 🙂

ID: h7gsvu7

Wat?

Intel has had this for years already.

ID: h7ipfcp

And this celebrating the fact AMD is now making its own strides to be better Linux and be more competitive.

Why pick a post like this to talk smack on when any advancement is good regardless of it's red or blue.

10 : Anonymous2021/08/03 02:23 ID: h7i7v32

Yeah it’s about time. Honestly cpuidle/cpufreq and honestly even cgroups are highly tuned and architected more for an Intel processor. AMD is different enough in how it works that this is necessary and overdue.

11 : Anonymous2021/08/03 13:49 ID: h7jwbiv

Valve and Amd also need to be looking too at Freebsd.

12 : Anonymous2021/08/02 19:31 ID: h7gqf1w

Memory is the performance bottleneck in modern systems but this is cool, for Linux users haha.

ID: h7iqp55

Also, a hydroelectric dam is a bottleneck for a river, but that's not the point.

We know memory is a bottleneck, hence literally everything about modem CPU and software design working to optimize memory access, including things like scheduling algorithms which this article is about.

So I'm not sure there's anything meaningful in that statement.

ID: h7jeinz

Essentially, it’s cool to have processor advancements but systems really need new architecture for meaningful performance boosts for power users. See PIM architectures. Processing in Memory is one idea for improving the memory bottleneck.

ID: h7iklul

What?

ID: h7ipiu4

Wait, is it really? Like full stop - I thought it was a mix of things depending on what you were trying to accomplish.

ID: h7jebpm

It is absolutely memory bottlenecked. Something like 67% of energy consumption is used for data movement. Not processing.

13 : Anonymous2021/08/03 04:22 ID: h7ikz2w

I wish linux could be viable for gaming

ID: h7kmr0l

Valve announced that they are aiming for Proton to play all the games in its library including those with anti-cheat. Linux is already viable for gaming today as seen on protondb.com, but the update to Proton will narrow the gap with Windows.

14 : Anonymous2021/08/03 08:42 ID: h7j5hc0

Can any normal human pay for it? Or is it like right now

16 : Anonymous2021/08/02 17:24 ID: h7g8vxu

The 150 users who use Linux are going to be so happy

17 : Anonymous2021/08/02 17:39 ID: h7gb1nn

This is in preparation for the steam deck that's running an AMD CPU and a Linux based OS.

18 : Anonymous2021/08/02 18:53 ID: h7gl5vh

It also benefits tons of servers and may prep AMD to compete in phones if they wanted to get into that market.

19 : Anonymous2021/08/02 17:31 ID: h7g9uyg

there's far more than that

20 : Anonymous2021/08/02 20:03 ID: h7guu1g

Epyc is quickly increasing AMD's server marketshare and roughly 70% of servers run some form of Unix/Linux.

21 : Anonymous2021/08/02 19:46 ID: h7gsft3

Steam shows Linux marketshare is now at 1%. That's a ton of people.

22 : Anonymous2021/08/02 19:46 ID: h7gsjio

You forgot /s

23 : Anonymous2021/08/03 11:59 ID: h7jkaju

Boy do you have a lot to learn lol

24 : Anonymous2021/08/02 20:39 ID: h7gzr83

And half of them have already downvoted you

25 : Anonymous2021/08/02 20:40 ID: h7gzulz

LoL true

26 : Anonymous2021/08/02 19:44 ID: h7gs9ny

I wonder, will this cpu be able to exclusively run linux, or will you still have the freedom to run any OS on it?

27 : Anonymous2021/08/02 19:52 ID: h7gtcj6

Sigh... they're working on Linux driver code that tunes CPU performance, not on a physical new CPU.

Try reading articles

28 : Anonymous2021/08/02 22:55 ID: h7hhuf1

I don't have the time to read every article linked to a reddit post I'm reading lol.

Besides, there's always people like you to answer, so it's all good 😉

Thanks!

29 : Anonymous2021/08/02 22:22 ID: h7hdjb0

how about you work on ARM instead of dogshit x86?

30 : Anonymous2021/08/03 11:26 ID: h7jhdzc

Woooowie outdated arch one is better than outdated arch two guys because Tim Apple said so.

引用元:https://www.reddit.com/r/Amd/comments/owht35/amd_valve_working_on_new_linux_cpu_performance/

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x