On Aug 01, 2006, at 19:50:49, Ian Stirling wrote:
You probably don't actually want to flush the cache - but to write to a journal. 16M of cache - split into 32000 writes to single sectors spread over the disk could well take several minutes to write. Slapping it onto a journal would take well under .2 seconds. That's a non-trivial amount of storage though - 3J or so, 40mF@12V - a moderately large/expensive capacitor.
IMHO the best alternative for a situation like that is a storage controller with a battery-backed cache and a hunk of flash NVRAM for when the power shuts off (just in case you run out of battery), as well as a separate 1GB battery-backed PCI ramdisk for an external journal device (likewise equipped with flash NVRAM). It doesn't take much power at all to write a gig of stuff to a small flash chip (Think about your digital camera which runs off a couple AA's), so with a fair-sized on-board battery pack you could easily transfer its data to NVRAM and still have power left to back up data in RAM for 12 hours or so. That way bootup is fast (no reading 1GB of data from NVRAM) but there's no risk of data loss.
Cheers, Kyle Moffett - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: Solaris ZFS on Linux
- From: Krzysztof Halasa <[email protected]>
- Re: Solaris ZFS on Linux
- References:
- Re: the " 'official' point of view" expressed by kernelnewbies.org regarding reiser4 inclusion
- From: Adrian Ulrich <[email protected]>
- Solaris ZFS on Linux [Was: Re: the " 'official' point of view" expressed by kernelnewbies.org regarding reiser4 inclusion]
- From: "Horst H. von Brand" <[email protected]>
- Re: Solaris ZFS on Linux [Was: Re: the " 'official' point of view" expressed by kernelnewbies.org regarding reiser4 inclusion]
- From: Adrian Ulrich <[email protected]>
- Re: Solaris ZFS on Linux [Was: Re: the " 'official' point of view" expressed by kernelnewbies.org regarding reiser4 inclusion]
- From: Matthias Andree <[email protected]>
- Re: Solaris ZFS on Linux [Was: Re: the " 'official' point of view" expressed by kernelnewbies.org regarding reiser4 inclusion]
- From: "Nate Diller" <[email protected]>
- Re: Solaris ZFS on Linux [Was: Re: the " 'official' point of view" expressed by kernelnewbies.org regarding reiser4 inclusion]
- From: David Lang <[email protected]>
- Re: Solaris ZFS on Linux [Was: Re: the " 'official' point of view" expressed by kernelnewbies.org regarding reiser4 inclusion]
- From: "Nate Diller" <[email protected]>
- Re: Solaris ZFS on Linux [Was: Re: the " 'official' point of view" expressed by kernelnewbies.org regarding reiser4 inclusion]
- From: David Lang <[email protected]>
- Re: Solaris ZFS on Linux [Was: Re: the " 'official' point of view" expressed by kernelnewbies.org regarding reiser4 inclusion]
- From: "Nate Diller" <[email protected]>
- Re: Solaris ZFS on Linux [Was: Re: the " 'official' point of view" expressed by kernelnewbies.org regarding reiser4 inclusion]
- From: Matthias Andree <[email protected]>
- Re: Solaris ZFS on Linux [Was: Re: the " 'official' point of view" expressed by kernelnewbies.org regarding reiser4 inclusion]
- From: David Masover <[email protected]>
- Re: Solaris ZFS on Linux [Was: Re: the " 'official' point of view"expressed by kernelnewbies.org regarding reiser4 inclusion]
- From: David Lang <[email protected]>
- Re: Solaris ZFS on Linux [Was: Re: the " 'official' point of view"expressed by kernelnewbies.org regarding reiser4 inclusion]
- From: David Masover <[email protected]>
- Re: Solaris ZFS on Linux [Was: Re: the " 'official' point of view"expressed by kernelnewbies.org regarding reiser4 inclusion]
- From: Ian Stirling <[email protected]>
- Re: the " 'official' point of view" expressed by kernelnewbies.org regarding reiser4 inclusion
- Prev by Date: Re: [PATCH 32/33] x86_64: Relocatable kernel support
- Next by Date: Re: [PATCH 9/33] i386 boot: Add serial output support to the decompressor
- Previous by thread: Re: Solaris ZFS on Linux [Was: Re: the " 'official' point of view"expressed by kernelnewbies.org regarding reiser4 inclusion]
- Next by thread: Re: Solaris ZFS on Linux
- Index(es):