Hi all.
I am trying to install Ubuntu Server in the native TrueNAS VM manager:
1 CPU (host CPU is a 12600K)
2 cores
2 threads per core
100GB disk (on a SATA SSD)
8 GB RAM
Have tried both Host Model and Host Passthrough (honestly not sure when you’d use either, but have tried both)
Virtio
Ensure Display Device enabled
Trying to install Ubuntu Server 24.04.2 from iso that is in a different dataset on the same SSD (I have a “vms” dataset, with both “iso” and “ubuntu” datasets within it for images and the actual VM we are talking about respectively).
I can sit there in Spice for 30 minutes and still not have booted to the actual installation screen (I select “Try or Install Ubuntu Server” from the boot loader). Is this normal? Some steps seem to take an actual age. For example, I’ve been looking at a flashing cursor below “[ OK ] Finished systemd-update-done.service - Update is Completed.” for like 5 minutes now.
Am I missing something? Is this normal?
Have run Ubuntu server in a Scale VM for over a year with much the same install as you listed but always SSH into it and avoid using Spice. My install is different these ways:
2GB RAM
UEFI
No storage preset
Custom Host- No passthroughs
Ubuntu is a ZVOL with only the ISO image also in the dataset.
I am using Scale 25.04.2.1 and experience the same poor VM performance as the TO. I am trying to install Ubuntu Desktop 25.04 as guest OS, using the Spice Web interface.
Truenas Host CPU is an AMD 4650G, 48G ECC RAM and the storage is SSDs only. The performance file sharing wise is just stellar.
I tried chaning the CPU model as well, and currently have a 2 CPU 2 thread setting. I can see a 4 threads high CPU usage on the host, whie the UI response in the Spice page is just dog slow.
i have seen this poor performance with Scale 24.10 as well.
I am running out of ideas, and the forum has some related threads, but all have no solution.
What I discovered is that it seems to be related to the graphics transport into the web browser client. Installing something in text mode, e.g. freebsd, works just fine.
Installing Ubuntu Desktop in very low resolution like 800x600 almost lets the installation complete. The higher the graphics resolution the quicker the VM breaks down.
Linux Mint 21 works fine in a VM.
Linux Mint 22 has severe performance issues. Not sure what the culprit is, could be the combination of the Javascript SPICE client and the spice agent spice-vdagent inside the VM.
This still holds true for the 25.10 release.
And it is not a SPICE webclient issue. The performance issue is the same using a dedicated vnc client to connect to the VM.