Hmmm. I’m testing another import of my production forum data, this time on a fairly powerful VPS with 8 virtual cores and 16GB of RAM. I set:
UNICORN_SIDEKIQS=4
DISCOURSE_SIDEKIQ_WORKERS=20
UNICORN_WORKERS=16
With this it doesn’t seem to be taking advantage of all the cores during the import_topics stage:
Although it’s interesting that the CPU graph was pegged at over 600% (so ~6 out of 8 cores used at 100%) during the user_import stage.
I also noticed this env variable: RUBY_GLOBAL_METHOD_CACHE_SIZE=131072 would that be too small?

