Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: PRAMFS: Persistent & Protected RAM Filesystem

  1. #11
    Join Date
    Mar 2011
    Posts
    395

    Default

    Quote 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...

  2. #12
    Join Date
    Sep 2010
    Posts
    229

    Default

    Quote 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.

  3. #13
    Join Date
    Nov 2009
    Posts
    14

    Default

    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?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •