This message was deleted.
# rancher-desktop
a
This message was deleted.
c
first, i configured it on the rd UI to use 6 CPUs, 16GB ram... but
limactl info
shows
Copy code
"cpuType": {
            "aarch64": "cortex-a72",
            "riscv64": "rv64",
            "x86_64": "host"
        },
        "cpus": 4,
        "memory": "4GiB",
i'm on x86_64
shouldn't those values match the UI?
seems that limactl info is buggy.. on limactl shell i do see 6 cpus identical to my host (minus some flags)
it reports MORE cpu cache in the vm though. can this cause worse performance?
and 100 more bogomips too 😅
f
limactl info
shows the settings from the
default.yaml
template. You should use
limactl ls
to inspect the settings of a specific instance.
c
oh. thanks!
does the CPU type mismatches may cause problems? fearing i might be harming qemu vritualization somehow
f
Well, in general you should not use
limactl
to interact with the RD instance, but it is ok if you know what you are doing, and are careful. E.g. you cannot use
limactl start
on the RD instance and expect it to start up the same way it would as if RD controlled it.
How do you detect the CPU mismatch?
c
good to know! i'm just probing things with limactl
i compared
/proc/cpu
on the host and inside
rdctl shell
f
idk, if you run
ps -ef | grep qemu
, do you see that it runs with
-cpu host
?
It should, and in that case any discrepancy would be due to whatever qemu is doing on your machine
Since you have
/proc/cpu
on the host, I assume you are on Linux. Are you using a recent version of
qemu
?
c
emu-system-x86_64 -m 16384 -cpu host -machine q35,accel=kvm -smp 6,sockets=1,cores=6,threads=1
no :( stuck on an old ubuntu version
Copy code
QEMU emulator version 4.2.1 (Debian 1:4.2-3ubuntu6.23)
that's from 2019 i guess. ubuntu 20.04 is the standard enterprise image we can use
f
The command looks fine; so I don't know if there is anything else to do if you are stuck with that version of qemu
Note that I don't know if a more recent version performs better
c
true. i will try to compile a bleeding edge one. worth the shot. if that is the solution i can think how to publish it to other devs
👍 1
thank you
f
You are welcome