|
CAT definition in the scenario xmls
I mean you can get L3 caches info from CPUID first. And then you can try cmd in ACRN console: rdmsr 0xc90 or wrmsr 0xc90 0x0ff thanks! Minggui
I mean you can get L3 caches info from CPUID first. And then you can try cmd in ACRN console: rdmsr 0xc90 or wrmsr 0xc90 0x0ff thanks! Minggui
|
By
Minggui Cao
· #1165
·
|
|
CAT definition in the scenario xmls
It depends on your board, you can use wrmsr in ACRN console to try your setting first. Thanks! Minggui
It depends on your board, you can use wrmsr in ACRN console to try your setting first. Thanks! Minggui
|
By
Minggui Cao
· #1163
·
|
|
CAT definition in the scenario xmls
Yes, correct. You can add your code in function: setup_clos There is a data structure: res_cap_info, if possible, you also can re-use it to configure your L2 CAT. Thanks Minggui
Yes, correct. You can add your code in function: setup_clos There is a data structure: res_cap_info, if possible, you also can re-use it to configure your L2 CAT. Thanks Minggui
|
By
Minggui Cao
· #1158
·
|
|
Using perf to access hardware events in pre-launched VM
Just synced with my colleague, the issue could be caused in your kernel configure of pre-launched VM: CONFIG_SERIAL_8250_DETECT_IRQ=y Please confirm. Thanks Minggui
Just synced with my colleague, the issue could be caused in your kernel configure of pre-launched VM: CONFIG_SERIAL_8250_DETECT_IRQ=y Please confirm. Thanks Minggui
|
By
Minggui Cao
· #1157
·
|
|
CAT definition in the scenario xmls
Hi, Jordan, You can use “wrmsr “ in ACRN console first to configure L2 CAT. If it works for your expectation. You can it into rdt code. Thanks! Minggui
Hi, Jordan, You can use “wrmsr “ in ACRN console first to configure L2 CAT. If it works for your expectation. You can it into rdt code. Thanks! Minggui
|
By
Minggui Cao
· #1155
·
|
|
Using perf to access hardware events in pre-launched VM
I don’t meet that issue. If you have Pre-launched RTVM / Service VM, you can check in ACRN console: vm_list And then vm_console N to switch the VM console. Thanks Minggui
I don’t meet that issue. If you have Pre-launched RTVM / Service VM, you can check in ACRN console: vm_list And then vm_console N to switch the VM console. Thanks Minggui
|
By
Minggui Cao
· #1152
·
|
|
CAT definition in the scenario xmls
Yes, it is for L3 CAT. You can check tgl-rvp.xml the board file, there are some changes for L3 info. Current, ACRN just supports one of L2/L3 CAT, if you need support both, you can do it as hard code.
Yes, it is for L3 CAT. You can check tgl-rvp.xml the board file, there are some changes for L3 info. Current, ACRN just supports one of L2/L3 CAT, if you need support both, you can do it as hard code.
|
By
Minggui Cao
· #1151
·
|
|
CAT definition in the scenario xmls
Hi, for CAT support (L2/L3), you can check it by cpuid; For L2, if on core platform it is private for a physical core, L3/LLC is shared between cores, if hyper-threading is not enabled, L2 CAT not hel
Hi, for CAT support (L2/L3), you can check it by cpuid; For L2, if on core platform it is private for a physical core, L3/LLC is shared between cores, if hyper-threading is not enabled, L2 CAT not hel
|
By
Minggui Cao
· #1148
·
|
|
Using perf to access hardware events in pre-launched VM
That is reasonable. It means APIC pass-through not set. Let me check, You can refer this file to modify yours: misc/config_tools/data/whl-ipc-i5/hybrid_rt.xml <vm id="0"> <vm_type>PRE_RT_VM</vm_type>
That is reasonable. It means APIC pass-through not set. Let me check, You can refer this file to modify yours: misc/config_tools/data/whl-ipc-i5/hybrid_rt.xml <vm id="0"> <vm_type>PRE_RT_VM</vm_type>
|
By
Minggui Cao
· #1147
·
|
|
Using perf to access hardware events in pre-launched VM
Hi, Paolo, Could you check again to rdmsr 0x186 and 0x38f? If the ACRN has not pass-through PMU to VM, it shall like following: root@10239146109sos-dom0:~# dmesg | grep -i pmu [ 0.143455] Performance
Hi, Paolo, Could you check again to rdmsr 0x186 and 0x38f? If the ACRN has not pass-through PMU to VM, it shall like following: root@10239146109sos-dom0:~# dmesg | grep -i pmu [ 0.143455] Performance
|
By
Minggui Cao
· #1144
·
|
|
Using perf to access hardware events in pre-launched VM
Following is an example from my side: ./perf stat -C 1 -e mem_load_retired.l2_hit,mem_load_retired.l2_miss,mem_load_retired.l3_hit,mem_load_retired.l3_miss ./pmu_mem -a 1 -p 80 -l 1 -m 12 Performance
Following is an example from my side: ./perf stat -C 1 -e mem_load_retired.l2_hit,mem_load_retired.l2_miss,mem_load_retired.l3_hit,mem_load_retired.l3_miss ./pmu_mem -a 1 -p 80 -l 1 -m 12 Performance
|
By
Minggui Cao
· #1141
·
|
|
Using perf to access hardware events in pre-launched VM
Hi, Paolo, If you can read 0x186, it means, you can read PMU MSRs, it shall work for perf to sample some events, like LLC misses. You can also check by: dmesg | grep -i pmu To check PMU driver is prob
Hi, Paolo, If you can read 0x186, it means, you can read PMU MSRs, it shall work for perf to sample some events, like LLC misses. You can also check by: dmesg | grep -i pmu To check PMU driver is prob
|
By
Minggui Cao
· #1140
·
|
|
Using perf to access hardware events in pre-launched VM
Hi,Paolo, In ACRN2.7 it has supported to pass-through PMU (hardware events) to RTVM. For cache-misses, LLC-stores, LLC-store-misses hardware events, it shall support. You can have a check for pre-laun
Hi,Paolo, In ACRN2.7 it has supported to pass-through PMU (hardware events) to RTVM. For cache-misses, LLC-stores, LLC-store-misses hardware events, it shall support. You can have a check for pre-laun
|
By
Minggui Cao
· #1135
·
|
|
How to get out of 'vmexit'
@Geoffroy Just confirmed, it is a bug. The vmexit info buffer handling just check the buffer size at the beginning. It need check each time when add info into it. I'll fix it. Thanks! Minggui
@Geoffroy Just confirmed, it is a bug. The vmexit info buffer handling just check the buffer size at the beginning. It need check each time when add info into it. I'll fix it. Thanks! Minggui
|
By
Minggui Cao
· #105
·
|
|
How to get out of 'vmexit'
I'll check that, it could be a bug for the command :(
I'll check that, it could be a bug for the command :(
|
By
Minggui Cao
· #104
·
|
|
How to get out of 'vmexit'
Normally, you're in the HV console after you input command "vmexit", you can still input other commands. On MRB it work well, just checked.
Normally, you're in the HV console after you input command "vmexit", you can still input other commands. On MRB it work well, just checked.
|
By
Minggui Cao
· #101
·
|
|
How to get out of 'vmexit'
I think you're talking different things. Vmexit command in "hypervisor console" is used to show the info/count which cause vmexit; it is used for debug. Not sure if it is included in our doc. After th
I think you're talking different things. Vmexit command in "hypervisor console" is used to show the info/count which cause vmexit; it is used for debug. Not sure if it is included in our doc. After th
|
By
Minggui Cao
· #99
·
|