very low read performance in simple spectrum scale/gpfs cluster with a storage-server SAN
In our lab we have received two storage-servers, Super micro SSG-6049P-E1CR24L, 24 HD each (9TB SAS3), with Avago 3108 RAID controller (2 GB cache) and before putting them in production for other purposes we have setup a small GPFS test cluster to verify if they can be used as storage (our gpfs production cluster has the licenses based on the NSD sockets, so it would be interesting to expand the storage size just by adding storage-servers in a infiniband based SAN, without changing the number of NSD servers) The test cluster consists of: 1) two NSD servers (IBM x3550M2) with a dual port IB QDR Trues scale each. 2) a Mellanox FDR switch used as a SAN switch 3) a Truescale QDR switch as GPFS cluster switch 4) two GPFS clients (Supermicro AMD nodes) one port QDR each. All the nodes run CentOS 7.7. On each storage-server a RAID 6 volume of 11 disk, 80 TB, has been configured and it is exported via infiniband as an iSCSI target so that both appear as devices accessed by the srp_daemon on the NSD servers, where multipath (not really necessary in this case) has been configured for these two LIO-ORG devices. GPFS version 5.0.4-0 has been installed and the RDMA has been properly configured Two NSD disk have been created and a GPFS file system has been configured. Very simple tests have been performed using lmdd serial write/read. 1) storage-server local performance: before configuring the RAID6 volume as NSD disk, a local xfs file system was created and lmdd write/read performance for 100 GB file was verified to be about 1 GB/s 2) once the GPFS cluster has been created write/read test have been performed directly from one of the NSD server at a time: write performance 2 GB/s, read performance 1 GB/s for 100 GB file By checking with iostat, it was observed that the I/O in this case involved only the NSD server where the test was performed, so when writing, the double of base performances was obtained, while in reading the same performance as on a local file system, this seems correct. Values are stable when the test is repeated. 3) when the same test is performed from the GPFS clients the lmdd result for a 100 GB file are: write - 900 MB/s and stable, not too bad but half of what is seen from the NSD servers. read - 30 MB/s to 300 MB/s: very low and unstable values No tuning of any kind in all the configuration of the involved system, only default values. Any suggestion to explain the very bad read performance from a GPFS client? Giovanni here are the configuration of the virtual drive on the storage-server and the file system configuration in GPFS Virtual drive ============== Virtual Drive: 2 (Target Id: 2) Name : RAID Level : Primary-6, Secondary-0, RAID Level Qualifier-3 Size : 81.856 TB Sector Size : 512 Is VD emulated : Yes Parity Size : 18.190 TB State : Optimal Strip Size : 256 KB Number Of Drives : 11 Span Depth : 1 Default Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache if Bad BBU Current Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache if Bad BBU Default Access Policy: Read/Write Current Access Policy: Read/Write Disk Cache Policy : Disabled GPFS file system from mmlsfs ============================ mmlsfs vsd_gexp2 flag value description ------------------- ------------------------ ----------------------------------- -f 8192 Minimum fragment (subblock) size in bytes -i 4096 Inode size in bytes -I 32768 Indirect block size in bytes -m 1 Default number of metadata replicas -M 2 Maximum number of metadata replicas -r 1 Default number of data replicas -R 2 Maximum number of data replicas -j cluster Block allocation type -D nfs4 File locking semantics in effect -k all ACL semantics in effect -n 512 Estimated number of nodes that will mount file system -B 1048576 Block size -Q user;group;fileset Quotas accounting enabled user;group;fileset Quotas enforced none Default quotas enabled --perfileset-quota No Per-fileset quota enforcement --filesetdf No Fileset df enabled? -V 22.00 (5.0.4.0) File system version --create-time Fri Apr 3 19:26:27 2020 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 134217728 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 Disk storage pools in file system --file-audit-log No File Audit Logging enabled? --maintenance-mode No Maintenance Mode enabled? -d nsdfs4lun2;nsdfs5lun2 Disks in file system -A yes Automatic mount option -o none Additional mount options -T /gexp2 Default mount point --mount-priority 0 Mount priority -- Giovanni Bracco phone +39 351 8804788 E-mail giovanni.bracco@enea.it WWW http://www.afs.enea.it/bracco ================================================== Questo messaggio e i suoi allegati sono indirizzati esclusivamente alle persone indicate e la casella di posta elettronica da cui e' stata inviata e' da qualificarsi quale strumento aziendale. La diffusione, copia o qualsiasi altra azione derivante dalla conoscenza di queste informazioni sono rigorosamente vietate (art. 616 c.p, D.Lgs. n. 196/2003 s.m.i. e GDPR Regolamento - UE 2016/679). Qualora abbiate ricevuto questo documento per errore siete cortesemente pregati di darne immediata comunicazione al mittente e di provvedere alla sua distruzione. Grazie. This e-mail and any attachments is confidential and may contain privileged information intended for the addressee(s) only. Dissemination, copying, printing or use by anybody else is unauthorised (art. 616 c.p, D.Lgs. n. 196/2003 and subsequent amendments and GDPR UE 2016/679). If you are not the intended recipient, please delete this message and any attachments and advise the sender by return e-mail. Thanks. ==================================================
Could maybe be interesting to drop the NSD servers, and let all nodes access the storage via srp ? Maybe turn off readahead, since it can cause performance degradation when GPFS reads 1 MB blocks scattered on the NSDs, so that read-ahead always reads too much. This might be the cause of the slow read seen — maybe you’ll also overflow it if reading from both NSD-servers at the same time? Plus.. it’s always nice to give a bit more pagepool to hhe clients than the default.. I would prefer to start with 4 GB. -jf fre. 5. jun. 2020 kl. 14:22 skrev Giovanni Bracco <giovanni.bracco@enea.it>:
In our lab we have received two storage-servers, Super micro SSG-6049P-E1CR24L, 24 HD each (9TB SAS3), with Avago 3108 RAID controller (2 GB cache) and before putting them in production for other purposes we have setup a small GPFS test cluster to verify if they can be used as storage (our gpfs production cluster has the licenses based on the NSD sockets, so it would be interesting to expand the storage size just by adding storage-servers in a infiniband based SAN, without changing the number of NSD servers)
The test cluster consists of:
1) two NSD servers (IBM x3550M2) with a dual port IB QDR Trues scale each. 2) a Mellanox FDR switch used as a SAN switch 3) a Truescale QDR switch as GPFS cluster switch 4) two GPFS clients (Supermicro AMD nodes) one port QDR each.
All the nodes run CentOS 7.7.
On each storage-server a RAID 6 volume of 11 disk, 80 TB, has been configured and it is exported via infiniband as an iSCSI target so that both appear as devices accessed by the srp_daemon on the NSD servers, where multipath (not really necessary in this case) has been configured for these two LIO-ORG devices.
GPFS version 5.0.4-0 has been installed and the RDMA has been properly configured
Two NSD disk have been created and a GPFS file system has been configured.
Very simple tests have been performed using lmdd serial write/read.
1) storage-server local performance: before configuring the RAID6 volume as NSD disk, a local xfs file system was created and lmdd write/read performance for 100 GB file was verified to be about 1 GB/s
2) once the GPFS cluster has been created write/read test have been performed directly from one of the NSD server at a time:
write performance 2 GB/s, read performance 1 GB/s for 100 GB file
By checking with iostat, it was observed that the I/O in this case involved only the NSD server where the test was performed, so when writing, the double of base performances was obtained, while in reading the same performance as on a local file system, this seems correct. Values are stable when the test is repeated.
3) when the same test is performed from the GPFS clients the lmdd result for a 100 GB file are:
write - 900 MB/s and stable, not too bad but half of what is seen from the NSD servers.
read - 30 MB/s to 300 MB/s: very low and unstable values
No tuning of any kind in all the configuration of the involved system, only default values.
Any suggestion to explain the very bad read performance from a GPFS client?
Giovanni
here are the configuration of the virtual drive on the storage-server and the file system configuration in GPFS
Virtual drive ==============
Virtual Drive: 2 (Target Id: 2) Name : RAID Level : Primary-6, Secondary-0, RAID Level Qualifier-3 Size : 81.856 TB Sector Size : 512 Is VD emulated : Yes Parity Size : 18.190 TB State : Optimal Strip Size : 256 KB Number Of Drives : 11 Span Depth : 1 Default Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache if Bad BBU Current Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache if Bad BBU Default Access Policy: Read/Write Current Access Policy: Read/Write Disk Cache Policy : Disabled
GPFS file system from mmlsfs ============================
mmlsfs vsd_gexp2 flag value description ------------------- ------------------------ ----------------------------------- -f 8192 Minimum fragment (subblock) size in bytes -i 4096 Inode size in bytes -I 32768 Indirect block size in bytes -m 1 Default number of metadata replicas -M 2 Maximum number of metadata replicas -r 1 Default number of data replicas -R 2 Maximum number of data replicas -j cluster Block allocation type -D nfs4 File locking semantics in effect -k all ACL semantics in effect -n 512 Estimated number of nodes that will mount file system -B 1048576 Block size -Q user;group;fileset Quotas accounting enabled user;group;fileset Quotas enforced none Default quotas enabled --perfileset-quota No Per-fileset quota enforcement --filesetdf No Fileset df enabled? -V 22.00 (5.0.4.0) File system version --create-time Fri Apr 3 19:26:27 2020 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 134217728 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 Disk storage pools in file system --file-audit-log No File Audit Logging enabled? --maintenance-mode No Maintenance Mode enabled? -d nsdfs4lun2;nsdfs5lun2 Disks in file system -A yes Automatic mount option -o none Additional mount options -T /gexp2 Default mount point --mount-priority 0 Mount priority
-- Giovanni Bracco phone +39 351 8804788 E-mail giovanni.bracco@enea.it WWW http://www.afs.enea.it/bracco
==================================================
Questo messaggio e i suoi allegati sono indirizzati esclusivamente alle persone indicate e la casella di posta elettronica da cui e' stata inviata e' da qualificarsi quale strumento aziendale. La diffusione, copia o qualsiasi altra azione derivante dalla conoscenza di queste informazioni sono rigorosamente vietate (art. 616 c.p, D.Lgs. n. 196/2003 s.m.i. e GDPR Regolamento - UE 2016/679). Qualora abbiate ricevuto questo documento per errore siete cortesemente pregati di darne immediata comunicazione al mittente e di provvedere alla sua distruzione. Grazie.
This e-mail and any attachments is confidential and may contain privileged information intended for the addressee(s) only. Dissemination, copying, printing or use by anybody else is unauthorised (art. 616 c.p, D.Lgs. n. 196/2003 and subsequent amendments and GDPR UE 2016/679). If you are not the intended recipient, please delete this message and any attachments and advise the sender by return e-mail. Thanks.
==================================================
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
answer in the text On 05/06/20 14:58, Jan-Frode Myklebust wrote:
Could maybe be interesting to drop the NSD servers, and let all nodes access the storage via srp ?
no we can not: the production clusters fabric is a mix of a QDR based cluster and a OPA based cluster and NSD nodes provide the service to both.
Maybe turn off readahead, since it can cause performance degradation when GPFS reads 1 MB blocks scattered on the NSDs, so that read-ahead always reads too much. This might be the cause of the slow read seen — maybe you’ll also overflow it if reading from both NSD-servers at the same time?
I have switched the readahead off and this produced a small (~10%) increase of performances when reading from a NSD server, but no change in the bad behaviour for the GPFS clients
Plus.. it’s always nice to give a bit more pagepool to hhe clients than the default.. I would prefer to start with 4 GB.
we'll do also that and we'll let you know! Giovanni
-jf
fre. 5. jun. 2020 kl. 14:22 skrev Giovanni Bracco <giovanni.bracco@enea.it <mailto:giovanni.bracco@enea.it>>:
In our lab we have received two storage-servers, Super micro SSG-6049P-E1CR24L, 24 HD each (9TB SAS3), with Avago 3108 RAID controller (2 GB cache) and before putting them in production for other purposes we have setup a small GPFS test cluster to verify if they can be used as storage (our gpfs production cluster has the licenses based on the NSD sockets, so it would be interesting to expand the storage size just by adding storage-servers in a infiniband based SAN, without changing the number of NSD servers)
The test cluster consists of:
1) two NSD servers (IBM x3550M2) with a dual port IB QDR Trues scale each. 2) a Mellanox FDR switch used as a SAN switch 3) a Truescale QDR switch as GPFS cluster switch 4) two GPFS clients (Supermicro AMD nodes) one port QDR each.
All the nodes run CentOS 7.7.
On each storage-server a RAID 6 volume of 11 disk, 80 TB, has been configured and it is exported via infiniband as an iSCSI target so that both appear as devices accessed by the srp_daemon on the NSD servers, where multipath (not really necessary in this case) has been configured for these two LIO-ORG devices.
GPFS version 5.0.4-0 has been installed and the RDMA has been properly configured
Two NSD disk have been created and a GPFS file system has been configured.
Very simple tests have been performed using lmdd serial write/read.
1) storage-server local performance: before configuring the RAID6 volume as NSD disk, a local xfs file system was created and lmdd write/read performance for 100 GB file was verified to be about 1 GB/s
2) once the GPFS cluster has been created write/read test have been performed directly from one of the NSD server at a time:
write performance 2 GB/s, read performance 1 GB/s for 100 GB file
By checking with iostat, it was observed that the I/O in this case involved only the NSD server where the test was performed, so when writing, the double of base performances was obtained, while in reading the same performance as on a local file system, this seems correct. Values are stable when the test is repeated.
3) when the same test is performed from the GPFS clients the lmdd result for a 100 GB file are:
write - 900 MB/s and stable, not too bad but half of what is seen from the NSD servers.
read - 30 MB/s to 300 MB/s: very low and unstable values
No tuning of any kind in all the configuration of the involved system, only default values.
Any suggestion to explain the very bad read performance from a GPFS client?
Giovanni
here are the configuration of the virtual drive on the storage-server and the file system configuration in GPFS
Virtual drive ==============
Virtual Drive: 2 (Target Id: 2) Name : RAID Level : Primary-6, Secondary-0, RAID Level Qualifier-3 Size : 81.856 TB Sector Size : 512 Is VD emulated : Yes Parity Size : 18.190 TB State : Optimal Strip Size : 256 KB Number Of Drives : 11 Span Depth : 1 Default Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache if Bad BBU Current Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache if Bad BBU Default Access Policy: Read/Write Current Access Policy: Read/Write Disk Cache Policy : Disabled
GPFS file system from mmlsfs ============================
mmlsfs vsd_gexp2 flag value description ------------------- ------------------------ ----------------------------------- -f 8192 Minimum fragment (subblock) size in bytes -i 4096 Inode size in bytes -I 32768 Indirect block size in bytes -m 1 Default number of metadata replicas -M 2 Maximum number of metadata replicas -r 1 Default number of data replicas -R 2 Maximum number of data replicas -j cluster Block allocation type -D nfs4 File locking semantics in effect -k all ACL semantics in effect -n 512 Estimated number of nodes that will mount file system -B 1048576 Block size -Q user;group;fileset Quotas accounting enabled user;group;fileset Quotas enforced none Default quotas enabled --perfileset-quota No Per-fileset quota enforcement --filesetdf No Fileset df enabled? -V 22.00 (5.0.4.0) File system version --create-time Fri Apr 3 19:26:27 2020 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 134217728 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 Disk storage pools in file system --file-audit-log No File Audit Logging enabled? --maintenance-mode No Maintenance Mode enabled? -d nsdfs4lun2;nsdfs5lun2 Disks in file system -A yes Automatic mount option -o none Additional mount options -T /gexp2 Default mount point --mount-priority 0 Mount priority
-- Giovanni Bracco phone +39 351 8804788 E-mail giovanni.bracco@enea.it <mailto:giovanni.bracco@enea.it> WWW http://www.afs.enea.it/bracco
==================================================
Questo messaggio e i suoi allegati sono indirizzati esclusivamente alle persone indicate e la casella di posta elettronica da cui e' stata inviata e' da qualificarsi quale strumento aziendale. La diffusione, copia o qualsiasi altra azione derivante dalla conoscenza di queste informazioni sono rigorosamente vietate (art. 616 c.p, D.Lgs. n. 196/2003 s.m.i. e GDPR Regolamento - UE 2016/679). Qualora abbiate ricevuto questo documento per errore siete cortesemente pregati di darne immediata comunicazione al mittente e di provvedere alla sua distruzione. Grazie.
This e-mail and any attachments is confidential and may contain privileged information intended for the addressee(s) only. Dissemination, copying, printing or use by anybody else is unauthorised (art. 616 c.p, D.Lgs. n. 196/2003 and subsequent amendments and GDPR UE 2016/679). If you are not the intended recipient, please delete this message and any attachments and advise the sender by return e-mail. Thanks.
==================================================
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org <http://spectrumscale.org> http://gpfsug.org/mailman/listinfo/gpfsug-discuss
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
-- Giovanni Bracco phone +39 351 8804788 E-mail giovanni.bracco@enea.it WWW http://www.afs.enea.it/bracco
fre. 5. jun. 2020 kl. 15:53 skrev Giovanni Bracco <giovanni.bracco@enea.it>:
answer in the text
On 05/06/20 14:58, Jan-Frode Myklebust wrote:
Could maybe be interesting to drop the NSD servers, and let all nodes access the storage via srp ?
no we can not: the production clusters fabric is a mix of a QDR based cluster and a OPA based cluster and NSD nodes provide the service to both.
You could potentially still do SRP from QDR nodes, and via NSD for your omnipath nodes. Going via NSD seems like a bit pointless indirection.
Maybe turn off readahead, since it can cause performance degradation when GPFS reads 1 MB blocks scattered on the NSDs, so that read-ahead always reads too much. This might be the cause of the slow read seen — maybe you’ll also overflow it if reading from both NSD-servers at the same time?
I have switched the readahead off and this produced a small (~10%) increase of performances when reading from a NSD server, but no change in the bad behaviour for the GPFS clients
Plus.. it’s always nice to give a bit more pagepool to hhe clients than the default.. I would prefer to start with 4 GB.
we'll do also that and we'll let you know!
Could you show your mmlsconfig? Likely you should set maxMBpS to indicate what kind of throughput a client can do (affects GPFS readahead/writebehind). Would typically also increase workerThreads on your NSD servers. 1 MB blocksize is a bit bad for your 9+p+q RAID with 256 KB strip size. When you write one GPFS block, less than a half RAID stripe is written, which means you need to read back some data to calculate new parities. I would prefer 4 MB block size, and maybe also change to 8+p+q so that one GPFS is a multiple of a full 2 MB stripe. -jf
Comments and updates in the text: On 05/06/20 19:02, Jan-Frode Myklebust wrote:
fre. 5. jun. 2020 kl. 15:53 skrev Giovanni Bracco <giovanni.bracco@enea.it <mailto:giovanni.bracco@enea.it>>:
answer in the text
On 05/06/20 14:58, Jan-Frode Myklebust wrote: > > Could maybe be interesting to drop the NSD servers, and let all nodes > access the storage via srp ?
no we can not: the production clusters fabric is a mix of a QDR based cluster and a OPA based cluster and NSD nodes provide the service to both.
You could potentially still do SRP from QDR nodes, and via NSD for your omnipath nodes. Going via NSD seems like a bit pointless indirection.
not really: both clusters, the 400 OPA nodes and the 300 QDR nodes share the same data lake in Spectrum Scale/GPFS so the NSD servers support the flexibility of the setup. NSD servers make use of a IB SAN fabric (Mellanox FDR switch) where at the moment 3 different generations of DDN storages are connected, 9900/QDR 7700/FDR and 7990/EDR. The idea was to be able to add some less expensive storage, to be used when performance is not the first priority.
> > Maybe turn off readahead, since it can cause performance degradation > when GPFS reads 1 MB blocks scattered on the NSDs, so that read-ahead > always reads too much. This might be the cause of the slow read seen — > maybe you’ll also overflow it if reading from both NSD-servers at the > same time?
I have switched the readahead off and this produced a small (~10%) increase of performances when reading from a NSD server, but no change in the bad behaviour for the GPFS clients
> > > Plus.. it’s always nice to give a bit more pagepool to hhe clients than > the default.. I would prefer to start with 4 GB.
we'll do also that and we'll let you know!
Could you show your mmlsconfig? Likely you should set maxMBpS to indicate what kind of throughput a client can do (affects GPFS readahead/writebehind). Would typically also increase workerThreads on your NSD servers.
At this moment this is the output of mmlsconfig # mmlsconfig Configuration data for cluster GPFSEXP.portici.enea.it: ------------------------------------------------------- clusterName GPFSEXP.portici.enea.it clusterId 13274694257874519577 autoload no dmapiFileHandleSize 32 minReleaseLevel 5.0.4.0 ccrEnabled yes cipherList AUTHONLY verbsRdma enable verbsPorts qib0/1 [cresco-gpfq7,cresco-gpfq8] verbsPorts qib0/2 [common] pagepool 4G adminMode central File systems in cluster GPFSEXP.portici.enea.it: ------------------------------------------------ /dev/vsd_gexp2 /dev/vsd_gexp3
1 MB blocksize is a bit bad for your 9+p+q RAID with 256 KB strip size. When you write one GPFS block, less than a half RAID stripe is written, which means you need to read back some data to calculate new parities. I would prefer 4 MB block size, and maybe also change to 8+p+q so that one GPFS is a multiple of a full 2 MB stripe.
-jf
we have now added another file system based on 2 NSD on RAID6 8+p+q, keeping the 1MB block size just not to change too many things at the same time, but no substantial change in very low readout performances, that are still of the order of 50 MB/s while write performance are 1000MB/s Any other suggestion is welcomed! Giovanni -- Giovanni Bracco phone +39 351 8804788 E-mail giovanni.bracco@enea.it WWW http://www.afs.enea.it/bracco
256K Giovanni On 11/06/20 10:01, Luis Bolinches wrote:
On that RAID 6 what is the logical RAID block size? 128K, 256K, other? -- Ystävällisin terveisin / Kind regards / Saludos cordiales / Salutations / Salutacions Luis Bolinches Consultant IT Specialist IBM Spectrum Scale development ESS & client adoption teams Mobile Phone: +358503112585 *https://www.youracclaim.com/user/luis-bolinches* Ab IBM Finland Oy Laajalahdentie 23 00330 Helsinki Uusimaa - Finland
*"If you always give you will always have" -- Anonymous*
----- Original message ----- From: Giovanni Bracco <giovanni.bracco@enea.it> Sent by: gpfsug-discuss-bounces@spectrumscale.org To: Jan-Frode Myklebust <janfrode@tanso.net>, gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Cc: Agostino Funel <agostino.funel@enea.it> Subject: [EXTERNAL] Re: [gpfsug-discuss] very low read performance in simple spectrum scale/gpfs cluster with a storage-server SAN Date: Thu, Jun 11, 2020 10:53 Comments and updates in the text:
On 05/06/20 19:02, Jan-Frode Myklebust wrote: > fre. 5. jun. 2020 kl. 15:53 skrev Giovanni Bracco > <giovanni.bracco@enea.it <mailto:giovanni.bracco@enea.it>>: > > answer in the text > > On 05/06/20 14:58, Jan-Frode Myklebust wrote: > > > > Could maybe be interesting to drop the NSD servers, and let all > nodes > > access the storage via srp ? > > no we can not: the production clusters fabric is a mix of a QDR based > cluster and a OPA based cluster and NSD nodes provide the service to > both. > > > You could potentially still do SRP from QDR nodes, and via NSD for your > omnipath nodes. Going via NSD seems like a bit pointless indirection.
not really: both clusters, the 400 OPA nodes and the 300 QDR nodes share the same data lake in Spectrum Scale/GPFS so the NSD servers support the flexibility of the setup.
NSD servers make use of a IB SAN fabric (Mellanox FDR switch) where at the moment 3 different generations of DDN storages are connected, 9900/QDR 7700/FDR and 7990/EDR. The idea was to be able to add some less expensive storage, to be used when performance is not the first priority.
> > > > > > > Maybe turn off readahead, since it can cause performance degradation > > when GPFS reads 1 MB blocks scattered on the NSDs, so that > read-ahead > > always reads too much. This might be the cause of the slow read > seen — > > maybe you’ll also overflow it if reading from both NSD-servers at > the > > same time? > > I have switched the readahead off and this produced a small (~10%) > increase of performances when reading from a NSD server, but no change > in the bad behaviour for the GPFS clients > > > > > > > > Plus.. it’s always nice to give a bit more pagepool to hhe > clients than > > the default.. I would prefer to start with 4 GB. > > we'll do also that and we'll let you know! > > > Could you show your mmlsconfig? Likely you should set maxMBpS to > indicate what kind of throughput a client can do (affects GPFS > readahead/writebehind). Would typically also increase workerThreads on > your NSD servers.
At this moment this is the output of mmlsconfig
# mmlsconfig Configuration data for cluster GPFSEXP.portici.enea.it: ------------------------------------------------------- clusterName GPFSEXP.portici.enea.it clusterId 13274694257874519577 autoload no dmapiFileHandleSize 32 minReleaseLevel 5.0.4.0 ccrEnabled yes cipherList AUTHONLY verbsRdma enable verbsPorts qib0/1 [cresco-gpfq7,cresco-gpfq8] verbsPorts qib0/2 [common] pagepool 4G adminMode central
File systems in cluster GPFSEXP.portici.enea.it: ------------------------------------------------ /dev/vsd_gexp2 /dev/vsd_gexp3
> > > 1 MB blocksize is a bit bad for your 9+p+q RAID with 256 KB strip size. > When you write one GPFS block, less than a half RAID stripe is written, > which means you need to read back some data to calculate new parities. > I would prefer 4 MB block size, and maybe also change to 8+p+q so that > one GPFS is a multiple of a full 2 MB stripe. > > > -jf
we have now added another file system based on 2 NSD on RAID6 8+p+q, keeping the 1MB block size just not to change too many things at the same time, but no substantial change in very low readout performances, that are still of the order of 50 MB/s while write performance are 1000MB/s
Any other suggestion is welcomed!
Giovanni
-- Giovanni Bracco phone +39 351 8804788 E-mail giovanni.bracco@enea.it WWW http://www.afs.enea.it/bracco _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
Ellei edellä ole toisin mainittu: / Unless stated otherwise above: Oy IBM Finland Ab PL 265, 00101 Helsinki, Finland Business ID, Y-tunnus: 0195876-3 Registered in Finland
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
-- Giovanni Bracco phone +39 351 8804788 E-mail giovanni.bracco@enea.it WWW http://www.afs.enea.it/bracco
8 data * 256K does not align to your 1MB Raid 6 is already not the best option for writes. I would look into use multiples of 2MB block sizes. -- Cheers
On 11. Jun 2020, at 17.07, Giovanni Bracco <giovanni.bracco@enea.it> wrote:
256K
Giovanni
On 11/06/20 10:01, Luis Bolinches wrote: On that RAID 6 what is the logical RAID block size? 128K, 256K, other? -- Ystävällisin terveisin / Kind regards / Saludos cordiales / Salutations / Salutacions Luis Bolinches Consultant IT Specialist IBM Spectrum Scale development ESS & client adoption teams Mobile Phone: +358503112585
*https://urldefense.proofpoint.com/v2/url?u=https-3A__www.youracclaim.com_use...
Ab IBM Finland Oy Laajalahdentie 23 00330 Helsinki Uusimaa - Finland
*"If you always give you will always have" -- Anonymous*
----- Original message ----- From: Giovanni Bracco <giovanni.bracco@enea.it> Sent by: gpfsug-discuss-bounces@spectrumscale.org To: Jan-Frode Myklebust <janfrode@tanso.net>, gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Cc: Agostino Funel <agostino.funel@enea.it> Subject: [EXTERNAL] Re: [gpfsug-discuss] very low read performance in simple spectrum scale/gpfs cluster with a storage-server SAN Date: Thu, Jun 11, 2020 10:53 Comments and updates in the text:
On 05/06/20 19:02, Jan-Frode Myklebust wrote: fre. 5. jun. 2020 kl. 15:53 skrev Giovanni Bracco <giovanni.bracco@enea.it <mailto:giovanni.bracco@enea.it>>:
answer in the text
On 05/06/20 14:58, Jan-Frode Myklebust wrote:
> > Could maybe be interesting to drop the NSD servers, and let all nodes > access the storage via srp ?
no we can not: the production clusters fabric is a mix of a QDR based cluster and a OPA based cluster and NSD nodes provide the service to both.
You could potentially still do SRP from QDR nodes, and via NSD for your omnipath nodes. Going via NSD seems like a bit pointless indirection.
not really: both clusters, the 400 OPA nodes and the 300 QDR nodes share the same data lake in Spectrum Scale/GPFS so the NSD servers support the flexibility of the setup.
NSD servers make use of a IB SAN fabric (Mellanox FDR switch) where at the moment 3 different generations of DDN storages are connected, 9900/QDR 7700/FDR and 7990/EDR. The idea was to be able to add some less expensive storage, to be used when performance is not the first priority.
> > Maybe turn off readahead, since it can cause performance
degradation
> when GPFS reads 1 MB blocks scattered on the NSDs, so that read-ahead > always reads too much. This might be the cause of the slow
read
seen — > maybe you’ll also overflow it if reading from both
NSD-servers at
the > same time?
I have switched the readahead off and this produced a small
(~10%)
increase of performances when reading from a NSD server, but
no change
in the bad behaviour for the GPFS clients
> > > Plus.. it’s always nice to give a bit more pagepool to hhe clients than > the default.. I would prefer to start with 4 GB.
we'll do also that and we'll let you know!
Could you show your mmlsconfig? Likely you should set maxMBpS to indicate what kind of throughput a client can do (affects GPFS readahead/writebehind). Would typically also increase
workerThreads on
your NSD servers.
At this moment this is the output of mmlsconfig
# mmlsconfig Configuration data for cluster GPFSEXP.portici.enea.it: ------------------------------------------------------- clusterName GPFSEXP.portici.enea.it clusterId 13274694257874519577 autoload no dmapiFileHandleSize 32 minReleaseLevel 5.0.4.0 ccrEnabled yes cipherList AUTHONLY verbsRdma enable verbsPorts qib0/1 [cresco-gpfq7,cresco-gpfq8] verbsPorts qib0/2 [common] pagepool 4G adminMode central
File systems in cluster GPFSEXP.portici.enea.it: ------------------------------------------------ /dev/vsd_gexp2 /dev/vsd_gexp3
1 MB blocksize is a bit bad for your 9+p+q RAID with 256 KB strip
size.
When you write one GPFS block, less than a half RAID stripe is written, which means you need to read back some data to calculate new parities. I would prefer 4 MB block size, and maybe also change to 8+p+q so that one GPFS is a multiple of a full 2 MB stripe.
-jf
we have now added another file system based on 2 NSD on RAID6 8+p+q, keeping the 1MB block size just not to change too many things at the same time, but no substantial change in very low readout performances, that are still of the order of 50 MB/s while write performance are 1000MB/s
Any other suggestion is welcomed!
Giovanni
-- Giovanni Bracco phone +39 351 8804788 E-mail giovanni.bracco@enea.it WWW https://urldefense.proofpoint.com/v2/url?u=http-3A__www.afs.enea.it_bracco&d...
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org
https://urldefense.proofpoint.com/v2/url?u=http-3A__gpfsug.org_mailman_listi...
Ellei edellä ole toisin mainittu: / Unless stated otherwise above: Oy IBM Finland Ab PL 265, 00101 Helsinki, Finland Business ID, Y-tunnus: 0195876-3 Registered in Finland
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org
https://urldefense.proofpoint.com/v2/url?u=http-3A__gpfsug.org_mailman_listi...
-- Giovanni Bracco phone +39 351 8804788 E-mail giovanni.bracco@enea.it WWW https://urldefense.proofpoint.com/v2/url?u=http-3A__www.afs.enea.it_bracco&d...
Ellei edellä ole toisin mainittu: / Unless stated otherwise above: Oy IBM Finland Ab PL 265, 00101 Helsinki, Finland Business ID, Y-tunnus: 0195876-3 Registered in Finland
While that point (block size should be an integer multiple of the RAID stripe width) is a good one, its violation would explain slow writes, but Giovanni talks of slow reads ... Mit freundlichen Grüßen / Kind regards Dr. Uwe Falke IT Specialist Global Technology Services / Project Services Delivery / High Performance Computing +49 175 575 2877 Mobile Rathausstr. 7, 09111 Chemnitz, Germany uwefalke@de.ibm.com IBM Services IBM Data Privacy Statement IBM Deutschland Business & Technology Services GmbH Geschäftsführung: Dr. Thomas Wolter, Sven Schooss Sitz der Gesellschaft: Ehningen Registergericht: Amtsgericht Stuttgart, HRB 17122 From: "Luis Bolinches" <luis.bolinches@fi.ibm.com> To: "Giovanni Bracco" <giovanni.bracco@enea.it> Cc: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org>, agostino.funel@enea.it Date: 11/06/2020 16:11 Subject: [EXTERNAL] Re: [gpfsug-discuss] very low read performance in simple spectrum scale/gpfs cluster with a storage-server SAN Sent by: gpfsug-discuss-bounces@spectrumscale.org 8 data * 256K does not align to your 1MB Raid 6 is already not the best option for writes. I would look into use multiples of 2MB block sizes. -- Cheers
On 11. Jun 2020, at 17.07, Giovanni Bracco <giovanni.bracco@enea.it> wrote:
256K
Giovanni
On 11/06/20 10:01, Luis Bolinches wrote: On that RAID 6 what is the logical RAID block size? 128K, 256K, other? -- Ystävällisin terveisin / Kind regards / Saludos cordiales / Salutations
/ Salutacions Luis Bolinches Consultant IT Specialist IBM Spectrum Scale development ESS & client adoption teams Mobile Phone: +358503112585
*https://urldefense.proofpoint.com/v2/url?u=https-3A__www.youracclaim.com_use...
Ab IBM Finland Oy Laajalahdentie 23 00330 Helsinki Uusimaa - Finland
*"If you always give you will always have" -- Anonymous*
----- Original message ----- From: Giovanni Bracco <giovanni.bracco@enea.it> Sent by: gpfsug-discuss-bounces@spectrumscale.org To: Jan-Frode Myklebust <janfrode@tanso.net>, gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Cc: Agostino Funel <agostino.funel@enea.it> Subject: [EXTERNAL] Re: [gpfsug-discuss] very low read performance in simple spectrum scale/gpfs cluster with a storage-server SAN Date: Thu, Jun 11, 2020 10:53 Comments and updates in the text:
On 05/06/20 19:02, Jan-Frode Myklebust wrote: fre. 5. jun. 2020 kl. 15:53 skrev Giovanni Bracco <giovanni.bracco@enea.it <mailto:giovanni.bracco@enea.it>>:
answer in the text
On 05/06/20 14:58, Jan-Frode Myklebust wrote:
Could maybe be interesting to drop the NSD servers, and let all nodes access the storage via srp ?
no we can not: the production clusters fabric is a mix of a QDR based cluster and a OPA based cluster and NSD nodes provide the service to both.
You could potentially still do SRP from QDR nodes, and via NSD for your omnipath nodes. Going via NSD seems like a bit pointless indirection.
not really: both clusters, the 400 OPA nodes and the 300 QDR nodes share the same data lake in Spectrum Scale/GPFS so the NSD servers support the flexibility of the setup.
NSD servers make use of a IB SAN fabric (Mellanox FDR switch) where at the moment 3 different generations of DDN storages are connected, 9900/QDR 7700/FDR and 7990/EDR. The idea was to be able to add some less expensive storage, to be used when performance is not the first priority.
Maybe turn off readahead, since it can cause performance
degradation
when GPFS reads 1 MB blocks scattered on the NSDs, so that read-ahead always reads too much. This might be the cause of the slow read seen ? maybe you?ll also overflow it if reading from both NSD-servers at the same time?
I have switched the readahead off and this produced a small (~10%) increase of performances when reading from a NSD server, but no change in the bad behaviour for the GPFS clients
Plus.. it?s always nice to give a bit more pagepool to hhe
clients than
the default.. I would prefer to start with 4 GB.
we'll do also that and we'll let you know!
Could you show your mmlsconfig? Likely you should set maxMBpS to indicate what kind of throughput a client can do (affects GPFS readahead/writebehind). Would typically also increase workerThreads on your NSD servers.
At this moment this is the output of mmlsconfig
# mmlsconfig Configuration data for cluster GPFSEXP.portici.enea.it: ------------------------------------------------------- clusterName GPFSEXP.portici.enea.it clusterId 13274694257874519577 autoload no dmapiFileHandleSize 32 minReleaseLevel 5.0.4.0 ccrEnabled yes cipherList AUTHONLY verbsRdma enable verbsPorts qib0/1 [cresco-gpfq7,cresco-gpfq8] verbsPorts qib0/2 [common] pagepool 4G adminMode central
File systems in cluster GPFSEXP.portici.enea.it: ------------------------------------------------ /dev/vsd_gexp2 /dev/vsd_gexp3
1 MB blocksize is a bit bad for your 9+p+q RAID with 256 KB strip
size.
When you write one GPFS block, less than a half RAID stripe is written, which means you need to read back some data to calculate new parities. I would prefer 4 MB block size, and maybe also change to 8+p+q so that one GPFS is a multiple of a full 2 MB stripe.
-jf
we have now added another file system based on 2 NSD on RAID6 8+p+q, keeping the 1MB block size just not to change too many things at the same time, but no substantial change in very low readout performances, that are still of the order of 50 MB/s while write performance are 1000MB/s
Any other suggestion is welcomed!
Giovanni
-- Giovanni Bracco phone +39 351 8804788 E-mail giovanni.bracco@enea.it WWW http://www.afs.enea.it/bracco _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
Ellei edellä ole toisin mainittu: / Unless stated otherwise above: Oy IBM Finland Ab PL 265, 00101 Helsinki, Finland Business ID, Y-tunnus: 0195876-3 Registered in Finland
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
-- Giovanni Bracco phone +39 351 8804788 E-mail giovanni.bracco@enea.it WWW http://www.afs.enea.it/bracco
Ellei edellä ole toisin mainittu: / Unless stated otherwise above: Oy IBM Finland Ab PL 265, 00101 Helsinki, Finland Business ID, Y-tunnus: 0195876-3 Registered in Finland _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org https://urldefense.proofpoint.com/v2/url?u=http-3A__gpfsug.org_mailman_listi...
On 11/06/2020 08:53, Giovanni Bracco wrote: [SNIP]
not really: both clusters, the 400 OPA nodes and the 300 QDR nodes share the same data lake in Spectrum Scale/GPFS so the NSD servers support the flexibility of the setup.
NSD servers make use of a IB SAN fabric (Mellanox FDR switch) where at the moment 3 different generations of DDN storages are connected, 9900/QDR 7700/FDR and 7990/EDR. The idea was to be able to add some less expensive storage, to be used when performance is not the first priority.
Ring up Lenovo and get a pricing on some DSS-G storage :-) They can be configured with OPA and Infiniband (though I am not sure if both at the same time) and are only slightly more expensive than the traditional DIY Lego brick approach. JAB. -- Jonathan A. Buzzard Tel: +44141-5483420 HPC System Administrator, ARCHIE-WeSt. University of Strathclyde, John Anderson Building, Glasgow. G4 0NG
On Thu, Jun 11, 2020 at 9:53 AM Giovanni Bracco <giovanni.bracco@enea.it> wrote:
You could potentially still do SRP from QDR nodes, and via NSD for your omnipath nodes. Going via NSD seems like a bit pointless indirection.
not really: both clusters, the 400 OPA nodes and the 300 QDR nodes share the same data lake in Spectrum Scale/GPFS so the NSD servers support the flexibility of the setup.
Maybe there's something I don't understand, but couldn't you use the NSD-servers to serve to your OPA nodes, and then SRP directly for your 300 QDR-nodes??
At this moment this is the output of mmlsconfig
# mmlsconfig Configuration data for cluster GPFSEXP.portici.enea.it: ------------------------------------------------------- clusterName GPFSEXP.portici.enea.it clusterId 13274694257874519577 autoload no dmapiFileHandleSize 32 minReleaseLevel 5.0.4.0 ccrEnabled yes cipherList AUTHONLY verbsRdma enable verbsPorts qib0/1 [cresco-gpfq7,cresco-gpfq8] verbsPorts qib0/2 [common] pagepool 4G adminMode central
File systems in cluster GPFSEXP.portici.enea.it: ------------------------------------------------ /dev/vsd_gexp2 /dev/vsd_gexp3
So, trivial close to default config.. assume the same for the client cluster. I would correct MaxMBpS -- put it at something reasonable, enable verbsRdmaSend=yes and ignorePrefetchLUNCount=yes.
1 MB blocksize is a bit bad for your 9+p+q RAID with 256 KB strip size. When you write one GPFS block, less than a half RAID stripe is written, which means you need to read back some data to calculate new parities. I would prefer 4 MB block size, and maybe also change to 8+p+q so that one GPFS is a multiple of a full 2 MB stripe.
-jf
we have now added another file system based on 2 NSD on RAID6 8+p+q, keeping the 1MB block size just not to change too many things at the same time, but no substantial change in very low readout performances, that are still of the order of 50 MB/s while write performance are 1000MB/s
Any other suggestion is welcomed!
Maybe rule out the storage, and check if you get proper throughput from nsdperf? Maybe also benchmark using "gpfsperf" instead of "lmdd", and show your full settings -- so that we see that the benchmark is sane :-) -jf
On 11/06/20 12:13, Jan-Frode Myklebust wrote:
On Thu, Jun 11, 2020 at 9:53 AM Giovanni Bracco <giovanni.bracco@enea.it <mailto:giovanni.bracco@enea.it>> wrote:
> > You could potentially still do SRP from QDR nodes, and via NSD for your > omnipath nodes. Going via NSD seems like a bit pointless indirection.
not really: both clusters, the 400 OPA nodes and the 300 QDR nodes share the same data lake in Spectrum Scale/GPFS so the NSD servers support the flexibility of the setup.
Maybe there's something I don't understand, but couldn't you use the NSD-servers to serve to your OPA nodes, and then SRP directly for your 300 QDR-nodes??
not in an easy way without loosing the flexibility of the system where NSD are the hubs between the three different fabrics, QDR compute, OPA compute, Mellanox FDR SAN. The storages have QDR,FDR and EDR interfaces and Mellanox guarantees the compatibility QDR-FDR and FDR-EDR but not, as far as I know, QDR-EDR So in this configuration, all the compute nodes can access to all the storages.
At this moment this is the output of mmlsconfig
# mmlsconfig Configuration data for cluster GPFSEXP.portici.enea.it <http://GPFSEXP.portici.enea.it>: ------------------------------------------------------- clusterName GPFSEXP.portici.enea.it <http://GPFSEXP.portici.enea.it> clusterId 13274694257874519577 autoload no dmapiFileHandleSize 32 minReleaseLevel 5.0.4.0 ccrEnabled yes cipherList AUTHONLY verbsRdma enable verbsPorts qib0/1 [cresco-gpfq7,cresco-gpfq8] verbsPorts qib0/2 [common] pagepool 4G adminMode central
File systems in cluster GPFSEXP.portici.enea.it <http://GPFSEXP.portici.enea.it>: ------------------------------------------------ /dev/vsd_gexp2 /dev/vsd_gexp3
So, trivial close to default config.. assume the same for the client cluster.
I would correct MaxMBpS -- put it at something reasonable, enable verbsRdmaSend=yes and ignorePrefetchLUNCount=yes.
Now we have set: verbsRdmaSend yes ignorePrefetchLUNCount yes maxMBpS 8000 but the only parameter which has a strong effect by itself is ignorePrefetchLUNCount yes and the readout performance increased of a factor at least 4, from 50MB/s to 210 MB/s So from the client now the situation is: Sequential write 800 MB/s, sequential read 200 MB/s, much better then before but still a factor 3, both Write/Read compared what is observed from the NSD node: Sequential write 2300 MB/s, sequential read 600 MB/s As far as the test is concerned I have seen that the lmdd results are very similar to fio --name=seqwrite --rw=write --buffered=1 --ioengine=posixaio --bs=1m --numjobs=1 --size=100G --runtime=60 fio --name=seqread --rw=wread --buffered=1 --ioengine=posixaio --bs=1m --numjobs=1 --size=100G --runtime=60 In the present situation the settings of read-ahead on the RAID controllers has practically non effect, we have also checked that by the way. Giovanni
> > > 1 MB blocksize is a bit bad for your 9+p+q RAID with 256 KB strip size. > When you write one GPFS block, less than a half RAID stripe is written, > which means you need to read back some data to calculate new parities. > I would prefer 4 MB block size, and maybe also change to 8+p+q so that > one GPFS is a multiple of a full 2 MB stripe. > > > -jf
we have now added another file system based on 2 NSD on RAID6 8+p+q, keeping the 1MB block size just not to change too many things at the same time, but no substantial change in very low readout performances, that are still of the order of 50 MB/s while write performance are 1000MB/s
Any other suggestion is welcomed!
Maybe rule out the storage, and check if you get proper throughput from nsdperf?
Maybe also benchmark using "gpfsperf" instead of "lmdd", and show your full settings -- so that we see that the benchmark is sane :-)
-jf
-- Giovanni Bracco phone +39 351 8804788 E-mail giovanni.bracco@enea.it WWW http://www.afs.enea.it/bracco
tir. 16. jun. 2020 kl. 15:32 skrev Giovanni Bracco <giovanni.bracco@enea.it
:
I would correct MaxMBpS -- put it at something reasonable, enable verbsRdmaSend=yes and ignorePrefetchLUNCount=yes.
Now we have set: verbsRdmaSend yes ignorePrefetchLUNCount yes maxMBpS 8000
but the only parameter which has a strong effect by itself is
ignorePrefetchLUNCount yes
and the readout performance increased of a factor at least 4, from 50MB/s to 210 MB/s
That’s interesting.. ignoreprefetchluncount=yes should mean it more aggresively schedules IO. Did you also try lowering maxMBpS? I’m thinking maybe something is getting flooded somewhere.. Another knob would be to increase workerThreads, and/or prefetchPct (don’t quite renember how these influence each other). And it would be useful to run nsdperf between client and nsd-servers, to verify/rule out any network issue.
fio --name=seqwrite --rw=write --buffered=1 --ioengine=posixaio --bs=1m --numjobs=1 --size=100G --runtime=60
fio --name=seqread --rw=wread --buffered=1 --ioengine=posixaio --bs=1m --numjobs=1 --size=100G --runtime=60
Not too familiar with fio, but ... does it help to increase numjobs? And.. do you tell both sides which fabric number they’re on («verbsPorts qib0/1/1») so the GPFS knows not to try to connect verbsPorts that can’t communicate? -jf
Hi Giovanni, how do the waiters look on your clients when reading? Mit freundlichen Grüßen / Kind regards Dr. Uwe Falke IT Specialist Global Technology Services / Project Services Delivery / High Performance Computing +49 175 575 2877 Mobile Rathausstr. 7, 09111 Chemnitz, Germany uwefalke@de.ibm.com IBM Services IBM Data Privacy Statement IBM Deutschland Business & Technology Services GmbH Geschäftsführung: Dr. Thomas Wolter, Sven Schooss Sitz der Gesellschaft: Ehningen Registergericht: Amtsgericht Stuttgart, HRB 17122 From: Giovanni Bracco <giovanni.bracco@enea.it> To: gpfsug-discuss@spectrumscale.org Cc: Agostino Funel <agostino.funel@enea.it> Date: 05/06/2020 14:22 Subject: [EXTERNAL] [gpfsug-discuss] very low read performance in simple spectrum scale/gpfs cluster with a storage-server SAN Sent by: gpfsug-discuss-bounces@spectrumscale.org In our lab we have received two storage-servers, Super micro SSG-6049P-E1CR24L, 24 HD each (9TB SAS3), with Avago 3108 RAID controller (2 GB cache) and before putting them in production for other purposes we have setup a small GPFS test cluster to verify if they can be used as storage (our gpfs production cluster has the licenses based on the NSD sockets, so it would be interesting to expand the storage size just by adding storage-servers in a infiniband based SAN, without changing the number of NSD servers) The test cluster consists of: 1) two NSD servers (IBM x3550M2) with a dual port IB QDR Trues scale each. 2) a Mellanox FDR switch used as a SAN switch 3) a Truescale QDR switch as GPFS cluster switch 4) two GPFS clients (Supermicro AMD nodes) one port QDR each. All the nodes run CentOS 7.7. On each storage-server a RAID 6 volume of 11 disk, 80 TB, has been configured and it is exported via infiniband as an iSCSI target so that both appear as devices accessed by the srp_daemon on the NSD servers, where multipath (not really necessary in this case) has been configured for these two LIO-ORG devices. GPFS version 5.0.4-0 has been installed and the RDMA has been properly configured Two NSD disk have been created and a GPFS file system has been configured. Very simple tests have been performed using lmdd serial write/read. 1) storage-server local performance: before configuring the RAID6 volume as NSD disk, a local xfs file system was created and lmdd write/read performance for 100 GB file was verified to be about 1 GB/s 2) once the GPFS cluster has been created write/read test have been performed directly from one of the NSD server at a time: write performance 2 GB/s, read performance 1 GB/s for 100 GB file By checking with iostat, it was observed that the I/O in this case involved only the NSD server where the test was performed, so when writing, the double of base performances was obtained, while in reading the same performance as on a local file system, this seems correct. Values are stable when the test is repeated. 3) when the same test is performed from the GPFS clients the lmdd result for a 100 GB file are: write - 900 MB/s and stable, not too bad but half of what is seen from the NSD servers. read - 30 MB/s to 300 MB/s: very low and unstable values No tuning of any kind in all the configuration of the involved system, only default values. Any suggestion to explain the very bad read performance from a GPFS client? Giovanni here are the configuration of the virtual drive on the storage-server and the file system configuration in GPFS Virtual drive ============== Virtual Drive: 2 (Target Id: 2) Name : RAID Level : Primary-6, Secondary-0, RAID Level Qualifier-3 Size : 81.856 TB Sector Size : 512 Is VD emulated : Yes Parity Size : 18.190 TB State : Optimal Strip Size : 256 KB Number Of Drives : 11 Span Depth : 1 Default Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache if Bad BBU Current Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache if Bad BBU Default Access Policy: Read/Write Current Access Policy: Read/Write Disk Cache Policy : Disabled GPFS file system from mmlsfs ============================ mmlsfs vsd_gexp2 flag value description ------------------- ------------------------ ----------------------------------- -f 8192 Minimum fragment (subblock) size in bytes -i 4096 Inode size in bytes -I 32768 Indirect block size in bytes -m 1 Default number of metadata replicas -M 2 Maximum number of metadata replicas -r 1 Default number of data replicas -R 2 Maximum number of data replicas -j cluster Block allocation type -D nfs4 File locking semantics in effect -k all ACL semantics in effect -n 512 Estimated number of nodes that will mount file system -B 1048576 Block size -Q user;group;fileset Quotas accounting enabled user;group;fileset Quotas enforced none Default quotas enabled --perfileset-quota No Per-fileset quota enforcement --filesetdf No Fileset df enabled? -V 22.00 (5.0.4.0) File system version --create-time Fri Apr 3 19:26:27 2020 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 134217728 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 Disk storage pools in file system --file-audit-log No File Audit Logging enabled? --maintenance-mode No Maintenance Mode enabled? -d nsdfs4lun2;nsdfs5lun2 Disks in file system -A yes Automatic mount option -o none Additional mount options -T /gexp2 Default mount point --mount-priority 0 Mount priority -- Giovanni Bracco phone +39 351 8804788 E-mail giovanni.bracco@enea.it WWW https://urldefense.proofpoint.com/v2/url?u=http-3A__www.afs.enea.it_bracco&d... ================================================== Questo messaggio e i suoi allegati sono indirizzati esclusivamente alle persone indicate e la casella di posta elettronica da cui e' stata inviata e' da qualificarsi quale strumento aziendale. La diffusione, copia o qualsiasi altra azione derivante dalla conoscenza di queste informazioni sono rigorosamente vietate (art. 616 c.p, D.Lgs. n. 196/2003 s.m.i. e GDPR Regolamento - UE 2016/679). Qualora abbiate ricevuto questo documento per errore siete cortesemente pregati di darne immediata comunicazione al mittente e di provvedere alla sua distruzione. Grazie. This e-mail and any attachments is confidential and may contain privileged information intended for the addressee(s) only. Dissemination, copying, printing or use by anybody else is unauthorised (art. 616 c.p, D.Lgs. n. 196/2003 and subsequent amendments and GDPR UE 2016/679). If you are not the intended recipient, please delete this message and any attachments and advise the sender by return e-mail. Thanks. ================================================== _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org https://urldefense.proofpoint.com/v2/url?u=http-3A__gpfsug.org_mailman_listi...
I would double check your cpu frequency scaling settings in your NSD servers (cpupower frequency-info) and look at the governor. You’ll want it to be the performance governor. If it’s not what can happen is the CPUs scale back their clock rate which hurts RDMA performance. Running the I/o test on the NSD servers themselves may have been enough to kick the processors up into a higher frequency which afforded you good performance. Sent from my iPhone
On Jun 12, 2020, at 00:19, Luis Bolinches <luis.bolinches@fi.ibm.com> wrote:
Hi
the block for writes increases the IOPS on those cards that might be already at the limit so I would not discard taht lowering the IOPS for writes has a positive effect on reads or not but it is a smoking gun that needs to be addressed. My experience of ignoring those is not a positive one.
In regards of this HW I woudl love to see a baseline at RAW. run FIO (or any other tool that is not DD) on RAW device (not scale) to see what actually each drive can do AND then all the drives at the same time. We seen RAID controllers got to its needs even on reads when parallel access to many drives are put into the RAID controller. That is why we had to create a tool to get KPIs for ECE but can be applied here as way to see what the system can do. I would build numbers for RAW before I start looking into any filesystem numbers.
you can use whatever tool you like but this one if just a FIO frontend that will do what I mention above https://github.com/IBM/SpectrumScale_ECE_STORAGE_READINESS. If you can I would also do the write part, as reads is part of the story, and you need to understand what the HW can do (+1 to Lego comment before) -- Ystävällisin terveisin / Kind regards / Saludos cordiales / Salutations / Salutacions Luis Bolinches Consultant IT Specialist IBM Spectrum Scale development ESS & client adoption teams Mobile Phone: +358503112585
https://www.youracclaim.com/user/luis-bolinches
Ab IBM Finland Oy Laajalahdentie 23 00330 Helsinki Uusimaa - Finland
"If you always give you will always have" -- Anonymous
----- Original message ----- From: "Uwe Falke" <UWEFALKE@de.ibm.com> Sent by: gpfsug-discuss-bounces@spectrumscale.org To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Cc: gpfsug-discuss-bounces@spectrumscale.org, Agostino Funel <agostino.funel@enea.it> Subject: [EXTERNAL] Re: [gpfsug-discuss] very low read performance in simple spectrum scale/gpfs cluster with a storage-server SAN Date: Thu, Jun 11, 2020 23:42
Hi Giovanni, how do the waiters look on your clients when reading?
Mit freundlichen Grüßen / Kind regards
Dr. Uwe Falke IT Specialist Global Technology Services / Project Services Delivery / High Performance Computing +49 175 575 2877 Mobile Rathausstr. 7, 09111 Chemnitz, Germany uwefalke@de.ibm.com
IBM Services
IBM Data Privacy Statement
IBM Deutschland Business & Technology Services GmbH Geschäftsführung: Dr. Thomas Wolter, Sven Schooss Sitz der Gesellschaft: Ehningen Registergericht: Amtsgericht Stuttgart, HRB 17122
From: Giovanni Bracco <giovanni.bracco@enea.it> To: gpfsug-discuss@spectrumscale.org Cc: Agostino Funel <agostino.funel@enea.it> Date: 05/06/2020 14:22 Subject: [EXTERNAL] [gpfsug-discuss] very low read performance in simple spectrum scale/gpfs cluster with a storage-server SAN Sent by: gpfsug-discuss-bounces@spectrumscale.org
In our lab we have received two storage-servers, Super micro SSG-6049P-E1CR24L, 24 HD each (9TB SAS3), with Avago 3108 RAID controller (2 GB cache) and before putting them in production for other purposes we have setup a small GPFS test cluster to verify if they can be used as storage (our gpfs production cluster has the licenses based on the NSD sockets, so it would be interesting to expand the storage size just by adding storage-servers in a infiniband based SAN, without changing the number of NSD servers)
The test cluster consists of:
1) two NSD servers (IBM x3550M2) with a dual port IB QDR Trues scale each. 2) a Mellanox FDR switch used as a SAN switch 3) a Truescale QDR switch as GPFS cluster switch 4) two GPFS clients (Supermicro AMD nodes) one port QDR each.
All the nodes run CentOS 7.7.
On each storage-server a RAID 6 volume of 11 disk, 80 TB, has been configured and it is exported via infiniband as an iSCSI target so that both appear as devices accessed by the srp_daemon on the NSD servers, where multipath (not really necessary in this case) has been configured for these two LIO-ORG devices.
GPFS version 5.0.4-0 has been installed and the RDMA has been properly configured
Two NSD disk have been created and a GPFS file system has been configured.
Very simple tests have been performed using lmdd serial write/read.
1) storage-server local performance: before configuring the RAID6 volume as NSD disk, a local xfs file system was created and lmdd write/read performance for 100 GB file was verified to be about 1 GB/s
2) once the GPFS cluster has been created write/read test have been performed directly from one of the NSD server at a time:
write performance 2 GB/s, read performance 1 GB/s for 100 GB file
By checking with iostat, it was observed that the I/O in this case involved only the NSD server where the test was performed, so when writing, the double of base performances was obtained, while in reading the same performance as on a local file system, this seems correct. Values are stable when the test is repeated.
3) when the same test is performed from the GPFS clients the lmdd result for a 100 GB file are:
write - 900 MB/s and stable, not too bad but half of what is seen from the NSD servers.
read - 30 MB/s to 300 MB/s: very low and unstable values
No tuning of any kind in all the configuration of the involved system, only default values.
Any suggestion to explain the very bad read performance from a GPFS client?
Giovanni
here are the configuration of the virtual drive on the storage-server and the file system configuration in GPFS
Virtual drive ==============
Virtual Drive: 2 (Target Id: 2) Name : RAID Level : Primary-6, Secondary-0, RAID Level Qualifier-3 Size : 81.856 TB Sector Size : 512 Is VD emulated : Yes Parity Size : 18.190 TB State : Optimal Strip Size : 256 KB Number Of Drives : 11 Span Depth : 1 Default Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache if Bad BBU Current Cache Policy: WriteBack, ReadAhead, Direct, No Write Cache if Bad BBU Default Access Policy: Read/Write Current Access Policy: Read/Write Disk Cache Policy : Disabled
GPFS file system from mmlsfs ============================
mmlsfs vsd_gexp2 flag value description ------------------- ------------------------ ----------------------------------- -f 8192 Minimum fragment (subblock) size in bytes -i 4096 Inode size in bytes -I 32768 Indirect block size in bytes -m 1 Default number of metadata replicas -M 2 Maximum number of metadata replicas -r 1 Default number of data replicas -R 2 Maximum number of data replicas -j cluster Block allocation type -D nfs4 File locking semantics in effect -k all ACL semantics in effect -n 512 Estimated number of nodes that will mount file system -B 1048576 Block size -Q user;group;fileset Quotas accounting enabled user;group;fileset Quotas enforced none Default quotas enabled --perfileset-quota No Per-fileset quota enforcement --filesetdf No Fileset df enabled? -V 22.00 (5.0.4.0) File system version --create-time Fri Apr 3 19:26:27 2020 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 134217728 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 Disk storage pools in file system --file-audit-log No File Audit Logging enabled? --maintenance-mode No Maintenance Mode enabled? -d nsdfs4lun2;nsdfs5lun2 Disks in file system -A yes Automatic mount option -o none Additional mount options -T /gexp2 Default mount point --mount-priority 0 Mount priority
-- Giovanni Bracco phone +39 351 8804788 E-mail giovanni.bracco@enea.it WWW http://www.afs.enea.it/bracco
==================================================
Questo messaggio e i suoi allegati sono indirizzati esclusivamente alle persone indicate e la casella di posta elettronica da cui e' stata inviata e' da qualificarsi quale strumento aziendale. La diffusione, copia o qualsiasi altra azione derivante dalla conoscenza di queste informazioni sono rigorosamente vietate (art. 616 c.p, D.Lgs. n. 196/2003 s.m.i. e GDPR Regolamento - UE 2016/679). Qualora abbiate ricevuto questo documento per errore siete cortesemente pregati di darne immediata comunicazione al mittente e di provvedere alla sua distruzione. Grazie.
This e-mail and any attachments is confidential and may contain privileged information intended for the addressee(s) only. Dissemination, copying, printing or use by anybody else is unauthorised (art. 616 c.p, D.Lgs. n. 196/2003 and subsequent amendments and GDPR UE 2016/679). If you are not the intended recipient, please delete this message and any attachments and advise the sender by return e-mail. Thanks.
==================================================
_______________________________________________ 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 http://gpfsug.org/mailman/listinfo/gpfsug-discuss
Ellei edellä ole toisin mainittu: / Unless stated otherwise above: Oy IBM Finland Ab PL 265, 00101 Helsinki, Finland Business ID, Y-tunnus: 0195876-3 Registered in Finland
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
participants (6)
-
Aaron Knister -
Giovanni Bracco -
Jan-Frode Myklebust -
Jonathan Buzzard -
Luis Bolinches -
Uwe Falke
