Whamcloud - gitweb
LUDOC-23: MDT/MDS space requirements updated for 2.x release. 28/1828/2
authorRichard Henwood <rhenwood@whamcloud.com>
Sun, 11 Dec 2011 18:44:43 +0000 (12:44 -0600)
committerRichard Henwood <rhenwood@whamcloud.com>
Mon, 12 Dec 2011 22:09:23 +0000 (16:09 -0600)
inode allocation is reduced as it is unlikely that 4K is ever used. If more
space is needed, space will be allocated outside of the inode. Allocating space
outside the inode will incur a performance penalty.

Signed-off-by: Richard Henwood <rhenwood@whamcloud.com>
Change-Id: I0081d77c430fceb362f1e53d93eb60ce817a3a0b

SettingUpLustreSystem.xml

index 72396c3..66f3e1e 100644 (file)
         <title><indexterm><primary>setup</primary><secondary>MDS/MDT</secondary></indexterm>
           <indexterm><primary>space</primary><secondary>determining MDS/MDT requirements</secondary></indexterm>
       Determining MDS/MDT Space Requirements</title>
-      <para>When calculating the MDT size, the important factor to consider is the number of files to be stored in the file system. This determines the number of inodes needed, which drives the MDT sizing. To be on the safe side, plan for 4 KB per inode on the MDT, which is the default value. Attached storage required for Lustre metadata is typically 1-2 percent of the file system capacity depending upon file size.</para>
+      <para>When calculating the MDT size, the important factor to consider is the number of files to be stored in the file system. This determines the number of inodes needed, which drives the MDT sizing. To be on the safe side, plan for 2 KB per inode on the MDT, which is the default value. Attached storage required for Lustre metadata is typically 1-2 percent of the file system capacity depending upon file size.</para>
       <para>For example, if the average file size is 5 MB and you have 100 TB of usable OST space, then you can calculate the minimum number of inodes as follows:</para>
       <informalexample>
         <para>(100 TB * 1024 GB/TB * 1024 MB/GB) / 5 MB/inode = 20 million inodes</para>
       </informalexample>
       <para>We recommend that you use at least twice the minimum number of inodes to allow for future expansion and allow for an average file size smaller than expected. Thus, the required space is:</para>
       <informalexample>
-        <para>4 KB/inode * 40 million inodes = 160 GB</para>
+        <para>2 KB/inode * 40 million inodes = 80 GB</para>
       </informalexample>
       <para>If the average file size is small, 4 KB for example, Lustre is not very efficient as the MDT uses as much space as the OSTs. However, this is not a common configuration for Lustre.</para>
       <note>