<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>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?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Regards<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
linux-lvm-bounces@redhat.com [mailto:linux-lvm-bounces@redhat.com] <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<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></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>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<br>
 <br>
<a href="http://packages.ubuntu.com/feisty/otherosfs/dosfstools">http://packages.ubuntu.com/feisty/otherosfs/dosfstools</a>
<br>
 <br>
and unpacked them with ar -x. The source is in<br>
 <br>
<a href="https://launchpad.net/ubuntu/+source/dosfstools/2.11-2.1ubuntu3">https://launchpad.net/ubuntu/+source/dosfstools/2.11-2.1ubuntu3</a><br>
 <o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>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<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><span class=gmailquote><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>On 5/13/08, <b><span style='font-weight:bold'>Stuart
D. Gathman</span></b> <<a href="mailto:stuart@bmsi.com">stuart@bmsi.com</a>>
wrote:</span></font></span> <o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>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 href="mailto:stuart@bmsi.com">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 href="mailto:linux-lvm@redhat.com">linux-lvm@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/linux-lvm">https://www.redhat.com/mailman/listinfo/linux-lvm</a><br>
read the LVM HOW-TO at <a href="http://tldp.org/HOWTO/LVM-HOWTO/">http://tldp.org/HOWTO/LVM-HOWTO/</a><o:p></o:p></span></font></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

</div>

</div>

</body>

</html>