Hi all I'm currently about to deploy some flash systems (FS-900) to take our metadata for one of our Spectrum Scale file-systems. We use 4k inodes for this file-system. On the FS-900, when creating a volume, we get a choice of 512b or 4k sectors. Does anyone have a suggestion on this? On a spinning disk RAID array, I get what a strip size is and we'd use multiples of the stripe where possible for the block size. Is the sector size on the FS-900 the smallest chunk that can be written out? And so would it make sense to use 4k sectors for 4k GPFS inodes right? Related. In the deployment guide for the FS-900 arrays, if one is using a file-system (e.g. XFS) on the array the guide talks about aligning the partitions with with array, when GPFS is used on a storage array, does it automatically work out the sector alignment? Thanks Simon
Simon, I can't speak specifically to the FS-900, since I generally use Dell Compellent and NetApp EF arrays for flash today. But I also take care to ensure that the system pool metadata NSDs use RAID10 (or equivalent) rather than RAID5/6. For small 4K metadata writes, on a 4K blocksize LUN this could result in optimal writes. For larger native blocksize LUNs, it eliminates the parity calculation for read-modify-write operations. Thanks, Paul From: gpfsug-discuss-bounces@spectrumscale.org [mailto:gpfsug-discuss-bounces@spectrumscale.org] On Behalf Of Simon Thompson (Research Computing - IT Services) Sent: Monday, May 16, 2016 9:44 AM To: gpfsug-discuss@spectrumscale.org Subject: [gpfsug-discuss] Flash for metadata Hi all I'm currently about to deploy some flash systems (FS-900) to take our metadata for one of our Spectrum Scale file-systems. We use 4k inodes for this file-system. On the FS-900, when creating a volume, we get a choice of 512b or 4k sectors. Does anyone have a suggestion on this? On a spinning disk RAID array, I get what a strip size is and we'd use multiples of the stripe where possible for the block size. Is the sector size on the FS-900 the smallest chunk that can be written out? And so would it make sense to use 4k sectors for 4k GPFS inodes right? Related. In the deployment guide for the FS-900 arrays, if one is using a file-system (e.g. XFS) on the array the guide talks about aligning the partitions with with array, when GPFS is used on a storage array, does it automatically work out the sector alignment? Thanks Simon
Hi Paul, Thanks, interestingly the FS-900 only does raid5. I get no choice about that, I do get a sector size choice when I create a lun on it... I was also wondering how gpfs would do a metadata update. Would it be smart enough to know the sector size was 512b and only modify that, or would it always do a read modify write on the whole 4k inode? Simon -----Original Message----- From: Sanchez, Paul [Paul.Sanchez@deshaw.com<mailto:Paul.Sanchez@deshaw.com>] Sent: Monday, May 16, 2016 10:28 AM GMT Standard Time To: gpfsug-discuss@spectrumscale.org Subject: Re: [gpfsug-discuss] Flash for metadata Simon, I can’t speak specifically to the FS-900, since I generally use Dell Compellent and NetApp EF arrays for flash today. But I also take care to ensure that the system pool metadata NSDs use RAID10 (or equivalent) rather than RAID5/6. For small 4K metadata writes, on a 4K blocksize LUN this could result in optimal writes. For larger native blocksize LUNs, it eliminates the parity calculation for read-modify-write operations. Thanks, Paul From: gpfsug-discuss-bounces@spectrumscale.org [mailto:gpfsug-discuss-bounces@spectrumscale.org] On Behalf Of Simon Thompson (Research Computing - IT Services) Sent: Monday, May 16, 2016 9:44 AM To: gpfsug-discuss@spectrumscale.org Subject: [gpfsug-discuss] Flash for metadata Hi all I'm currently about to deploy some flash systems (FS-900) to take our metadata for one of our Spectrum Scale file-systems. We use 4k inodes for this file-system. On the FS-900, when creating a volume, we get a choice of 512b or 4k sectors. Does anyone have a suggestion on this? On a spinning disk RAID array, I get what a strip size is and we'd use multiples of the stripe where possible for the block size. Is the sector size on the FS-900 the smallest chunk that can be written out? And so would it make sense to use 4k sectors for 4k GPFS inodes right? Related. In the deployment guide for the FS-900 arrays, if one is using a file-system (e.g. XFS) on the array the guide talks about aligning the partitions with with array, when GPFS is used on a storage array, does it automatically work out the sector alignment? Thanks Simon
GPFS will issue 4K IOs if the file system is 4K-aligned, which is the default for 4.1.1+, and may issue requests as small as 512 bytes otherwise. If a given array presents 4K physical block size to the world, you won't be able to format a non-4K-aligned file system which puts metadata on that disk. It is generally believed that 4K IO size produces optimal performance with flash-based storage in general, because this is the native physical block size, and 512-byte sector emulation entails doing a read-modify-write. We don't have the data on how much difference the sector size actually makes. If in doubt, I would recommend going with 4K sectors and a 4K-aligned file system. yuri From: "Simon Thompson (Research Computing - IT Services)" <S.J.Thompson@bham.ac.uk> To: "'gpfsug-discuss@spectrumscale.org'" <gpfsug-discuss@spectrumscale.org>, Date: 05/16/2016 02:48 AM Subject: Re: [gpfsug-discuss] Flash for metadata Sent by: gpfsug-discuss-bounces@spectrumscale.org Hi Paul, Thanks, interestingly the FS-900 only does raid5. I get no choice about that, I do get a sector size choice when I create a lun on it... I was also wondering how gpfs would do a metadata update. Would it be smart enough to know the sector size was 512b and only modify that, or would it always do a read modify write on the whole 4k inode? Simon -----Original Message----- From: Sanchez, Paul [Paul.Sanchez@deshaw.com] Sent: Monday, May 16, 2016 10:28 AM GMT Standard Time To: gpfsug-discuss@spectrumscale.org Subject: Re: [gpfsug-discuss] Flash for metadata Simon, I can’t speak specifically to the FS-900, since I generally use Dell Compellent and NetApp EF arrays for flash today. But I also take care to ensure that the system pool metadata NSDs use RAID10 (or equivalent) rather than RAID5/6. For small 4K metadata writes, on a 4K blocksize LUN this could result in optimal writes. For larger native blocksize LUNs, it eliminates the parity calculation for read-modify-write operations. Thanks, Paul From: gpfsug-discuss-bounces@spectrumscale.org [ mailto:gpfsug-discuss-bounces@spectrumscale.org] On Behalf Of Simon Thompson (Research Computing - IT Services) Sent: Monday, May 16, 2016 9:44 AM To: gpfsug-discuss@spectrumscale.org Subject: [gpfsug-discuss] Flash for metadata Hi all I'm currently about to deploy some flash systems (FS-900) to take our metadata for one of our Spectrum Scale file-systems. We use 4k inodes for this file-system. On the FS-900, when creating a volume, we get a choice of 512b or 4k sectors. Does anyone have a suggestion on this? On a spinning disk RAID array, I get what a strip size is and we'd use multiples of the stripe where possible for the block size. Is the sector size on the FS-900 the smallest chunk that can be written out? And so would it make sense to use 4k sectors for 4k GPFS inodes right? Related. In the deployment guide for the FS-900 arrays, if one is using a file-system (e.g. XFS) on the array the guide talks about aligning the partitions with with array, when GPFS is used on a storage array, does it automatically work out the sector alignment? Thanks Simon_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
On 16/05/16 10:28, Sanchez, Paul wrote:
Simon,
I can’t speak specifically to the FS-900, since I generally use Dell Compellent and NetApp EF arrays for flash today. But I also take care to ensure that the system pool metadata NSDs use RAID10 (or equivalent) rather than RAID5/6. For small 4K metadata writes, on a 4K blocksize LUN this could result in optimal writes. For larger native blocksize LUNs, it eliminates the parity calculation for read-modify-write operations.
General point would it not make more sense to make multiple RAID1's and set replication of the metadata than make a RAID10? Preferably with the RAID1's on more than one storage array? Always gives me a warm fuzzy feeling to have my metadata replicated even if the data is not. JAB. -- Jonathan A. Buzzard Email: jonathan (at) buzzard.me.uk Fife, United Kingdom.
I think there are two points here: A) RAID striping is probably a "loser" for GPFS metadata. B) RAID mirroring for your metadata may or may not be faster and/or more reliable than GPFS replication. Depending on your requirements and assumptions for fault-tolerance one or the other might be the winner. But .. if you're serious about performance - measure, measure, measure and pick the winner. (And we'd like to know what you found!) And if you want the best performance, you'll probably need to (re)measure whenever you acquire new equipment. GPFS can do and does striping for high performance when reading and writing metadata and data...
Thanks to all those who replied (including off list). Someone reminded me that whilst the FlashSystem will support 512 and 4k blocks, it "prefers" 4k. Maybe there is a performance penalty for the smaller writes. Second, a flash update is always going to be read erase write. We don't get any choice with FlashSystem 900 on the RAID set - only RAID5 is available. Given we have two FlashSystems in two data centres, looks like we are going with 4k sectors and GPFS replication. I assume that creating several smaller LUNs on each FlashSystem in the same failure group is still preferable to one big LUN so we get more IO queues to play with? Simon -----Original Message----- From: Marc A Kaplan [makaplan@us.ibm.com<mailto:makaplan@us.ibm.com>] Sent: Wednesday, May 18, 2016 12:27 AM GMT Standard Time To: gpfsug main discussion list Subject: Re: [gpfsug-discuss] Flash for metadata I think there are two points here: A) RAID striping is probably a "loser" for GPFS metadata. B) RAID mirroring for your metadata may or may not be faster and/or more reliable than GPFS replication. Depending on your requirements and assumptions for fault-tolerance one or the other might be the winner. But .. if you're serious about performance - measure, measure, measure and pick the winner. (And we'd like to know what you found!) And if you want the best performance, you'll probably need to (re)measure whenever you acquire new equipment. GPFS can do and does striping for high performance when reading and writing metadata and data...
"I assume that creating several smaller LUNs on each FlashSystem in the same failure group is still preferable to one big LUN so we get more IO queues to play with?" Traditionally, more spindles, more disk arms working in parallel => better overall performance. HOWEVER Flash doesn't work that way... So it's going to depend... Perhaps some kind soul can point us to some information about this and how much it varies among today's flash based storage products.
I checked with the FS900 performance expert in Tucson, and here is what I was told: The 4KB and 512B blocks will both get equally great sub millisecond response times but 4KB can achieve a higher maximum IOPS rate. As far as # of luns, it doesn't really matter to the FS900, but the host operating system and other components in the data path can benefit from having more than 1 large lun. If we are trying to get the maximum possible iops, we typically run with at least 16 luns. I suspect with 4 luns you would get within 10% of the maximum performance. Thanks, Rick =================== Rick Welp Software Engineer Master Inventor Email: rwelp@uk.ibm.com phone: +44 0161 214 0461 IBM Systems - Manchester Lab IBM UK Limited -------------------------- From: "Marc A Kaplan" <makaplan@us.ibm.com> To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Date: 19/05/2016 11:00 pm Subject: Re: [gpfsug-discuss] Flash for metadata Sent by: gpfsug-discuss-bounces@spectrumscale.org "I assume that creating several smaller LUNs on each FlashSystem in the same failure group is still preferable to one big LUN so we get more IO queues to play with?" Traditionally, more spindles, more disk arms working in parallel => better overall performance. HOWEVER Flash doesn't work that way... So it's going to depend... Perhaps some kind soul can point us to some information about this and how much it varies among today's flash based storage products. _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
Thanks Rick for checking this. On number of LUNs, I vaguely had this in the back of my head, when we deployed our first Storwise, that was one of the reasons we built lots of metadata mirrored pairs rather than bigger arrays. Thinking back I remember reading it was something to do with multipath and how IO queues are processed back to the storage device. The storwise we have is dual active, so only one half "owns" the LUN, so I recall it was optimal to encourage gpfs to load over controllers by having more multipath accessible devices. And then thinking how you cable up to you LSI fc adapters as well.... Simon ________________________________________ From: gpfsug-discuss-bounces@spectrumscale.org [gpfsug-discuss-bounces@spectrumscale.org] on behalf of Richard Welp [RWelp@uk.ibm.com] Sent: 20 May 2016 20:47 To: gpfsug main discussion list Subject: Re: [gpfsug-discuss] Flash for metadata I checked with the FS900 performance expert in Tucson, and here is what I was told: The 4KB and 512B blocks will both get equally great sub millisecond response times but 4KB can achieve a higher maximum IOPS rate. As far as # of luns, it doesn't really matter to the FS900, but the host operating system and other components in the data path can benefit from having more than 1 large lun. If we are trying to get the maximum possible iops, we typically run with at least 16 luns. I suspect with 4 luns you would get within 10% of the maximum performance. Thanks, Rick =================== Rick Welp Software Engineer Master Inventor Email: rwelp@uk.ibm.com phone: +44 0161 214 0461 IBM Systems - Manchester Lab IBM UK Limited -------------------------- From: "Marc A Kaplan" <makaplan@us.ibm.com> To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Date: 19/05/2016 11:00 pm Subject: Re: [gpfsug-discuss] Flash for metadata Sent by: gpfsug-discuss-bounces@spectrumscale.org ________________________________ "I assume that creating several smaller LUNs on each FlashSystem in the same failure group is still preferable to one big LUN so we get more IO queues to play with?" Traditionally, more spindles, more disk arms working in parallel => better overall performance. HOWEVER Flash doesn't work that way... So it's going to depend... Perhaps some kind soul can point us to some information about this and how much it varies among today's flash based storage products. _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
participants (6)
-
Jonathan Buzzard -
Marc A Kaplan -
Richard Welp -
Sanchez, Paul -
Simon Thompson (Research Computing - IT Services) -
Yuri L Volobuev
