On rpi anything that interacts with the filesystem (db queries if you use sqlite, thumbnail caching etc) takes very long for a single filesystem access/read and if xbmc has to do that ~10'000 times it takes forever
Always read the online manual(wiki), FAQ(wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the forum rules(wiki).
Please read the pages on troubleshooting(wiki) and bug reporting(wiki) before reporting issues.