perf: add performance optimizations for SMB
- dead time = 30: disconnect idle clients to free resources - large readwrite = yes: improved large file transfer performance - max xmit = 65535: maximum packet size for better throughput - write cache size = 1048576: 1MB write cache for write performance 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -6,6 +6,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- **Performance optimizations** (Dockerfile)
|
||||||
|
- `dead time = 30` — disconnect idle clients after 30 seconds to free resources
|
||||||
|
- `large readwrite = yes` — improved performance for large file transfers
|
||||||
|
- `max xmit = 65535` — maximum packet size for better throughput
|
||||||
|
- `write cache size = 1048576` — 1MB write cache for improved write performance
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
- **Fixed chown syntax error in perms function** (samba.sh:122)
|
- **Fixed chown syntax error in perms function** (samba.sh:122)
|
||||||
|
|||||||
@@ -52,6 +52,10 @@ RUN file="/etc/samba/smb.conf" && \
|
|||||||
smb2 max write = 8388608
|
smb2 max write = 8388608
|
||||||
smb2 max trans = 8388608
|
smb2 max trans = 8388608
|
||||||
smb2 max credits = 8192
|
smb2 max credits = 8192
|
||||||
|
dead time = 30
|
||||||
|
large readwrite = yes
|
||||||
|
max xmit = 65535
|
||||||
|
write cache size = 1048576
|
||||||
vfs objects = catia recycle
|
vfs objects = catia recycle
|
||||||
|
|
||||||
# Recycle bin
|
# Recycle bin
|
||||||
|
|||||||
Reference in New Issue
Block a user