<div>The purpose was to move seeking operations onto the ramdisk (ultimately NVRAM or battery-backed), and use a file system that allocates disk sectors in sequential order for scientific (no-delete) data streaming writes. It allows near full speed writing to the main (big RAID) storage, and yet a standard file system structure appears on the recorded data at little cost. Log-structured file systems serve a similar purpose, but the structure of the data and metadata is quite complex, and an additional step of "capping" is needed if random-access reads are to be reasonably fast.</div>

<div> </div>
<div>Larry<br> </div>
<div><span class="gmail_quote">On 5/19/08, <b class="gmail_sendername">Gerrard Geldenhuis</b> <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Gerrard.Geldenhuis@datacash.com" target="_blank">Gerrard.Geldenhuis@datacash.com</a>> wrote:</span> 
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div lang="EN-US" vlink="blue" link="blue">
<div>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Thanks for the update. I have not followed the thread closely… did you see any significant measured peformance increase in using lvm on a ramdisk?</span></font></p>

<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> </span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Regards</span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> </span></font></p>
<div style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: medium none; PADDING-LEFT: 4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: blue 1.5pt solid; PADDING-TOP: 0cm; BORDER-BOTTOM: medium none">
<div>
<div style="TEXT-ALIGN: center" align="center"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">
<hr align="center" width="100%" size="2">
</span></font></div>
<p><b><font face="Tahoma" size="2"><span style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</span></font></b><font face="Tahoma" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:linux-lvm-bounces@redhat.com" target="_blank">linux-lvm-bounces@redhat.com</a> [mailto:<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:linux-lvm-bounces@redhat.com" target="_blank">linux-lvm-bounces@redhat.com</a>] <b><span style="FONT-WEIGHT: bold">On Behalf Of </span></b>Larry Dickson<br>
<b><span style="FONT-WEIGHT: bold">Sent:</span></b> 19 May 2008 15:37<span><br><b><span style="FONT-WEIGHT: bold">To:</span></b> LVM general discussion and development<br><b><span style="FONT-WEIGHT: bold">Subject:</span></b> Re: [linux-lvm] lvm partition on ramdisk</span></span></font></p>
</div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> </span></font></p>
<div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">Final results FYI in this investigation: A recent Ubuntu release gets past the 1TB limit. I found binaries for dosfstools_2.11-2.1ubuntu3 at 
<div><span><br> <br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://packages.ubuntu.com/feisty/otherosfs/dosfstools" target="_blank">http://packages.ubuntu.com/feisty/otherosfs/dosfstools</a> <br> <br>
and unpacked them with ar -x. The source is in<br> <br><a onclick="return top.js.OpenExtLink(window,event,this)" href="https://launchpad.net/ubuntu/+source/dosfstools/2.11-2.1ubuntu3" target="_blank">https://launchpad.net/ubuntu/+source/dosfstools/2.11-2.1ubuntu3</a><br>
 </span></div></span></font>
<p></p>
<p></p></p></div>
<div><span>
<div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">With 4KB sectors, it defaults to 128KB clusters and reaches over 97% write speed on an 8TB volume. The ramdisk area needed is a little over 512MB, so if you use 768MB you get quite a bit of room for directories also on ramdisk, and with a little finesse you can even make the subdirectories lay themselves down on ramdisk. To be "Windows-legal" you could use 32KB clusters and a little over 2GB ramdisk (or a little over 1GB with one FAT). Linux is happy with the big clusters, and according to the design should actually be willing to go to 16TB.<br>
<br>Larry</span></font></p></div>
<div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> </span></font></p></div>
<div>
<p><span><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">On 5/13/08, <b><span style="FONT-WEIGHT: bold">Stuart D. Gathman</span></b> <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:stuart@bmsi.com" target="_blank">stuart@bmsi.com</a>> wrote:</span></font></span> </p>

<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">On Tue, 13 May 2008, Larry Dickson wrote:<br><br>> on the full, unpartitioned lv. Then it mounted, with the entire FAT on<br>> ramdisk, and wrote very fast because FAT32 (like DOS) lays down data in<br>
> order from the start of a disk and does not skip around (I'd be interested<br>> if anyone knows any other file systems with that property).<br><br>The SysV filesystem put a fixed size inode table at the beginning of a<br>
partition.  More modern filesystems from ext to reiser try to distribute<br>the meta-data to keep it closer to the data.  This is, of course, counter<br>productive when the beginning of a disk is significantly faster and seek-free<br>
as in your setup.<br><br>Since ext3 inode placement is table driven (with the table in a magic inode),<br>there is probably a simple patch to mke2fs to create only one inode table at<br>the beginning of a drive.  In fact, I wonder if there is already an option...<br>
looks like -g blocks_per_group might do the trick - assuming inodes are<br>at the beginning of a block group, rather than the middle.  If not,<br>a patch to mke2fs is needed to do what you want.<br><br>--<br>             Stuart D. Gathman <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:stuart@bmsi.com" target="_blank">stuart@bmsi.com</a>><br>
   Business Management Systems Inc.  Phone: 703 591-0911 Fax: 703 591-6154<br>"Confutatis maledictis, flammis acribus addictis" - background song for<br>a Microsoft sponsored "Where do you want to go from here?" commercial.<br>
<br>_______________________________________________<br>linux-lvm mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:linux-lvm@redhat.com" target="_blank">linux-lvm@redhat.com</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="https://www.redhat.com/mailman/listinfo/linux-lvm" target="_blank">https://www.redhat.com/mailman/listinfo/linux-lvm</a><br>
read the LVM HOW-TO at <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://tldp.org/HOWTO/LVM-HOWTO/" target="_blank">http://tldp.org/HOWTO/LVM-HOWTO/</a></span></font></p></div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> </span></font></p></span></div></div></div></div><br>_______________________________________________<br>linux-lvm mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:linux-lvm@redhat.com" target="_blank">linux-lvm@redhat.com</a><br>
<a onclick="return top.js.OpenExtLink(window,event,this)" href="https://www.redhat.com/mailman/listinfo/linux-lvm" target="_blank">https://www.redhat.com/mailman/listinfo/linux-lvm</a><br>read the LVM HOW-TO at <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://tldp.org/HOWTO/LVM-HOWTO/" target="_blank">http://tldp.org/HOWTO/LVM-HOWTO/</a><br>
</blockquote></div><br>