This is very much dependent on how powerful the processor is. So trial and error is good.
However, recommended is Preset=Superfast, FPS is usually quite good with 10 FPS.
If you have many high-res cams you might need more threads to make a good video. So go to
If you have a licensed version you can enable Multi Threading that will give better result.