Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

up vote 4 down vote accepted

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

share|improve this answer
1  
In addition, you can improve performance if you use appropriate block sizes, aligned blocks and read-ahead settings for the block devices - disk, raid, lvm. –  Zrin May 16 '12 at 18:34

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.