Re: dedicated logging devices

From: Andreas Dilger (adilger@turbolabs.com)
Date: Fri Jun 09 2000 - 11:32:08 EST


Xuan, you write:
> Is it reasonable to use the 50 bytes of /dev/nvram for logging or is it just
> too small?

It is definitely too small to write any transactions there, although it
may be possible to use it for a bitmap of some sort (400 bits). However,
my understanding would be that the CMOS NVRAM would be much too slow to
use reasonably, and it only has a limited number of writes, so using it
for part of a filesystem will surely mean death for it. Correct me if
I'm wrong for modern motherboard NVRAM.

The NVRAM that is being referred to is usually battery-backed RAM, so
it is very fast, can handle lots of write cycles, and has a fairly long
lifetime when the power is disconnected (uses rechargeable batteries).

Cheers, Andreas

-- 
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jun 15 2000 - 21:00:19 EST