How to configure number of threads writting to Disk

It’s not configurable, but you can partition drives to increase the number of devices (each partition is a device in Linux). There will be a write-q and associated write thread for each device.

Just be aware that it’s unlikely your problem is write threads, but rather the overall performance of your drive.