Re: Running a Linux VM on older desktop, is it even worth trying?

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

 



Tim here, replying inline.

> 1. Most importantly, this machine is a decade old and I'm worried
> it'll choke on a virtual machine even if it's Linux-on-Linux,

For virtualization, the biggest factor is CPU support for
virtualization-specific instructions.  There's a lengthy write-up
on how to check for CPU support here

https://www.cyberciti.biz/faq/linux-xen-vmware-kvm-intel-vt-amd-v-support/

but you can check with this pipeline:

  $ sort -u /proc/cpuinfo | grep ^flags | grep -w lm | grep -w aes |
grep -qw -e vmx -e svm && echo yep || echo nope

It will output either "yep" (your CPU has the requisite features) or
"nope" if it doesn't.

With your CPU about a decade out, it's a bit more hit-or-miss.  My
similarly-aged daily driver doesn't have virtualization support, but
the laptop I bought for my wife around the same time does have
support.  Go figure.

> I already run into circumstances were Firefox+Orca slow to a
> crawl

Firefox alone (or chromium) is a bit of a hog on such specs, even
without Orca.  And Orca on those specs might be a bit sluggish.
Combining them is bound to be rough.  However, depending on how you
configure OS running in the VM, it can be roughly the same mediocre
experience with a GUI and running FF/Orca in the VM (the VM overhead
should be minimal).  Or it can be a treat if you are just doing
command-line or light-weight GUI stuff.

> My Specs are:
> 
> Vintage 2011 Intel i7. Exact model unknown

If you want the exact details you can either check the output of
"dmesg" or you can view /proc/cpuinfo (which is what I use above to
check for virtualization support)

> 4 GB RAM... I understand having this little RAM is practically
> unheard of these days so this is probably my biggest concern.

Seconded.  Though it's also one of the most common and cheapest
upgrades to provide, so if you can bump up the RAM (maybe even max it
out), it will make your life better across the board.  Even without
virtualizing.

> All of my hard drives are platter based.

Unfortunate, but not a deal-killer.

> I'm guessing it would be better to store the virtual drives for my
> virtual machines on one of my data drives instead of the system
> drive

Yes, this seems reasonable.

> No idea if I have integrated graphics or a proper graphics card,

If you're fully blind and just using an audio or Braille interface,
this may be a lot less of a concern rather than if you used the GUI
(with a magnifier or otherwise).  For what it's worth, you could
likely even get away with the X Virtual Framebuffer (xvfb) which
doesn't require any video card at all.

> 2. My system isn't setup to allow me to run a full desktop, and the
> script I use to launch Firefox+orca in a kiosk-like fashion

This is likely to be the biggest pain point.  Without knowing how
you have this configured, it may be hard for folks to help you to the
fullest extent.

> As a result, I need a Virtual machine that can be setup and run
> from a tty without X, ideally one that can run a GUI within the VM
> even if it can't render the view to the host(I don't have a monitor
> anyways, the only output I need from the VM is audio).

a couple options exist for doing things like this

1) do a non-GUI install, either with a local VM console or via a
serial-port connection.  Both of these should be as accessible as
your terminal.

2) have your VM install happen over VNC (getting this set up in the
first place is more complex)

3) the X protocol allows for using a "remote" machine (which could be
X running on your VM's host), so programs can run in the VM while
using the host's X display


> Does the Host OS being 32-bit restrict the guest OS to 32-bit

I'm less certain about this one.  My gut reaction says that it would
be better to use a 64-bit host OS to contain 32-bit or 64-bit guest
OSes.

_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/blinux-list




[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]