• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.
  • The forums have been upgraded with support for dark mode. By default it will follow the setting on your system/browser. You may override it by scrolling to the end of the page and clicking the gears icon.

Linux Kernel 6.13 brings an option for AMD 3D Cache Processors

Joined
Jul 31, 2024
Messages
1,534 (5.25/day)
Note: This is not a support request topic. This is just an opinion and just for information.

This really shows how far behind we are in regards of optimisations. I see a lot of changes for the scheduler and such.



source: linux kernel / or:

CONFIG_AMD_3D_VCACHE: AMD 3D V-Cache Performance Optimizer Driver​

General informations​

The Linux kernel configuration item CONFIG_AMD_3D_VCACHE:

Help text​

The driver provides a sysfs interface, enabling the setting of a bias that alters CPU core reordering. This bias prefers cores with higher frequencies or larger L3 caches on processors supporting AMD 3D V-Cache technology.

If you choose to compile this driver as a module the module will be called amd_3d_vcache.

Hardware​

LKDDb​

Raw data from LKDDb:

Sources​

This page is automaticly generated with free (libre, open) software lkddb(see lkddb-sources).

The data is retrived from:

 
By "we", you mean Linux users compared to Windows users?
 
"Far behind" means nothing in the context. It's heterogeneous computing after all. Some parameters will favor some workloads, other parameters will favor others. There will never be a day when you will wake up and say "ok, we're done, now the driver does the perfect job". There is no perfect job in this context.
 
#2 We in the context of someone who has that processor, cares for optimising the operating system and uses a recent "custom" made linux kernel.

I saw a lot of optimisations in past weeks which looked like aimed for those intel P and E core processors.
There were also optimisations or changes to the scheduler a lot. In terms of security, but also a lot in terms of changed or newer kernel options.

edit: I just realised - the most affected cpus are most likely the ryzen 7950X3d or ryzen 7900X3d.
The ryzen 5800X3d, 7800X3d, 7600X3d, 5700X3d, 5600X3d should not be affected.


--

#3 there lies a lot of potential in regards of the compiler and in the form of the kernel.

e.g. less seconds to compile a code

I think it matters a lot where the code is executed on e.g. ryzen 7950X3d or ryzen 7900X3d


--

typical amd - no specs
when you look up an intel processor you see inital the launch date for any processor.

It seems the launch date was the 20th april 2022 for the ryzen 5800X3d. (~ a bit less than 3 years)

IT looks like March 2023 was the release date for the 7950X3d cpus. (~2 years)
 
Last edited:
I consider the Ryzen 5800X3d one of the first processors where this kernel option should be applied to. That is very long on the market.
This would be irrelevant to the 5800x3D, since there's no bias to set given that all cores are uniform with the V-cache.
This is relevant to stuff like 7950x3D, where you have CCDs with/without the V-cache, and may want to manually set a bias in an easier manner.
FWIW, there were similar patches for stuff like P/E-cores, for both intel and AMD.
#3 there lies a lot of potential in regards of the compiler and in the form of the kernel.

e.g. less seconds to compile a code
Not really? This specific example you gave is a embarrassingly parallel workload, there's no need for a bias to certain core types when you're going to use all of those anyway.

I think it matters a lot where the code is executed on e.g. ryzen 7950X3d or ryzen 7900X3d
I don't think it's that relevant in this case, the previous scheduler iterations were already good enough when deciding where to allocate stuff. It already had "knowledge" of different frequencies and capabilities in heterogeneous CPU configs. Friendly reminder that the kernel is pretty used to dealing with multiple different clusters of CPUs in the ARM world already.
 
A bit off topic - it's about windows.

My asus x670-p prime mainboard has a new uefi bios update.
Asus claims to install a new windows chipset driver. This was not clear on tne asus website

German news https://www.pcgameshardware.de/Main...Leistung-durch-neuen-Chipsatztreiber-1464167/

It seems msi and asus have newer windows amd chipset drivers with newer uefi updates. I think this is kinda similar for windows as the changes for the linux kernel. Only am5 mainboards

Pcgh forum claim most affected cpu ryzen 7950x3d and 7900x3d
 
Back
Top