Use tmpfs for temp recordings and only write to media storage during events
See original GitHub issueAs per comments here, the recording changes in 0.9 are positive and have long-term storage benefits, but the continual recording requires any external storage/NAS devices to stay powered on/spinning. If tmpfs could be used to store temporary clips so Frigate only writes to media storage during detected events (if retain_days: 0
), then any external devices/NAS could power down/sleep during periods of no object detection. i.e. when no one is home, or overnight.
(I have seen a small increase in my rack’s power usage since moving to 0.9, with my 2-bay NAS running 24/7.)
Issue Analytics
- State:
- Created 2 years ago
- Reactions:6
- Comments:5 (2 by maintainers)
Top Results From Across the Web
How to make /tmp directory use RAM over FileSystem - Medium
For faster access to /tmp directory, like you are storing a video stream in it, it would then be best to have it...
Read more >transcoding to RAM : r/PleX - Reddit
The SSD I use for transcoding (and as a general temp drive) has a 1200TB write rating, and in the ~2.5 years I've...
Read more >Temporary files: RAM or disk? - LWN.net
Mounting /tmp on tmpfs puts all of the temporary files in RAM. ... of the mount options, but the memory is only actually...
Read more >How can I use RAM storage for the /tmp directory ... - Ask Ubuntu
My temporary files never get written to the disk. They get written to a RAM disk. I did put tmpfs /tmp tmpfs defaults,noatime,mode=1777...
Read more >PiKrellCam: motion vector detect + OSD web interface - Page 44 ...
wuster wrote: Hi I am trying to run a command at the end of the motion detect event. So in pikrejllcam.conf I am...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
There are some changes needed to make this work, but it’s on the list for post 0.9.0.
The
days
section just moved underretain
. See example here: https://github.com/blakeblackshear/frigate/discussions/2447Note that the new retain modes apply to the cache copy operation too. Using the new modes will reduce writes to disk even more.