Follow-up: ESS File systems
I’m trying to finalize my file system configuration for production. I’ll be moving 3-3.5B files from my legacy storage to ESS (about 1.8PB). The legacy file systems are block size 256k, 8k subblocks. Target ESS is a GL4, 8TB drives (2.2PB using 8+2p) For file systems configured on the ESS, the vdisk block size must equal the file system block size. Using 8+2p, the smallest block size is 512K. Looking at the overall file size histogram, a block size of 1MB might be a good compromise in efficiency and sub block size (32k subblock). With 4K inodes, somewhere around 60-70% of the current files end up in inodes. Of the files in the range 4k-32K, those are the ones that would potentially “waste” some space because they are smaller than the sub block but too big for an inode. That’s roughly 10-15% of the files. This ends up being a compromise because of our inability to use the V5 file system format (clients still at CentOS 6/Scale 4.2.3). For metadata, the file systems are currently using about 15TB of space (replicated, across roughly 1.7PB usage). This represents a mix of 256b and 4k inodes (70% 256b). Assuming a 8x increase the upper limit of needs would be 128TB. Since some of that is already in 4K inodes, I feel an allocation of 90-100 TB (4-5% of data space) is closer to reality. I don’t know if having a separate metadata pool makes sense if I’m using the V4 format, in which the block size of metadata and data is the same. Summary, I think the best options are: Option (1): 2 file systems of 1PB each. 1PB data pool, 50TB system pool, 1MB block size, 2x replicated metadata Option (2): 2 file systems of 1PB each. 1PB data/metadata pool, 1MB block size, 2x replicated metadata (preferred, then I don’t need to manage my metadata space) Any thoughts would be appreciated. Bob Oesterlin Sr Principal Storage Engineer, Nuance 507-269-0413
If you're into pondering some more tweaks: -i InodeSize is tunable system pool : --metadata-block-size is tunable separately from -B blocksize On ESS you might want to use different block size and error correcting codes for (v)disks that hold system pool. Generally I think you'd want to set up system pool for best performance for relatively short reads and updates.
Its also important to look into the actual space "wasted" by the "subblock mismatch". For example, a snip from a filehist output I've found somewhere: File%ile represents the cummulative percentage of files. Space%ile represents the cummulative percentage of total space used. AvlSpc%ile represents the cummulative percentage used of total available space. Histogram of files <= one 2M block in size Subblocks Count File%ile Space%ile AvlSpc%ile --------- -------- ---------- ---------- ---------- 0 1297314 2.65% 0.00% 0.00% 1 34014892 72.11% 0.74% 0.59% 2 2217365 76.64% 0.84% 0.67% 3 1967998 80.66% 0.96% 0.77% 4 798170 82.29% 1.03% 0.83% 5 1518258 85.39% 1.20% 0.96% 6 581539 86.58% 1.27% 1.02% 7 659969 87.93% 1.37% 1.10% 8 1178798 90.33% 1.58% 1.27% 9 189220 90.72% 1.62% 1.30% 10 130197 90.98% 1.64% 1.32% So, 72% of the files are smaller then 1 subblock ( 2M in the above case BTW). If, for example, we'll double it - we will "waste" ~76% of the files, and if we'll push it to 16M it will be ~90% of the files... But, we really care about capacity, right? So, going into the 16M extreme, we'll "waste" 1.58% of the capacity ( worst case of course). So, if it will give you ( highly depends on the workload of course) 4X the performance ( just for the sake of discussion) - will it be OK to pay the 1.5% "premium" ? Regards, Tomer Perry Scalable I/O Development (Spectrum Scale) email: tomp@il.ibm.com 1 Azrieli Center, Tel Aviv 67021, Israel Global Tel: +1 720 3422758 Israel Tel: +972 3 9188625 Mobile: +972 52 2554625 From: "Marc A Kaplan" <makaplan@us.ibm.com> To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Date: 10/04/2019 20:57 Subject: Re: [gpfsug-discuss] Follow-up: ESS File systems Sent by: gpfsug-discuss-bounces@spectrumscale.org If you're into pondering some more tweaks: -i InodeSize is tunable system pool : --metadata-block-size is tunable separately from -B blocksize On ESS you might want to use different block size and error correcting codes for (v)disks that hold system pool. Generally I think you'd want to set up system pool for best performance for relatively short reads and updates. _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org https://urldefense.proofpoint.com/v2/url?u=http-3A__gpfsug.org_mailman_listi...
Just to clarify - its 2M block size, so 64k subblock size. Regards, Tomer Perry Scalable I/O Development (Spectrum Scale) email: tomp@il.ibm.com 1 Azrieli Center, Tel Aviv 67021, Israel Global Tel: +1 720 3422758 Israel Tel: +972 3 9188625 Mobile: +972 52 2554625 From: "Tomer Perry" <TOMP@il.ibm.com> To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Date: 10/04/2019 23:11 Subject: Re: [gpfsug-discuss] Follow-up: ESS File systems Sent by: gpfsug-discuss-bounces@spectrumscale.org Its also important to look into the actual space "wasted" by the "subblock mismatch". For example, a snip from a filehist output I've found somewhere: File%ile represents the cummulative percentage of files. Space%ile represents the cummulative percentage of total space used. AvlSpc%ile represents the cummulative percentage used of total available space. Histogram of files <= one 2M block in size Subblocks Count File%ile Space%ile AvlSpc%ile --------- -------- ---------- ---------- ---------- 0 1297314 2.65% 0.00% 0.00% 1 34014892 72.11% 0.74% 0.59% 2 2217365 76.64% 0.84% 0.67% 3 1967998 80.66% 0.96% 0.77% 4 798170 82.29% 1.03% 0.83% 5 1518258 85.39% 1.20% 0.96% 6 581539 86.58% 1.27% 1.02% 7 659969 87.93% 1.37% 1.10% 8 1178798 90.33% 1.58% 1.27% 9 189220 90.72% 1.62% 1.30% 10 130197 90.98% 1.64% 1.32% So, 72% of the files are smaller then 1 subblock ( 2M in the above case BTW). If, for example, we'll double it - we will "waste" ~76% of the files, and if we'll push it to 16M it will be ~90% of the files... But, we really care about capacity, right? So, going into the 16M extreme, we'll "waste" 1.58% of the capacity ( worst case of course). So, if it will give you ( highly depends on the workload of course) 4X the performance ( just for the sake of discussion) - will it be OK to pay the 1.5% "premium" ? Regards, Tomer Perry Scalable I/O Development (Spectrum Scale) email: tomp@il.ibm.com 1 Azrieli Center, Tel Aviv 67021, Israel Global Tel: +1 720 3422758 Israel Tel: +972 3 9188625 Mobile: +972 52 2554625 From: "Marc A Kaplan" <makaplan@us.ibm.com> To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Date: 10/04/2019 20:57 Subject: Re: [gpfsug-discuss] Follow-up: ESS File systems Sent by: gpfsug-discuss-bounces@spectrumscale.org If you're into pondering some more tweaks: -i InodeSize is tunable system pool : --metadata-block-size is tunable separately from -B blocksize On ESS you might want to use different block size and error correcting codes for (v)disks that hold system pool. Generally I think you'd want to set up system pool for best performance for relatively short reads and updates. _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org https://urldefense.proofpoint.com/v2/url?u=http-3A__gpfsug.org_mailman_listi...
participants (3)
-
Marc A Kaplan -
Oesterlin, Robert -
Tomer Perry
