User Tools

Site Tools


samba:faster_samba_performance

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
samba:faster_samba_performance [2020/07/15 09:30] – external edit 127.0.0.1samba:faster_samba_performance [2021/02/03 23:23] (current) peter
Line 1: Line 1:
 ====== Samba - Faster Samba Performance ====== ====== Samba - Faster Samba Performance ======
 +
 +===== CPU =====
 +
 +SMB is single-threaded.  This means SMB uses only one CPU core to transfer a file.
 +
 +See:  https://www.samba.org/samba/docs/old/Samba3-Developers-Guide/architecture.html
 +
 +Usually this is not a problem as SMB does not fully utilize a CPU core.  But on extremely busy systems this could overload your CPU core.
 +
 +A better CPU, especially a multi-threaded one, will make a huge difference.
 +
 +==== Bypass single-thread limitation ====
 +
 +The single-thread limitation of SMB can be bypassed through opening multiple connections to your server.
 +
 +----
 +
 +===== Samba Configuration =====
  
 Samba’s default configuration is fairly poor. Samba’s default configuration is fairly poor.
  
-Here are a few options that I add to my smb.conf to get the speed that I need:+Options which help speed up Samba:
  
 <code smb> <code smb>
Line 86: Line 104:
 </code> </code>
  
 +----
 +
 +===== References =====
 +
 +https://wiki.samba.org/index.php/Performance_Tuning
 +
 +https://wiki.samba.org/index.php/Linux_Performance
 +
 +https://wiki.samba.org/index.php/Server-Side_Copy
 +
 +https://www.samba.org/~ab/output/htmldocs/Samba3-HOWTO/speed.html
 +
 +https://www.samba.org/samba/docs/current/man-html/smb.conf.5.html
 +
 +https://lists.samba.org/archive/samba-technical/attachments/20140519/642160aa/attachment.pdf
 +
 +https://www.samba.org/samba/docs/Samba-HOWTO-Collection.pdf 
 +
 +https://codeinsecurity.wordpress.com/2020/05/18/setting-up-smb-multi-channel-between-freenas-or-any-bsd-linux-and-windows-for-20gbps-transfers/
 +
 +https://www.snia.org/sites/default/files/SDC/2019/presentations/SMB/Metzmacher_Stefan_Samba_Async_VFS_Future.pdf
 +
 +https://www.heise.de/newsticker/meldung/Samba-4-12-beschleunigt-Verschluesselung-und-Datentransfer-4677717.html
 +
 +  
samba/faster_samba_performance.1594805433.txt.gz · Last modified: 2020/07/15 09:30 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki