From 24598c9284ddc3a21a33ec2948edcbc4acd217c2 Mon Sep 17 00:00:00 2001 From: Richard Henwood Date: Sun, 11 Dec 2011 12:44:43 -0600 Subject: [PATCH] LUDOC-23: MDT/MDS space requirements updated for 2.x release. 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 Change-Id: I0081d77c430fceb362f1e53d93eb60ce817a3a0b --- SettingUpLustreSystem.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SettingUpLustreSystem.xml b/SettingUpLustreSystem.xml index 72396c3..66f3e1e 100644 --- a/SettingUpLustreSystem.xml +++ b/SettingUpLustreSystem.xml @@ -83,14 +83,14 @@ <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 - 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. + 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. 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: (100 TB * 1024 GB/TB * 1024 MB/GB) / 5 MB/inode = 20 million inodes 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: - 4 KB/inode * 40 million inodes = 160 GB + 2 KB/inode * 40 million inodes = 80 GB 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. -- 1.8.3.1