mediaanalysisd burning up CPU - High Sierra
Ever since I upgraded to High Sierra, when I leave my computer sitting idle for a few minutes, the CPU fan starts whirring like crazy. If I leave Activity Monitor open, I can see process mediaanalysisd fire up and start using 35-80% CPU. When I try to click on another app while that's running, it takes several seconds for the app to respond. Just wiggling the mouse and waiting a few seconds causes the process to go back to sleep.
I've seen other older threads that suggest deleting \System\Library\LaunchAgents\com.apple.mediaanalysisd.plist, but that can't be done, not even using the Terminal app and sudo rm. I saw one other thread that suggested rebooting in Recovery mode (Command-R) and re-installing the operating system. I've done that, and while my overall performance seems to have improved, I still get this silly process starting up.
What is this process doing? Is there some option I can set somewhere - perhaps in the Photos app - that will get it to stop?
MacBook Air (13-inch Mid 2012), OS X El Capitan (10.11.6), Thunderbolt display