
RAM as much as the OS supports (the motherboard/processor may support more, but the OS is the limiting factor)
Calibre will use as much CPU (core) as it can get if needed. Keep those fins and fans clean
Each of those 3K books is getting its Metadata updated as it is sent which will eat time.
As you noted: Flash memory is not the fastest horse in the race