I have (or hopefully had) this issue as well on my iMac 24".
My User account was migrated from my MacBook Pro 2016. At time of migration both were running macOS 11. macOS 12 Upgrade was installed to the iMac later - just in case this may make a difference.
I see tons of messages in system.log (mentioning, that ASL is taking over the message)
What I recently did - after these Safe Boot options, which only helped for a short period:
- Removed Docker App and a lot of its components,
- cleaned up some other outdated files and extensions,
- cleaned up the database files created by systemstats (in /private/var/db/systemstats/, check output in Terminal using "systemstats --list-files" or "ls -l /private/var/db/systemstats/*")
- rebooted my iMac.
Since then (yesterday - using sleep mode overnight) CPU and Memory usage seems to be fine - I hope it continues this way.
Of course I do not know, what solved the problem. A few days earlier I forced re-indexing my internal volume, which did not affect the issue. Potentially some systemstats DB files were migrated from the older Mac and systemstats had a really hard time to deal with them. Right now "systemstats --list-files" does not give any output, "ls /private/var/db/systemstats/*" gives several files,
Maybe this is helping some of you - and maybe helps Apple to fix the issue. Improved log rotation or discarding older files might be an improvement. Also sharing of Usage data with Apple is disabled on my machine. Maybe systemstats is therefore piling up more data than it can handle, because it would only remove the data locally after sharing it with Apple.