I created an x64 OpenWrt image with the image builder and imported it into vSphere. It's running great and doing everything I want it to do, however there is one small thing that's triggering my OCD.
The virtual machine is consuming 24Mhz of CPU, whereas a Debian install that's doing nothing is managing to use 0MHz. Yes, I agree this is no big deal, but it would still be nice to understand it. Both Debian and OpenWrt are using the vmtoolsd (but I have tried stopping it on OpenWrt). In fact I have stopped all services on OpenWrt to see if any of them are taking CPU, but that made no difference. I guess something in the kernel is preventing a sleep mode.
Has anyone come across this before? Thanks!
EDIT: I've found some non-OpenWrt VMs with similar behaviour don't think it relates to OpenWrt.
The cpufreq directory is not there, so I guess I'm missing the relevant kernel module, and from a quick google seems to be something like modprobe cpufreq_userspace? I don't seem to have that module so I guess it's optional and I need to find the package. I couldn't find this package with a brief search (not that I looked very hard, however).
You appear to have not read my post, picked out a few choice bits and used that as the basis to have a go. I clearly stated "Yes, I agree this is no big deal, but it would still be nice to understand it." and I also drew the distinction between Debian and OpenWrt.
I found your post somewhat patronising. I saw a good dozen instances of OpenWrt which were reporting CPU usage, and a good dozen or so Debian instances which weren't. Reporting error? Maybe. What conclusion would you draw if you didn't know better? So I didn't see any reason for you to respond in this way, it would have been enough to simply report your experiences.
No he is concerned that a running machine with OpenWrt is using 24 Mhz while a running machine with Debian is using 0 Mhz and wanted to know more about this discrepancy.
This is clearly stated in the second sentence in OP.
Thanks bobafet for that, however I think this thread has run its course, and it doesn't really help anyone too much in terms of information content, for the record I am happy if the admins want to delete the entire topic, although I realise that may annoy the people who've contributed. Thanks for all the replies from people trying to help (I include Ileachii in that list).
EDIT: One thing to note, is that the CPU usage in vSphere can be misleading. For instance, I have one OpenWrt VM showing summary as:
But the realtime graph is showing non-zero values:
You'll see that same summary when viewing lists of machines. It seems the summary value can appear very consistent across sets of VMs with similar usage patterns. Will be interesting to compare with what Proxmox says.
I understood that, your rewording didn't change that, I answered according to your wording too. I really don't get why Debian...OpenWrt...I read it was 24 MHz. You can pretend like I didn't provide a suggestion too...to ANY RUNNING VM SHOWING 24 MHz.
Really acting like people can't read, I thought better of you.
I am capable of saying I didn't read (as I have before). And this is at least the 2nd time I said I did. So who can't read?
You keep people straight with truth, not lies, good sir.
There are people who grew up in my society (at least) - where you put them down by saying they cannot read (and other hurling of ignorant rants toward them). It's wrong.