[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AW: Xenalyze on ARM ( NXP S32G3 with Cortex-A53)


  • To: Julien Grall <julien@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: El Mesdadi Youssef ESK UILD7 <youssef.elmesdadi@xxxxxx>
  • Date: Fri, 13 Jan 2023 12:56:37 +0000
  • Accept-language: en-US
  • Cc: Stefano Stabellini <sstabellini@xxxxxxxxxx>
  • Delivery-date: Fri, 13 Jan 2023 12:58:02 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Msip_labels: MSIP_Label_7294a1c8-9899-41e7-8f6e-8b1b3c79592a_Enabled=true; MSIP_Label_7294a1c8-9899-41e7-8f6e-8b1b3c79592a_SetDate=2023-01-13T12:56:36Z; MSIP_Label_7294a1c8-9899-41e7-8f6e-8b1b3c79592a_Method=Privileged; MSIP_Label_7294a1c8-9899-41e7-8f6e-8b1b3c79592a_Name=Internal sub2 (no marking); MSIP_Label_7294a1c8-9899-41e7-8f6e-8b1b3c79592a_SiteId=eb70b763-b6d7-4486-8555-8831709a784e; MSIP_Label_7294a1c8-9899-41e7-8f6e-8b1b3c79592a_ActionId=62bd4c74-7e48-455d-9bb2-d2a1b76962ae; MSIP_Label_7294a1c8-9899-41e7-8f6e-8b1b3c79592a_ContentBits=0
  • Thread-index: Adkk/qg7kRGuW6KDReaFxxX6SSJ/1gA5Tq8AAFmZfbA=
  • Thread-topic: Xenalyze on ARM ( NXP S32G3 with Cortex-A53)

Hello Julien,

>>>xentrace should work on upstream Xen. What did you version did you try? 

While building my image using the BSP-linux of NXP, the version that was 
downloaded is Xen 4.14. 


>>>Can you also clarify the error you are seen?

The error I receive while tipping xentrace is: Command not found. I assume in 
this Xen version, Xentrace is not compatible with ARM architecture.

My question is, is there any new version of Xen that supports Xentrace on ARM? 
If yes how could I install it? Because Xen.4.14 was installed automatically by 
typing this ( DISTRO_FEATURES_append += "xen") in the local.conf file while 
creating my image.

Or is there any source on Xentrace that is compatible with ARM on GitHub, that 
I could download and compile myself?


>>>Yes if you assign (or provide para-virtualized driver) the 
>>>GPIO/LED/Can-Interface to the guest.

Is there any tutorial that could help me create those drivers? And how 
complicated is that, to create them?

Or can they be assigned just with PCI-Passthrough?



Thank you so much for the help.

Cheers,
Youssef El Mesdadi


-----Ursprüngliche Nachricht-----
Von: Julien Grall <julien@xxxxxxx> 
Gesendet: Mittwoch, 11. Januar 2023 18:41
An: El Mesdadi Youssef ESK UILD7 <youssef.elmesdadi@xxxxxx>; 
xen-devel@xxxxxxxxxxxxxxxxxxxx
Cc: Stefano Stabellini <sstabellini@xxxxxxxxxx>
Betreff: Re: Xenalyze on ARM ( NXP S32G3 with Cortex-A53)

(+Stefano)

On 10/01/2023 14:20, El Mesdadi Youssef ESK UILD7 wrote:
>>> Hello,
> 
>>>
> I'm trying to measure the performance of Xen on the S32G3 microprocessor, 
> unfortunately, after following the BSP-Linux to install Xen, I found that 
> Xentrace is not available or not compatible with ARM architecture. I have 
> seen some studies on  Xilinx, and how they made Xentrace compatible with ARM, 
> but I have no resources or access to get that and make it work on my Board. 
> If there is any help I would appreciate it and thanks in advance.

xentrace should work on upstream Xen. What did you version did you try? 
Can you also clarify the error you are seen?

> 
>>> I have some extra questions, and it will be helpful to share your 
>>> ideas with me,
> 
> 
>    *   Is it possible to run a native application ( C-code) on the virtual 
> machine, turn on a LED,  have access to the GPIO, or send some messages using 
> Can-Interface?

Yes if you assign (or provide para-virtualized driver) the 
GPIO/LED/Can-Interface to the guest.

>    *   My Board has no Ethernet, and no Extern SD Card, is there any method I 
> can use to build a kernel for an operating system with my laptop, and 
> transfer it to the board?

I am confused, if you don't have network and an external sdcard, then you did 
you first put Xen on your system?

In theory you could transfer the binary (using base64) via the serial console. 
But that's hackish. Instead, I would recommend to speak with the board vendor 
and ask them how you can upload your own software.

>    *   Any suggestions in detail to measure the interrupt latency, Xen 
> Overhead, and switch context (time to switch from one VM to another, that's 
> what I wanted to measure with Xenalyze)

xentrace will be your best bet. Otherwise, you will need to implement custom 
tracing.

Cheers,

--
Julien Grall


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.