Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD/Xen samba performance low (compared to NetBSD/amd64)



On 03/08/2020 17:48, Sad Clouds wrote:

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.

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.

Mike


Home | Main Index | Thread Index | Old Index