Re: service VM ohne GUI einzulogen
Hi Jianjie,
From: acrn-users@... <acrn-users@...>
On Behalf Of Jianjie Lin
Sent: Tuesday, September 21, 2021 11:05 am To: acrn-users@... Subject: Re: [acrn-users] service VM ohne GUI einzulogen
Hi Geoffroy,
Thank you very much for your reply Regarding #1, you don’t need to modify the hypervisor for this. You can reconfigure the Service VM OS to boot in console mode. Assuming you are using Ubuntu, you can do so using “sudo systemctl set-default multi-user”
Regarding #2, I’m assuming that you did, but can you confirm that you verified that the User VM had the correct number of vCPUs assigned to it? (checking ‘lspcu’, or in ‘/proc/cpuinfo’).
[Geoffroy] You’re right, I meant ‘lscpu’ :-) Does that mean that you initially see 8 CPUs in the Service VM, and then 4 after you’ve launched the User VM (which has 4 cores assigned)? For the best performance, you would want to also make sure that all cores (hyperthreading) from a physical core are assigned to the same VM (either Service or User VM). A hyper-threading is not quite the same as a physical core and there are resources shared so performance will be impacted. It may be a good idea to also run your tests with hyper-threading turned off (in which case you’ll have a total of 4 cores to play with) to see if you see the same performance degradation when increasing the number of cores given to the User VM.
I am not an expert on OpenVINO, but have you run a similar test in a native environment?
[Geoffroy] Is that using any acceleration (such as GPU, etc.) in the native environment?
What version of ACRN are you using? The vCPUs you are assigning to the User VM are not shared anymore I’m assuming, is that correct?
[Geoffroy] The launch script typically offlines the CPUs it will give to the User VM. Otherwise I _think_ that the Service VM may still be using them. Are you setting any CPU affinity in your scenario file and/or via the launch script. It may be good actually if you could share your launch script and scenario file.
Thanks! Jianjie Lin
Von:
acrn-users@... [mailto:acrn-users@...]
Im Auftrag von Geoffroy Van Cutsem
Hi Jianjie,
Regarding #1, you don’t need to modify the hypervisor for this. You can reconfigure the Service VM OS to boot in console mode. Assuming you are using Ubuntu, you can do so using “sudo systemctl set-default multi-user”
Regarding #2, I’m assuming that you did, but can you confirm that you verified that the User VM had the correct number of vCPUs assigned to it? (checking ‘lspcu’, or in ‘/proc/cpuinfo’).
I am not an expert on OpenVINO, but have you run a similar test in a native environment?
What version of ACRN are you using? The vCPUs you are assigning to the User VM are not shared anymore I’m assuming, is that correct?
Thanks!
From:
acrn-users@... <acrn-users@...>
On Behalf Of Jianjie Lin
Hi Acrn Community, By evaluating the performance of Our whiskey lake board with acrn hypervisor. I have two questions about the performance in terms of gpu and cpu:
Interestingly, I changed the original industry scenario file so that the each uos can be assigned with more cpus (the default setting is each uos can be assigned with maximal 2 cpus). But we found, the performance is even worse than the less cpus.
Thank you very much for your support.
Cheers Jianjie Lin ------------------------------------------------------------------
|
|