Announcement

Collapse
No announcement yet.

PRAMFS: Persistent & Protected RAM Filesystem

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #11
    Originally posted by huhn_m View Post
    but pramfs will also preload. Because it has to get the stored data from somewhere.
    No it doesn't...
    "PRAMFS is targeted to fast I/O memory, and if the memory is non-volatile, the filesystem will be persistent."

    Thats what the site says. So what IS the difference for tmpfs on these devices? You need nv-ram anyways ...
    tmpfs is in RAM, RAM needs constant power to store data. If your desktop is powered off the RAM has no power.
    pramfs is in NV-RAM. NV-RAM is RAM with a constant power source. An example is the so called CMOS, which is the place where the BIOS stores its settings on desktop machines. That's why a desktop mainboard has a 3.3 V battery...
    So while you may have 16 GB RAM you have around 1 MB (maybe less... I think it starts from 16 KB?) NV-RAM, which is still filled up by the BIOS. That's why PRAMFS targets embedded devices...

    Comment


    • #12
      Originally posted by TAXI View Post
      tmpfs is in RAM, RAM needs constant power to store data. If your desktop is powered off the RAM has no power.
      pramfs is in NV-RAM. NV-RAM is RAM with a constant power source. An example is the so called CMOS, which is the place where the BIOS stores its settings on desktop machines. That's why a desktop mainboard has a 3.3 V battery...
      With real NVRAM (e.g. Flash, although currently some new techniques are being developed that will allow NVRAM that is almost as fast as DRAM), there is no need for a battery to keep its contents. The battery on your motherboard is still there for the clock that keeps the time while all or most of the motherboard is powered off though.

      Comment


      • #13
        Can this be used to offload periodic writes to hdd (such as logs) and then move it to hdd in one dump when powering off the system?

        Comment

        Working...
        X