samba:faster_samba_performance
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
samba:faster_samba_performance [2020/06/08 19:49] – peter | samba: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. | ||
+ | |||
+ | See: https:// | ||
+ | |||
+ | 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 32: | Line 50: | ||
# SERVER SIGNING SLOWS THINGS DOWN WHEN ENABLED. | # SERVER SIGNING SLOWS THINGS DOWN WHEN ENABLED. | ||
# THIS WAS DISABLED BY DEFAULT PRIOR TO SAMBA 4. | # THIS WAS DISABLED BY DEFAULT PRIOR TO SAMBA 4. | ||
- | # Thanks to Joe in the comments section! | ||
| | ||
Line 87: | Line 104: | ||
</ | </ | ||
+ | ---- | ||
+ | |||
+ | ===== References ===== | ||
+ | |||
+ | https:// | ||
+ | |||
+ | https:// | ||
+ | |||
+ | https:// | ||
+ | |||
+ | https:// | ||
+ | |||
+ | https:// | ||
+ | |||
+ | https:// | ||
+ | |||
+ | https:// | ||
+ | |||
+ | https:// | ||
+ | |||
+ | https:// | ||
+ | |||
+ | https:// | ||
+ | |||
+ | |
samba/faster_samba_performance.1591645760.txt.gz · Last modified: 2020/07/15 09:30 (external edit)