On 03/08/2020 17:48, Sad Clouds wrote:
Samba uses multiple processes for parallelism. So there is a separate smbd process for each connection. So for a single share to a single client its single threaded. Multiple clients or multiple shares will spawn additional smbd processes.I believe Samba is single threaded, so can't take advantage of multiple CPUs for a single stream. I'm not a Xen expert, however I'm not sure running this in Dom0 is a representative test. I imagine most workloads would be done within a DomU, while Dom0 is just a control domain and allocates CPU and memory resources, so you may have additional overheads + latencies.
Mike