News: 0001505753

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

AMD 3D V-Cache Optimizer Driver To Be Merged For Linux 6.13

([AMD] 3 Hours Ago AMD 3D V-Cache Optimizer Driver)


Last month AMD Linux engineers posted patches for [1]a 3D V-Cache Optimizer driver for Linux that allows the user to communicate their cache vs. frequency preference depending upon workload and for the 3D V-Cache processors where some CCDs have the larger cache but not all. That driver is now ready for appearing in the upcoming [2]Linux 6.13 kernel.

The Ryzen X3D processors with 3D V-Cache for some core complex dies (CCDs) but not all can now have a bias set under Linux whether it should be optimized for frequency mode or cache mode. When the 3D V-Cache optimizer driver is set to frequency mode, cores with the faster CCD are prioritized over the larger cache but lower clocked CCD.

Alternatively, the "cache mode" of the 3D V-Cache Optimizer Driver sets the preference to cores within the CCD where there is the larger L3 cache before the CCD with the smaller L3 cache.

The 3D V-Cache frequency vs. cache mode preference with this driver can be set by users via the /sys/bus/platform/drivers/amd_x3d_vcache/AMDI0101\:00/amd_x3d_mode file. Writing a value to that sysfs file of "frequency" will set the frequency mode while "cache" will set the cache mode. Of course, reading from that file will tell you what mode the optimizer driver is currently functioning.

As of yesterday the AMD 3D V-Cache Optimizer Driver "amd_3d_vcache" was queued into [3]platform-drivers-x86.git's for-next branch . With it hitting that branch, it's now set to be merged for the upcoming Linux 6.13 merge window. The Linux 6.13 merge window is expected to begin next week while the stable Linux 6.13 kernel won't be out until around late January or early February. Some Linux distributions though [4]like CachyOS have already decided to back-port this driver for their kernel builds.



[1] https://www.phoronix.com/news/AMD-3DV-Cache-Optimizer-Linux

[2] https://www.phoronix.com/search/Linux+6.13

[3] https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=for-next

[4] https://www.phoronix.com/news/CachyOS-November-2024



avis

pWe00Iri3e7Z9lHOX2Qx

Once it hits the fan, the only rational choice is to sweep it up, package it,
and sell it as fertilizer.