Skip to content

Instantly share code, notes, and snippets.

View sarabveer's full-sized avatar

Sarabveer Singh sarabveer

View GitHub Profile
@othyn
othyn / guide.md
Last active July 4, 2024 14:22
Fix horrendously bad macOS (12.3.1 tested) SMB (Samba) performance on Unraid

Intro

Out of the box, my SMB performance on macOS 12.3.1 would top out at around 20MB/s in short ~5 second bursts, which was absolutely horrendous, slow to navigate in Finder and slugish to interact with.

Since making these changes, I now get sustained ~80-100MB/s+ and instant Finder navigation which is superb and how things should be out-of-the-box (OOTB)!

May 2023 update: As of Ventura, the SMB issues were just horribly inconsistent and hard to maintain. Something in the combination of Unraid, macOS and SMB just doesn't play nice. I ended up binning NFS/SMB all together and heading to a locally hosted Nextcloud instance for file syncing, then using SFTP/Ansible Git flow for editing files within appdata.

Sources

@kevin-david
kevin-david / airgradient-02.yaml
Last active November 12, 2023 18:25
AirGradient DIY: ESPHome with Sleep (extend PM2.5 sensor lifetime)
##
## See https://github.com/kevin-david/home-assistant-shared/blob/main/esphome/airgradient.yml for future updates
##
substitutions:
name: airgradient-02
### Everything below this can be copy/paste between similar devices
esphome:
name: $name
@jbfriedrich
jbfriedrich / nsmb.conf
Last active June 24, 2024 11:22
macOS 11.2 NSMB configuration
# /etc/nsmb.conf - macOS 11.3 - 2021-04-29
#------------------------------------------------------------------------------
# SMB configuration for macOS 11.3 <-> Synology
#------------------------------------------------------------------------------
# Additional information:
# -----------------------
# https://support.apple.com/de-de/HT211927
# https://support.apple.com/en-us/HT208209
# https://apple.stackexchange.com/questions/309016/smb-share-deadlocks-since-high-sierra
# https://photographylife.com/afp-vs-nfs-vs-smb-performance