Document changes in mkfs.lustre defaults from LU-255
(LUDOC-3)
|
|
| Status: | Closed |
| Project: | Lustre Documentation |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Technical task | Priority: | Minor |
| Reporter: | Zhiqi Tao (Inactive) | Assignee: | Zhiqi Tao (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Rank (Obsolete): | 7187 |
| Description |
|
The default inode size in 1.8.7 and 2.1 has been changed to 2KB. The section should be updated: " 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 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. To " 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: 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. |
| Comments |
| Comment by Richard Henwood (Inactive) [ 08/Dec/11 ] |
|
Hi Zhiqi - thanks for this. One quick question: Should the last line also be updated to say '2 KB for example'?
|
| Comment by Zhiqi Tao (Inactive) [ 11/Dec/11 ] |
|
Hi Richard, The last line is referred to the average file size in the file system. We don't need to change the 4KB to 2KB. Thanks, |
| Comment by Andreas Dilger [ 13/Dec/11 ] |
|
This change is in http://review.whamcloud.com/1828. This is actually only a subset of the changes that were done to mkfs.lustre in |
| Comment by Andreas Dilger [ 18/Jan/12 ] |
|
The change 1828 was merged into the manual. |