Thread: Is ram faster at reading than writing?

  1. #1
    Registered User
    Join Date
    May 2004

    Is ram faster at reading than writing?

    Just curious, is it faster to read from ram, write to ram, or are they the same?

    I'm guessing they're the same, but I've been surprised before...

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    Both are likely to be variable in modern systems.

    From the processor point of view, how caches interact may have an impact
    Cache coherence - Wikipedia, the free encyclopedia

    The memory technology varies widely as well.
    Dynamic random-access memory - Wikipedia, the free encyclopedia

    Various DRAM types support 'burst' read modes (sequential memory locations), which can be very quick indeed.

    Flash memory in particular can be read quite quickly, but write times are a LOT slower.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. writing and reading files
    By oldie in forum C Programming
    Replies: 1
    Last Post: 07-03-2008, 04:54 PM
  2. Binary Tree - Reading From and Writing to a File
    By Ctank02 in forum C++ Programming
    Replies: 2
    Last Post: 03-15-2008, 09:22 PM
  3. constantly reading and writing to a tcp server
    By liri in forum Networking/Device Communication
    Replies: 4
    Last Post: 01-22-2008, 08:57 AM
  4. Reading out of and writing into the same file
    By Wiretron in forum C Programming
    Replies: 8
    Last Post: 12-30-2006, 02:04 PM
  5. File reading and writing
    By GaPe in forum C Programming
    Replies: 28
    Last Post: 12-31-2001, 01:34 PM