From: "Simon Martin" Subject: Re: Xen for real-time/embedded/automotive Date: Tue, 19 Nov 2013 01:27:39 +0000 Message-ID: References: <1384802050.16918.219.camel@Solace> Reply-To: Simon Martin Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============9193141661501837243==" Return-path: In-Reply-To: <1384802050.16918.219.camel@Solace> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Dario Faggioli , xen-devel Cc: Lars Kurth , Roland Heusser , Artem Mygaiev , Lovene Bhatia , Sisu Xi , Stefano Stabellini , George Dunlap , Joshua Whitehead , Drek Darkover , Stefano Panella , Nate Studer , mdavis@planetaryresources.com List-Id: xen-devel@lists.xenproject.org This is a MIME-formatted message. If you see this text it means that your E-mail software does not support MIME-formatted messages. --===============9193141661501837243== Content-Type: multipart/related; boundary="=_wombat.nemo.cl-15842-1384824504-0001-2" This is a MIME-formatted message. If you see this text it means that your E-mail software does not support MIME-formatted messages. --=_wombat.nemo.cl-15842-1384824504-0001-2 Content-Type: multipart/alternative; boundary="=_wombat.nemo.cl-15842-1384824504-0001-3" This is a MIME-formatted message. If you see this text it means that your E-mail software does not support MIME-formatted messages. --=_wombat.nemo.cl-15842-1384824504-0001-3 Content-Type: text/plain; format=flowed; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Dario, >From my limited development here I would say the following: 1.- The embedded systems I work on have just a flat memory space, no MMU= =20 or anything like that, so the Mini-OS example is total overkill. I am=20 writing a real minimalist PV guest based on that but it's amazing how=20 time consuming it's being. I'll be returning this to the project when=20 I'm happy with it, as long as you want it. 2.- As far as I am concerned there are 2 metrics that I will be=20 analysing once I have my little PV guest running: latency and jitter. As= =20 far as I am concerned, jitter can be worst that latency. In some systems= =20 you can compensate for latency, however jitter is much more difficult to= =20 handle. 3.- At the moment I am assuming that I will access a PCI NIC directly=20 from the PV guest. Would be nice to have a deterministic network access=20 via Dom0 drivers so I can carry on playing in virtual land. This can be=20 generalised to other hardware too. I'm sure I'll have more comments when I get further. Regards. ------ Original Message ------ From: "Dario Faggioli" To: "xen-devel" Cc: "Roland Heusser" ; "Joshua Whitehead"=20 ; "Drek Darkover" ; "Nate=20 Studer" ; "Lovene Bhatia"=20 ; "Stefano Panella" ;=20 "Sisu Xi" ; "Lars Kurth" ;=20 "Stefano Stabellini" ; "George Dunlap"= =20 ; "Artem Mygaiev"=20 ; "Simon Martin" ;=20 mdavis@planetaryresources.com Sent: 18/11/2013 16:14:10 Subject: Xen for real-time/embedded/automotive >Hello everyone, > >So, looking at the last Xen Developer Summit, other co-located and >previous conferences, as well as here on the list, there appears to be=20 >a >booming interest in running Xen on embedded systems of various kind. > >This mail to say that: > * we're ready to take up the challenge! > * in doing that, we really are interested in everyone's collaboration > or, at very least, feedback. > >So, if you work in embedded/automotive/aerospace/..., what are you >requirements? How can we improve Xen (on ARM) for your use case? > >Personally, I'm mostly interested on the scheduling, latency and, in >general, real-time angle. So whether it is on and Android phone/tablet, >an in-car infotinement system, an audio workstation or a rocket that=20 >you >want to run Xen, tell me/us what you need in terms of increased >determinism and decreased latencies! > >For instance, I think it would be nice to start with some measurements: >http://wiki.xenproject.org/wiki/Xen_Development_Projects#Is_Xen_ready_for_= the_Real-Time.2FEmbedded_World.3F >That would basically mean running some latency oriented benchmarks both >in Dom0 and in a guest(s), and compare the result with bare metal. >It would be similar to what Open Source Automation Development Lab >(OSADL) people do on "latency QA farm". Actually, how could would it be >to be able to get in touch with them and have Xen run in there? (They >already do something virt-related, but it's very limited). > >https://www.osadl.org/QA-Farm-Realtime.qa-farm-about.0.html >https://www.osadl.org/Real-time-host-and-kvm-virtualization.qa-farm-rt-hos= t-and-kvm.0.html > >Here they are some (more) links: > > - Presentations (from Lovene and Artem) of Xen on some typical=20 >embedded > systems (Android tablet and in-car infotinement) > *=20 >http://www.slideshare.net/xen_com_mgr/sruk-xen-presentation2013v7dualandro= id > http://www.youtube.com/watch?v=3DKm6gBnIqaWo&feature=3Dyoutu.be > *=20 >http://www.slideshare.net/xen_com_mgr/xen-in-oss-based-in-vehicle-infotain= ment-systems > http://www.youtube.com/watch?v=3Dpo1IeElg8tg&feature=3Dyoutu.be > > - The Real-Time Xen project Sisu is working on: > * https://sites.google.com/site/realtimexen/ > >Looking forward to hearing from you! > >Thanks and Regards, >Dario > >-- ><> (Raistlin Majere) >----------------------------------------------------------------- >Dario Faggioli, Ph.D, http://about.me/dario.faggioli >Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) > --=_wombat.nemo.cl-15842-1384824504-0001-3 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Hi Dario,
 
From my limited development here I would say the following:
 
1.- The embedded systems I work on have just a flat memory space,= no MMU or anything like that, so the Mini-OS example is total overkil= l. I am writing a real minimalist PV guest based on that but it's= amazing how time consuming it's being. I'll be returning this to the proje= ct when I'm happy with it, as long as you want it.
 
2.- As far as I am concerned there are 2 metrics that I will be analys= ing once I have my little PV guest running: latency and jitter. As far as= I am concerned, jitter can be worst that latency. In some systems you can= compensate for latency, however jitter is much more difficult to handle.
 
3.- At the moment I am assuming that I will access a PCI NIC directly= from the PV guest. Would be nice to have a deterministic network access= via Dom0 drivers so I can carry on playing in virtual land. This can be= generalised to other hardware too.
 
I'm sure I'll have more comments when I get further.
 
Regards.
 
 
------ Original Message ------
From: "Dario Faggioli" <dario.faggioli@citrix.com>
To: "xen-devel" <xen-dev= el@lists.xen.org>
Cc: "Roland Heusser" <heu= sserr@mail.gvsu.edu>; "Joshua Whitehead" <whitehej@mail.gvsu.edu>; "Drek Darkover" <wackerei@gmail.com>; "Nate Stude= r" <nate.studer@dornerwor= ks.com>; "Lovene Bhatia" <= lbhatia@samsung.com>; "Stefano Panella" <stefano.panella@citrix.com>; "Sisu Xi" <xisisu@gmail.com>; "Lars Kurth"= <lars.kurth@citrix.com>= ; "Stefano Stabellini" <stefano.stabellini@eu.citrix.com>; "George Dunlap" <George.Dunlap@eu.citrix.com>= ; "Artem Mygaiev" <arte= m.mygaiev@globallogic.com>; "Simon Martin" <smartin@milliways.cl>; mdavis@planetaryresources.com
Sent: 18/11/2013 16:14:10
Subject: Xen for real-time/embedded/automotive
 
Hello everyone,
 
So, looking at the last Xen Developer Summit, other co-located and =
previous conferences, as well as here on the list, there appears to= be a
booming interest in running Xen on embedded systems of various kind.=
 
This mail to say that:
 * we're ready to take up the challenge! 3D:-)
 * in doing that, we really are interested in everyone's collabor= ation
   or, at very least, feedback.
 
So, if you work in embedded/automotive/aerospace/..., what are you =
requirements? How can we improve Xen (on ARM) for your use case?
 
Personally, I'm mostly interested on the scheduling, latency and, in=
general, real-time angle. So whether it is on and Android phone/tablet= ,
an in-car infotinement system, an audio workstation or a rocket that= you
want to run Xen, tell me/us what you need in terms of increased
determinism and decreased latencies!
 
For instance, I think it would be nice to start with some measurements= :
That would basically mean running some latency oriented benchmarks = both
in Dom0 and in a guest(s), and compare the result with bare metal. =
It would be similar to what Open Source Automation Development Lab =
(OSADL) people do on "latency QA farm". Actually, how could would it= be
to be able to get in touch with them and have Xen run in there? (They=
already do something virt-related, but it's very limited).
 
 
Here they are some (more) links:
 
 - Presentations (from Lovene and Artem) of Xen on some typical= embedded
   systems (Android tablet and in-car infotinement) =
 
 - The Real-Time Xen project Sisu is working on:
 
Looking forward to hearing from you!
 
Thanks and Regards,
Dario
 
--
<<This happens because I choose it to happen!>> (Raistlin= Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http:= //about.me/dario.faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)=
 
--=_wombat.nemo.cl-15842-1384824504-0001-3-- --=_wombat.nemo.cl-15842-1384824504-0001-2 Content-Type: image/png Content-Transfer-Encoding: base64 Content-Disposition: inline Content-Id: iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACx jwv8YQUAAAJXSURBVDhPnZBPSJNxGMefQ5d2SDpUdCkIVl26tIiKUsOgWLEO6WHuUAgtoogORVDZ IQwkCLpIvEqZSvjiIZcQSb3OmZvCHCKLoQ7McKi1rXzpH72v2/v0fH9bq4OnBt993+f5fp7vCy8t dBNleoiWe4k+6uTK9pFPpIkMUbzsmH3IwYHHHTOXHsoFbpH+Jbxv1vpw1yzmu2z++tyBY8YeObi1 CtyL+vqhH6kLOc5rzFlRros531NyzLJHDg58pWDuMbnmO0n/ngzklkb8/KZ1h9Ji9BI7y4+U/9kh Bwced6og3U6+xYHdaef9RV4yvJx5fZozRj0vRwLszDcrx4w9cnDgcacKUm2kfZusN4tTp9gcPc6F gsWeoMZm7AwXU+eUY8YeOTjwuFMFUw/JsN757UK8jlfCRxQY1BK8MlzHhcRJ5ZixV7lw4HGnCuL3 KV5INjirsWouqZZXx6Cj/0hm7MsMeNypgmgLGT/HvbY9coinn+5k++1hUTXbozWi2pJjlv10l+TC gcedKjBuk/bp5UHTGjrA/Tc3sH69il+1bKt8eWjw3nbuu7GR+29VMTjwuFMFoavki7ZuTlvDNZwN 7edQ8yaeScYk+/vDPHBni8rBgcedRETPzpOru4n0mSd7clbkBOcHvTyh7eXIg13q7fBEu4c/yx45 OPC4UwUdAaL2RnJ3nl03lOrw5KyxANsTQbYnL4uulFxm7JGDA4+7SoHmJ2prILdIf3Ft6+xc7zHT DDfav8abHDhm7JGDA79WAeQS+USayBDFy44Ze+SKrxTg7//F9Bs8U4bjEi0nagAAAABJRU5ErkJg gg== --=_wombat.nemo.cl-15842-1384824504-0001-2-- --===============9193141661501837243== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============9193141661501837243==--