Permalänk
Medlem

Config optimering med ChatGPT

mest för att testa körde jag in min smb.conf och fstab i en chatt med "Optimized for large-file streaming" och fick lite förslag

fstab
ext4:
noatime,nodiratime
barrier=0
commit=60

Global SMB Settings for Streaming Increase socket buffer sizes → more in-flight data allows smoother streaming: socket options = TCP_NODELAY SO_RCVBUF=262144 SO_SNDBUF=262144 max xmit = 65536 Enable asynchronous I/O aggressively → speeds up large sequential reads/writes: aio read size = 1 aio write size = 1 use sendfile = yes read raw = yes write raw = yes Leverage SMB3 features (SMB2/SMB3 leases) for caching without risking corruption: smb2 leases = yes oplocks = yes level2 oplocks = yes kernel oplocks = yes strict locking = no strict sync = no sync always = no Disable unnecessary logging for performance (keep essential logs only): log level = 1 max log size = 500

Har ni använt ChatGPT för att optimera konfigurationsfiler?

Visa signatur

chmod 775