Options

Write-back/through method?

ronorono Member Posts: 121 ■■■□□□□□□□
I have no idea what that means?I think ,it's about CPU!?

I searched in Mike Meyers book,5th edition and I didn't find anything about it.

Write back/through-found it in the test on this site.
Mess with the best,Die like the rest!

Comments

  • Options
    aznluvsmcaznluvsmc Member Posts: 47 ■■□□□□□□□□
    This has to do with caching methods of the CPU. In a write-back cache, the CPU will swap the data between it's L1/L2 cache and RAM. In a
    write-through cache, the CPU will swap the data with a permanenet storage medium instead such as a hard drive. Hence it is writing through the RAM to get to the hard drive.

    Write-back example:

    CPU L1/L2 cache
    > RAM Hard drive

    Write through example:

    CPU L1/L2 cache
    RAM
    > Hard drive

    = data
    > = point of write
  • Options
    ronorono Member Posts: 121 ■■■□□□□□□□
    ok..thank you! :)

    Nice and simple explanation!
    Mess with the best,Die like the rest!
  • Options
    dcgreen7dcgreen7 Member Posts: 3 ■□□□□□□□□□
    Write Through cache sends data directly to RAM, even if it means being delayed by a wait state. Write Back cache stores data and writes it to RAM later. (Meyers 4th edition, pages 109-110) Both types work with the CPU's L1 or L2 cache.

    Neither has anything to do with virtual memory.

    Dave
Sign In or Register to comment.