Re: Dynamically adding VM's


Geoffroy Van Cutsem
 

Sounds good, I look forward to hearing back from you once you’ve started to get your hands dirty!! 😉

 

From: acrn-users@... <acrn-users@...> On Behalf Of Lonnie Cumberland
Sent: Monday, January 18, 2021 11:25 PM
To: acrn-users@...
Subject: Re: [acrn-users] Dynamically adding VM's

 

Hi Geiffrot,

 

That is awesome to hear as it sounds like I should be able to test the virtual GPU across User VM's as well as to do some testing for direct GPU assignment to a single user VM as well.

 

Just ordered the the NUC and am looking forward to it arriving later in the week.

 

Thanks again for all of your help and guidance.

Lonnie

 

 

On Mon, Jan 18, 2021 at 3:45 PM Geoffroy Van Cutsem <geoffroy.vancutsem@...> wrote:

Hi Lonnie,

 

Yes, you can share the graphics between VMs (Service and User VMs) on that platform. The technology is called GVT-g. Our latest release focusses more on GVT-d (i.e. direct assignment of the GPU to a VM), but I believe GVT-g should still work fine.

 

Cheers,

Geoffroy

 

From: acrn-users@... <acrn-users@...> On Behalf Of Lonnie Cumberland
Sent: Monday, January 18, 2021 5:31 PM
To: acrn-users@...
Subject: Re: [acrn-users] Dynamically adding VM's

 

Hi Geoffroy,

 

for the NUC that I think that I am getting:

 

Intel NUC NUC7i7DNHE Mini PC/HTPC, Intel Quad-Core i7-8650U Upto 4.2GHz, 32GB DDR4, 512GB SSD, WiFi, Bluetooth, 4k Support, Dual Monitor Capable, Windows 10 Pro (32GB Ram + 512GB SSD)

 

with

 

·         8th Generation Intel Quad-Core i7-8650U 1.9GHz With Turbo Boost Upto 4.2GHz, 8MB Cache

·         32GB DDR4 2400MHz, 512GB Solid State Drive SATA III (You Could Add A m.2 2nd Drive)

·         Intel UHD Graphics 620, Wifi, Bluetooth 4.2, Gigabit Ethernet, 4k Support, Dual Monitor Capable

·         Windows 10 Professional 64Bit, 4x USB 3.0, 2x HDMI, 1x Headphone/Microphone Combo Jack

 

It has the "Intel UHD Graphcis 620" which I am hoping to be able to share, at least for simple testing as vGPU's for some host OS's like Windows and Linux for development and testing.

Cheers,

Lonnie

 

On Mon, Jan 18, 2021 at 10:36 AM Geoffroy Van Cutsem <geoffroy.vancutsem@...> wrote:

Quick question on the GPU side: are you planning to share the GPU between different User VMs? Or will it be dedicated to one?

 

Thanks,

Geoffroy

 

From: acrn-users@... <acrn-users@...> On Behalf Of Lonnie Cumberland
Sent: Saturday, January 16, 2021 5:37 PM
To: acrn-users@...
Subject: Re: [acrn-users] Dynamically adding VM's

 

Hi All,

 

Well, I may have narrowed down the spec for the test rig:

 

1. Intel NUC NUC7i7DNKE Mini PC/HTPC, Intel Quad-Core i7-8650U Upto 4.2GHz, 32GB DDR4, 512GB m.2 SSD, WiFi, Bluetooth, 4k Support, Dual Monitor Capable, Windows 10 Pro (32GB Ram + 512GB SSD) -- $754.99

 

 

Since the https://projectacrn.github.io/latest/reference/hardware.html#hardware suggests that this system can support all of the usage scenarios.

 

2. Intel NUC NUC7i3DNHE Mini PC/HTPC, Intel Dual-Core i3-7100U 2.4GHz, 16GB DDR4, 512GB SSD, WiFi, Bluetooth, 4k Support, Dual Monitor Capable, Windows 10 Professional 64Bit (16GB Ram + 512GB SSD) -- $439.99

 

 

This one is a little cheaper as well a sa bit less powerful and may not support all of the ACRN scenarios but still might be a good deal

 

My criteria was basically:

 

A.) Able to run ACRN

B.) Reasonable RAM, and HDD (or SSD)

C.) Good Graphics Card for some GPU work and Dual HDMI

 

Any Other suggestions for a possible selection would be greatly appreciated?

 

Cheers,

Lonnie

 

 

 

On Sat, Jan 16, 2021 at 8:52 AM Lonnie Cumberland via lists.projectacrn.org <lonnie=outstep.com@...> wrote:

Hi Geoffroy,

 

Do you have any recommendations for a small inexpensive test rig (possibly NUC) with reasonable graphics that can run ACRN?  I think that instead of jumping to trying to get AMD working initially, that I should get a small Intel NUC test rig setup and start working with ACRN itself after which I can perhaps move to work towards making it work on AMD systems.  Baby steps first are better.

 

I am trying to decipher the acceptable hardware for a reasonable test rig with a reasonable GPU and a minimum of 8 - 16GB RAM, and perhaps a 500GB Drive or better but not sure of the Intel processor that is good. I see a lot of NUC systems with Core-i3, Core-i5, and Core-i7.  Seems like so many choices.

 

Any suggestions?

Lonnie

 

 

On Fri, Jan 15, 2021 at 7:10 PM Geoffroy Van Cutsem <geoffroy.vancutsem@...> wrote:

Hi Lonnie,

 

That reminds me that perhaps we should do a refresh of that video :-/

 

We do not use ClearLinux anymore inside the Service VM. We have switched to Ubuntu (for reasons linked to the way we boot, see below for a bit more details [1]). Now, that’s not to say you cannot run a different OS in the Service VM, the key will be to see if you can install all the right dependencies in it in order to run the Device Model (acrn-dm) which is the component providing the drivers (shared devices) for the User VMs. You can have a rough idea about those dependencies by looking at this section: https://projectacrn.github.io/latest/getting-started/rt_industry_ubuntu.html#build-the-acrn-hypervisor-on-ubuntu. These are the tools and development libraries needed to *build* ACRN. The runtime dependencies list is a little smaller, i.e. I don’t believe you need things like bison, flex, pkg-config, python3, git, make (and possibly others). I do not know TinyCore myself but if those packages are readily available for it, it may be a relatively straightforward exercise.

 

Cheers,

Geoffroy

 

[1] Staged removal of deprivileged boot mode support. ACRN has supported deprivileged boot mode to ease the integration of Linux distributions such as Clear Linux. Unfortunately, deprivileged boot mode limits ACRN’s scalability and is unsuitable for ACRN’s hybrid hypervisor mode. In ACRN v2.2, deprivileged boot mode is no longer the default and will be completely removed in ACRN v2.3. We’re focusing instead on using multiboot2 boot (via Grub).

 

 

 

From: acrn-users@... <acrn-users@...> On Behalf Of Lonnie Cumberland
Sent: Saturday, January 16, 2021 12:40 AM
To: acrn-users@...
Subject: Re: [acrn-users] Dynamically adding VM's

 

Hello Geoffroy,

 

I actually just came across a great video that cleared up the way that ACRN runs:

 

 

It helps a lot, but I see that Clear Linux is used a lot and for my project goals, it is still much too large. I need to be able to run something like TinyCore Linux or something with an Xserver that is around 20 - 50 MB max.

 

Cheers,

Lonnie

 

On Fri, Jan 15, 2021 at 6:16 PM Geoffroy Van Cutsem <geoffroy.vancutsem@...> wrote:

Hi Lonnie,

 

It’s great to see you interested to learn and potential contribute to ACRN!! :-)

 

The most flexible pre-defined scenario that we have is the “industry” scenario. It runs up to 8 VMs (inc. the Service VM), so that’s 7 User VMs – see also this table https://projectacrn.github.io/latest/introduction/index.html#id3

 

What do you mean by “bare-metal GUI”? Are you looking for a GUI that allows you to control ACRN (something akin to virt-manager for example)?

 

Have a nice week-end too!
Geoffroy

 

From: acrn-users@... <acrn-users@...> On Behalf Of Lonnie Cumberland
Sent: Friday, January 15, 2021 9:27 PM
To: acrn-users@...
Subject: [acrn-users] Dynamically adding VM's

 

Hi All,

 

I am beginning my exploration for ACRN as I think that it could offer what I need for my project which is based upon a nUltra-Litghtweight Hypervisor & Virtualizer like ACRN that will run a number of pre-loaded and dynamically loaded VM's which are composed of streamlined Unikernel applications all of which is run in RAM.

 

After searching for a VERY long time for possible candidates to use as a starting point with the strong criteria of:

 

1. Super small footprint

2. Able to run commodity guest OS's

3. Reliable and stable to semi-stable performance

4. Monolithic in design (as much as possible)

5. Would prefer it to run on Intel & AMD X86_64 based systems (others to follow)

 

I was able to narrow things down to:

 

A.) NOVA Hyervisor (Still Experimental and not mucd development, used in the Genode project)

B.) Xvisor

C.) ACRN Hypervisor

 

Both ACRN and Xvisor seem to be progressing and can offer many features but need development in some areas as well.

 

I like the very small footprint of ACRN and also that it is industrial grade for security which makes me want to use it as a starting point.

 

My goal is to do what I can to see if I can get it to run on AMD systems as well as the currently supported Intel systems and then give the patch back to the ACRN project.

 

I would also be interested to know if there is a scenario in which ACRN can dynamically load and start VM's as I did not read that in the scenario list.

 

Also, maybe finding a bare-metal GUI and adding it at a later time or perhaps in a VM as well.

 

Anyway, I look forward to seeing what I can learn and contribute to the ACRN project.

 

Cheers and have a great weekend,

Lonnie

Join acrn-users@lists.projectacrn.org to automatically receive all group messages.