An MBP 15" Mid 2012 is on High Sierra 10.13.6.
Its slowness was down to failing HD sectors, we replaced the HD with a SSD (cloned HD to SSD with CCC). Due to some corrupted pics in the Picture lib, we recovered the pictures lib from backup. Photos app needed for some reason to re-upload all 20,000 pics, this took 24 hrs.
It is now idle, i.e. no user activity but Activity Monitor tells me that the CPU is under almost 100% load, fans on full,
kernel_task writes loads of data, but hardly reads.
photoanalysisd reads a lot, but far, far less writes data.
Overall read/write activity almost constantly on 130-160 MB/sec, for many many hours on end.
There are a number of tasks that can make a newly installed system both busy and hot. I don’t recall in High Sierra, but Ventura tells you the computer will be slow while it optimises the SSD. In your case, the first suspect would be Photos trying to do face recognition and other nonsense on your 20,000 photos.
It would be so nice if there were a simple method to turn this off. While I use Photos, I do not need any of that face recognition baloney. I’d prefer not to waste CPU cycles on fluff I draw no benefit from. Why isn’t Apple “going green” here?
In the old days, when I knew enough Unix to be dangerous (forgotten most of it now, so I’m safe), I seem to recall we could nice a process that was a pig and it wouldn’t be given as many drinks per second from the CPU well. Could you say nice photoanalysisd (or its associated PID) and mitigate the problem?
@fischej Interesting idea, but I’m not confident enough to use a nice command, once this MBP is back in the hands of its owner, I can’t easily make changes anymore.
Unfortunately we are now almost back to square one, periods of normal behaviour, and then again an hour of 100 % CPU usage, high fan speeds and LOADS of data is being read and written. I never switched it off since before I started this thread, I only restarted it a few times.