Re: AMD Pstate
From: Mike Lothian <hidden>
Date: 2021-11-24 00:17:29
On Tue, 23 Nov 2021 at 11:33, Huang Rui [off-list ref] wrote:
quoted
Hi Yes I used v4 and CONFIG_CPU_FREQ_GOV_SCHEDUTIL was set as the default, is there any other info that would be useful, I can switch back to schedutil from ondemand and collect for youquoted
quoted
quoted
That's on a AMD Ryzen 9 5900HXMay I know the CPU family/model id? (you can dump it from lscpu) But you may need to add "amd_pstate.shared_mem=1" in your grub to enable the shared memory manually. Because we are debugging the performance issue on shared memory solution, so it is disabled by default.quoted
quoted
quoted
amd_des_perf = clamp_t(unsigned long, amd_des_perf,It's not the V4's codes. I renamed this variate in the V4. Thanks, Ray
Hmm very strange, can you confirm this download from patchwork (which is what's applied) is correct or not https://patchwork.kernel.org/series/582973/mbox/ Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Address sizes: 48 bits physical, 48 bits virtual Byte Order: Little Endian CPU(s): 16 On-line CPU(s) list: 0-15 Vendor ID: AuthenticAMD Model name: AMD Ryzen 9 5900HX with Radeon Graphics CPU family: 25 Model: 80 Thread(s) per core: 2 Core(s) per socket: 8 Socket(s): 1 Stepping: 0 Frequency boost: enabled CPU max MHz: 4890.0000 CPU min MHz: 400.0000 BogoMIPS: 6587.55 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misaligns se 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bm i2 erms invpcid cqm rdt_a rdseed adx clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local clzero irperf xsaveerptr rdpru wbnoinvd cppc arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif v_spec_ctrl umip pku vaes vpclmulqdq rdpid overflow_re cov succor smca fsrm Virtualization features: Virtualization: AMD-V Caches (sum of all): L1d: 256 KiB (8 instances) L1i: 256 KiB (8 instances) L2: 4 MiB (8 instances) L3: 16 MiB (1 instance) Vulnerabilities: Itlb multihit: Not affected L1tf: Not affected Mds: Not affected Meltdown: Not affected Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP always-on, RSB filling Srbds: Not affected Tsx async abort: Not affected