▲ | robotresearcher 3 days ago | |||||||||||||||||||||||||
A process’s memory in swap does not persist after the process quits or crashes. | ||||||||||||||||||||||||||
▲ | MomsAVoxell 3 days ago | parent [-] | |||||||||||||||||||||||||
That is true, but the point is that having swap available, increases the time between recording samples, and needing to commit them to disk. Well-written, long term recording software doesn’t quit or crash. It records what it needs to record, and - by using swap - gives itself plenty of time to flush the buffers using whatever techniques are necessary for safety. Disclaimer: I’ve written this software, both with and without swap available in various embedded contexts, in real products. The answer to the question is that having swap means higher data rates can be attained before needing to sync. | ||||||||||||||||||||||||||
|