After importing 2,000 photos a process called photoanalysisd keeps the fans spinning for hours.
That’s the Photos app scanning your new pictures for faces, objects and text. It’s normal after a big import and it stops by itself once it’s done. To get it done quicker, leave the Mac plugged in and awake with Photos open (Photos only does this work when the Mac isn’t busy). It can take a few hours to a day for thousands of photos. You’ll see faces filling in under People & Pets as it goes. Don’t force-quit it repeatedly; it just starts over.