We have a server with Intel(R) Xeon(R) Gold 6338N CPU @ 2.20GHz.
For this server the L1, L2, L3 caches seem not enabled...
Is there a way to check the CPU registers with msr tools (rdmsr/wrmsr) on Linux to see if the caches are enabled and optionally to enable/disable them ?
What are the relevant registers?
The problem is.... I found only relevant information on the CPU register CR0 for the CD bit, but the register CR0 can be accessed only from ring 0 (i.e. only from the kernel), instead my question is if there is the possibility to access registers relevant to the caches from ring 3 (i.e. user space).