[Samba] Ressources needed (cpus, ram, etc.) for a Samba server

Rowland Penny rpenny at samba.org
Wed Apr 10 14:53:00 UTC 2019

On Wed, 10 Apr 2019 10:43:34 -0300
Edouard Guigné via samba <samba at lists.samba.org> wrote:

> Dear Samba Users,
> I am preparing a Samba box as standalone server (only files server, 
> centos 7).
> This Samba box is a domain member server, and is dedicaded to serve 
> files to about 80 domain users.

Which is it, a standalone server or a Unix domain member, it cannot be
both ;-)

> I am wondering if there are some special requirements for this
> purpose in terms of CPUs, Memory ?

This is easy, the biggest most powerful CPU possible, as much memory as
possible and the biggest HD possible ;-)

> The Samba box is a Vmware virtual machine, so I can easely configure
> this.

To be honest, it all depends on the number of users and just how they
are going to use the Samba machine.

> I noticed also in some Samba configurations, parameter socket options
> is set with TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=819
> Does it worth still setting this parameter on recent linux system ?
> According to the wiki
> https://wiki.samba.org/index.php/Performance_Tuning : "The Samba team
> highly-recommends not setting the parameters described in this
> section without understanding the technical background and knowing
> the consequences. In most environments, setting these parameters or
> changing the defaults decreases the Samba network performance."

The kernel has got a lot smarter and you should probably just leave it
up to it.

It might help if you could post your proposed smb.conf, we could then
point out any problems or suggest improvements.


More information about the samba mailing list