Article · Wikipedia archive · Last revised May 30, 2026

Memory-disk synchronization

Memory-disk synchronisation is a process used in computers that immediately writes to disk any data queued for writing in volatile memory. Data is often held in this way for efficiency's sake, since writing to disk is a much slower process than writing to RAM. Disk synchronization is needed when the computer is going to be shut down, or occasionally if a particularly important bit of data has just been written.

Last revised
May 30, 2026
Read time
≈ 1 min
Length
166 w
Citations
2
Source

Memory-disk synchronisation12 is a process used in computers that immediately writes to disk any data queued for writing in volatile memory. Data is often held in this way for efficiency's sake, since writing to disk is a much slower process than writing to RAM. Disk synchronization is needed when the computer is going to be shut down, or occasionally if a particularly important bit of data has just been written.

In Unix-like systems, a disk synchronization may be requested by any user with the sync command.

See also

See also

  • mmap, a POSIX-compliant Unix system call that maps files or devices into memory
  • msync, a POSIX-compliant Unix system call that forcefully flush memory to disk and synchronize
References

References

  1. Chen, Congcong; Cui, Jinhua; Qu, Gang; Zhang, Jiliang (2024). "Write+Sync: Software Cache Write Covert Channels Exploiting Memory-Disk Synchronization". IEEE Transactions on Information Forensics and Security. 19: 8066–8078. Bibcode:2024ITIF...19.8066C. doi:10.1109/TIFS.2024.3414255.
  2. Chen, Congcong; Cui, Jinhua; Qu, Gang; Zhang, Jiliang (2023). "Write+Sync: Software Cache Write Covert Channels Exploiting Memory-disk Synchronization". arXiv:2312.11501 [cs.CR].