OK, so hold on … NOW what’s going on??? I deleted the filesystem … went to lunch … came back an hour later … recreated the filesystem with a metadata block size of 4 MB … and I STILL have a 1 MB block size in the system pool and the wrong fragment size in other pools…Kevin/root/gpfsroot@testnsd1# mmdelfs gpfs5All data on the following disks of gpfs5 will be destroyed:test21A3nsdtest21A4nsdtest21B3nsdtest21B4nsdtest23Ansdtest23Bnsdtest23Cnsdtest24Ansdtest24Bnsdtest24Cnsdtest25Ansdtest25Bnsdtest25CnsdCompleted deletion of file system /dev/gpfs5.mmdelfs: Propagating the cluster configuration data to allaffected nodes. This is an asynchronous process./root/gpfsroot@testnsd1# mmcrfs gpfs5 -F ~/gpfs/gpfs5.stanza -A yes -B 4M -E yes -i 4096 -j scatter -k all -K whenpossible -m 2 -M 3 -n 32 -Q yes -r 1 -R 3 -T /gpfs5 -v yes --nofilesetdf --metadata-block-size 4MThe following disks of gpfs5 will be formatted on node testnsd3:test21A3nsd: size 953609 MBtest21A4nsd: size 953609 MBtest21B3nsd: size 953609 MBtest21B4nsd: size 953609 MBtest23Ansd: size 15259744 MBtest23Bnsd: size 15259744 MBtest23Cnsd: size 1907468 MBtest24Ansd: size 15259744 MBtest24Bnsd: size 15259744 MBtest24Cnsd: size 1907468 MBtest25Ansd: size 15259744 MBtest25Bnsd: size 15259744 MBtest25Cnsd: size 1907468 MBFormatting file system ...Disks up to size 8.29 TB can be added to storage pool system.Disks up to size 16.60 TB can be added to storage pool raid1.Disks up to size 132.62 TB can be added to storage pool raid6.Creating Inode File12 % complete on Thu Aug 2 13:16:26 201825 % complete on Thu Aug 2 13:16:31 201838 % complete on Thu Aug 2 13:16:36 201850 % complete on Thu Aug 2 13:16:41 201862 % complete on Thu Aug 2 13:16:46 201874 % complete on Thu Aug 2 13:16:52 201885 % complete on Thu Aug 2 13:16:57 201896 % complete on Thu Aug 2 13:17:02 2018100 % complete on Thu Aug 2 13:17:03 2018Creating Allocation MapsCreating Log Files3 % complete on Thu Aug 2 13:17:09 201828 % complete on Thu Aug 2 13:17:15 201853 % complete on Thu Aug 2 13:17:20 201878 % complete on Thu Aug 2 13:17:26 2018100 % complete on Thu Aug 2 13:17:27 2018Clearing Inode Allocation MapClearing Block Allocation MapFormatting Allocation Map for storage pool system98 % complete on Thu Aug 2 13:17:34 2018100 % complete on Thu Aug 2 13:17:34 2018Formatting Allocation Map for storage pool raid152 % complete on Thu Aug 2 13:17:39 2018100 % complete on Thu Aug 2 13:17:43 2018Formatting Allocation Map for storage pool raid624 % complete on Thu Aug 2 13:17:48 201850 % complete on Thu Aug 2 13:17:53 201874 % complete on Thu Aug 2 13:17:58 201899 % complete on Thu Aug 2 13:18:03 2018100 % complete on Thu Aug 2 13:18:03 2018Completed creation of file system /dev/gpfs5.mmcrfs: Propagating the cluster configuration data to allaffected nodes. This is an asynchronous process./root/gpfsroot@testnsd1# mmlsfs gpfs5flag value description------------------- ------------------------ ------------------------------------f 8192 Minimum fragment (subblock) size in bytes (system pool)32768 Minimum fragment (subblock) size in bytes (other pools)-i 4096 Inode size in bytes-I 32768 Indirect block size in bytes-m 2 Default number of metadata replicas-M 3 Maximum number of metadata replicas-r 1 Default number of data replicas-R 3 Maximum number of data replicas-j scatter Block allocation type-D nfs4 File locking semantics in effect-k all ACL semantics in effect-n 32 Estimated number of nodes that will mount file system-B 1048576 Block size (system pool)4194304 Block size (other pools)-Q user;group;fileset Quotas accounting enableduser;group;fileset Quotas enforcednone Default quotas enabled--perfileset-quota No Per-fileset quota enforcement--filesetdf No Fileset df enabled?-V 19.01 (5.0.1.0) File system version--create-time Thu Aug 2 13:16:47 2018 File system creation time-z No Is DMAPI enabled?-L 33554432 Logfile size-E Yes Exact mtime mount option-S relatime Suppress atime mount option-K whenpossible Strict replica allocation option--fastea Yes Fast external attributes enabled?--encryption No Encryption enabled?--inode-limit 101095424 Maximum number of inodes--log-replicas 0 Number of log replicas--is4KAligned Yes is4KAligned?--rapid-repair Yes rapidRepair enabled?--write-cache-threshold 0 HAWC Threshold (max 65536)--subblocks-per-full-block 128 Number of subblocks per full block-P system;raid1;raid6 Disk storage pools in file system--file-audit-log No File Audit Logging enabled?--maintenance-mode No Maintenance Mode enabled?-d test21A3nsd;test21A4nsd;test21B3nsd;test21B4nsd;test23Ansd;test23Bnsd;test23Cnsd;test24Ansd;test24Bnsd;test24Cnsd;test25Ansd;test25Bnsd;test25Cnsd Disks in file system-A yes Automatic mount option-o none Additional mount options-T /gpfs5 Default mount point--mount-priority 0 Mount priority/root/gpfsroot@testnsd1#—Kevin Buterbaugh - Senior System AdministratorVanderbilt University - Advanced Computing Center for Research and EducationKevin.Buterbaugh@vanderbilt.edu - (615)875-9633On Aug 2, 2018, at 3:31 PM, Buterbaugh, Kevin L <Kevin.Buterbaugh@Vanderbilt.Edu> wrote:Hi All,_______________________________________________Thanks for all the responses on this, although I have the sneaking suspicion that the most significant thing that is going to come out of this thread is the knowledge that Sven has left IBM for DDN. ;-) or :-( or :-O depending on your perspective.Anyway … we have done some testing which has shown that a 4 MB block size is best for those workloads that use “normal” sized files. However, we - like many similar institutions - support a mixed workload, so the 128K fragment size that comes with that is not optimal for the primarily biomedical type applications that literally create millions of very small files. That’s why we settled on 1 MB as a compromise.So we’re very eager to now test with GPFS 5, a 4 MB block size, and a 8K fragment size. I’m recreating my test cluster filesystem now with that config … so 4 MB block size on the metadata only system pool, too.Thanks to all who took the time to respond to this thread. I hope it’s been beneficial to others as well…Kevin—Kevin Buterbaugh - Senior System AdministratorVanderbilt University - Advanced Computing Center for Research and EducationKevin.Buterbaugh@vanderbilt.edu - (615)875-9633On Aug 1, 2018, at 7:11 PM, Andrew Beattie <abeattie@au1.ibm.com> wrote:I too would second the comment about doing testing specific to your environmentWe recently deployed a number of ESS building blocks into a customer site that was specifically being used for a mixed HPC workload.We spent more than a week playing with different block sizes for both data and metadata trying to identify which variation would provide the best mix of both metadata performance and data performance. one thing we noticed very early on is that MDtest and IOR both respond very differently as you play with both block size and subblock size. What works for one use case may be a very poor option for another use case.Interestingly enough it turned out that the best overall option for our particular use case was an 8MB block size with 32k sub blocks -- as that gave us good Metadata performance and good sequential data performancewhich is probably why 32k sub block was the default for so many years ....Andrew BeattieSoftware Defined Storage - IT SpecialistPhone: 614-2133-7927E-mail: abeattie@au1.ibm.com----- Original message -----
From: "Marc A Kaplan" <makaplan@us.ibm.com>
Sent by: gpfsug-discuss-bounces@spectrumscale.org
To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org>
Cc:
Subject: Re: [gpfsug-discuss] Sub-block size not quite as expected on GPFS 5 filesystem?
Date: Thu, Aug 2, 2018 10:01 AM
Firstly, I do suggest that you run some tests and see how much, if any, difference the settings that are available make in performance and/or storage utilization.
Secondly, as I and others have hinted at, deeper in the system, there may be additional parameters and settings. Sometimes they are available via commands, and/or configuration settings, sometimes not.
Sometimes that's just because we didn't want to overwhelm you or ourselves with yet more "tuning knobs".
Sometimes it's because we made some component more tunable than we really needed, but did not make all the interconnected components equally or as widely tunable.
Sometimes it's because we want to save you from making ridiculous settings that would lead to problems...
OTOH, as I wrote before, if a burning requirement surfaces, things may change from release to release... Just as for so many years subblocks per block seemed forever frozen at the number 32. Now it varies... and then the discussion shifts to why can't it be even more flexible?
_______________________________________________
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://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsug.org%2Fmailman%2Flistinfo%2Fgpfsug-discuss&data=02%7C01%7CKevin.Buterbaugh%40vanderbilt.edu%7Cb821b9e8a6db4408fff308d5f80c907d%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C636687655210056012&sdata=SCzz05SABDQ0vxprDYfdKGOY1VES%2Fm0tIr2kRnGlY4c%3D&reserved=0
gpfsug-discuss mailing list
gpfsug-discuss at spectrumscale.org
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsug.org%2Fmailman%2Flistinfo%2Fgpfsug-discuss&data=02%7C01%7CKevin.Buterbaugh%40vanderbilt.edu%7C050353d8d80b4e272ab708d5f8b70361%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C636688387286266248&sdata=d1rBsXZEn1BlkmvHGKHvkk2%2FWmXAppqS5SbOQF0ZCrY%3D&reserved=0