May 13, 2012

How do I configure Debian to use available physical memory to speed up Samba connections?


I want to maximize the speed of the connections by using more of the available RAM that we have in our server (there’s 4GB worth). What files would I need to edit, what directives would I need to add, etc.? How difficult would it be to implement something like this?

Asked by Tristan Hall


Linux will automatically manage and use the available memory for caches that speed up Samba (or any other I/O operation really). What you can do is tune swappiness and how the kernel will deal with those caches and buffers. You can read this for understanding/tuning swappiness and this about buffer invalidation and times.

A good reference for other performance tunings on samba is the O’Reilly book, there’s a part of it online here

Answered by coredump

Related posts:

  1. Samba share running on debian-squeeze slow on first connection
  2. Error while installing Samba on Debian
  3. Samba Domain Controller with Group Policy on Debian
  4. Samba: how to copy /etc/passwd to samba passwords on new versions of ubuntu server
  5. How do I configure SAMBA to use ADS & SMBPASSWD authentication?

Leave a comment