S32S Virtual Interrupt and Hypervisor

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32S Virtual Interrupt and Hypervisor

871件の閲覧回数
NAA524534
Contributor II

Hi,

We are using S32S and want to create a virtual machine on same. As we understand that interrupts cant be directly routed once virtual machine is introduced. However hypervisor will be causing some delays to take an Hardware interrupt and route it to virtual machine. 

1) If possible please let us know delay approx delay time introduced due to same as our design is time critical.

2) If we want to act within 5 us of interrupt received, will it be wise decision to create virtual machine and use hypervisor?

3) Does machine necessarily require OS? Even though hypervisor present?

タグ(2)
0 件の賞賛
返信
1 返信

831件の閲覧回数
Lambert_Yang
NXP Employee
NXP Employee

Hi Neetigya,

 

Interrupt latencies introduced by EL2 are highly implementation-defined.

ARMv8 GIC3 provides a set of virtualization registers in hardware, but real efficiency varies among different hypervisor products due to different EL2 software designs. It's suggested to inquire hypervisor vendors about the committed performance.

Use cases are also an influential factor. For example, if only a few pending virtual interrupts holding in ICH_LR<n>_EL2 for a vPE, interrupt performance may be good. But when the total number of interrupts exceeds the maximum number of ICH_LR<n>_EL2, hypervisor software may save some interrupt entries to memory, which definitely increases interrupt firing time. Besides, multiple vPEs running on a single core also could cost the hypervisor more time to handle interrupts due to sharing the same hardware registers.

The hypervisor has many benefits but efficiency/performance is not one of them. If you have time-sensitive applications, you'd better measure critical metrics in a certain hypervisor software and real use cases.

It's up to users to choose multicore OS or hypervisor or both. Hypervisor provided similar functions as multicore OS, like VM scheduling. But virtualization is a key feature OS does not have, which brings benefits to isolation and cross-team cooperation. If there is a hypervisor presented, the need for OS could still be there, for example, AutoSAR standard compliance. So it really depends on the application and strategy.

タグ(2)
0 件の賞賛
返信