Memory-disk synchronization

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by imported>Citation bot at 22:15, 26 August 2025 (Altered template type. Add: eprint, class, date, bibcode, volume, journal, authors 1-4. Removed URL that duplicated identifier. Removed access-date with no URL. Removed parameters. Some additions/deletions were parameter name changes. | Use this bot. Report bugs. | Suggested by Headbomb | Linked from Wikipedia:WikiProject_Academic_Journals/Journals_cited_by_Wikipedia/Sandbox | #UCB_webform_linked 723/990). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Memory-disk synchronisation[1][2] 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

[edit | edit source]
  • 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

[edit | edit source]
  1. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  2. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).