this post was submitted on 04 Aug 2023
181 points (97.9% liked)

Explain Like I'm Five

14021 readers
39 users here now

Simplifying Complexity, One Answer at a Time!

Rules

  1. Be respectful and inclusive.
  2. No harassment, hate speech, or trolling.
  3. Engage in constructive discussions.
  4. Share relevant content.
  5. Follow guidelines and moderators' instructions.
  6. Use appropriate language and tone.
  7. Report violations.
  8. Foster a continuous learning environment.

founded 1 year ago
MODERATORS
 

In a similar vein, why can we not use the technology of RAM to prolong the life-cycle of an SSD?

you are viewing a single comment's thread
view the rest of the comments
[–] Lemvi@lemmy.sdf.org 69 points 1 year ago (18 children)

Writing to an SSD damages the SSD, however things saved to an SSD are persistent, meaning the data isn't lost when the SSD doesn't get any power. Writing to RAM doesn't damage it and it is also quicker. However, data saved on RAM is not persistent, meaning that all data is lost as soon as the RAM is not connected to a power source. Also, RAM is a lot more expensive than SSD storage.

RAMs are already used to avoid writing to (or reading from) the SSD or HDD when possible, the concept is called "Caching"

[–] grahamsz@kbin.social 35 points 1 year ago (17 children)

Even if it's powered, RAM will lose its data on the order of a tenth of a second. RAM doesn't just require power, it requires that your computer constantly read and rewrite it - so every 64ms your computer has to read every gigabyte of RAM and write it back.

[–] naught@sh.itjust.works 7 points 1 year ago (4 children)
[–] rickdgray@lemmy.world 4 points 1 year ago

Dynamic RAM tracks bits by using a capacitor for each bit. Caps' charge bleeds out so you have to top it off again every so often. The way you do that is to just write the same data back again. So it reads and writes the same data to itself every refresh. The opposition to this is static RAM which does not use a capacitor and is just a clever arrangement of transistors. No refresh needed. It's not typically used commercially except under special requirements, though as transisters are significantly more expensive. So the refresh strategy is the better choice for consumer hardware. DRAM has been dominant for decades.

load more comments (3 replies)
load more comments (15 replies)
load more comments (15 replies)