Brain Dump

sync

Tags
comp-arch

Is a system-call that forces data, that your OS may cache into RAM or other physical memory as a performance improvement, to be written back to the disk. See sync.

Note: Linux, especially, is extreme when it comes to this. All unused memory is used as a giant disk cache.

Warn: in some cases, this sys-call may not do anything anyways.