Photosight & Debian
Hey Debian, I've been working on how to buffer my RAW files so I can edit them without lag, kind of like keeping a server with a tight uptime. You ever tweak a storage pipeline so the data moves as fast as the light hits the sensor?
Got it, you want a pipeline that feels faster than a ping‑pong server. Load the RAW straight into RAM with a tmpfs or a memfd so the disk is only hit once. Mount the SSD with noatime and set a high queue depth in `hdparm` or `nvme` settings, then pipe that buffer straight to your editor or a script that does the heavy lifting. Keep the write path as short as possible: `dd if=/dev/zero of=/dev/null bs=64K count=1000` just to warm the cache, then start copying. Don’t over‑copy—use `rsync -W` or `cp --reflink` to avoid extra data trips. The sensor writes are already near‑real‑time; it’s the OS that usually lags. Tune the I/O scheduler to `deadline` or `noop` for SSD, and you’re looking at sub‑second latency, basically the speed of light from sensor to disk.