NSD network checksums (nsdCksumTraditional)
Flipping through the slides from the recent SSUG meeting I noticed that in 5.0.2 one of the features mentioned was the nsdCksumTraditional flag. Reading up on it it seems as though it comes with a warning about significant I/O performance degradation and increase in CPU usage. I also recall that data integrity checking is performed by default with GNR. How can it be that the I/O performance degradation warning only seems to accompany the nsdCksumTraditional setting and not GNR? As someone who knows exactly 0 of the implementation details, I'm just naively assuming that the checksum are being generated (in the same way?) in both cases and transferred to the NSD server. Why is there such a penalty for "traditional" environments? -Aaron -- Aaron Knister NASA Center for Climate Simulation (Code 606.2) Goddard Space Flight Center (301) 286-2776
Hi,
How can it be that the I/O performance degradation warning only seems to accompany the nsdCksumTraditional setting and not GNR? Why is there such a penalty for "traditional" environments?
In GNR IO/NSD servers (ESS IO nodes), the checksums are computed in parallel for a NSD (storage volume/vdisk) across the threads handling each pdisk/drive (that constitutes the vdisk/volume). This is possible since the GNR software on the ESS IO servers is tightly integrated with underlying storage and is aware of the vdisk DRAID configuration (strip-size, pdisk constituting vdisk etc.) to perform parallel checksum operations. In non-GNR + external storage model, the GPFS software on the NSD server(s) does not manage the underlying storage volume (this is done by storage RAID controllers) and the checksum is computed serially. This would contribute to increase in CPU usage and I/O performance degradation (depending on I/O access patterns, I/O load etc). My two cents. Regards, -Kums From: Aaron Knister <aaron.s.knister@nasa.gov> To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Date: 10/29/2018 12:34 PM Subject: [gpfsug-discuss] NSD network checksums (nsdCksumTraditional) Sent by: gpfsug-discuss-bounces@spectrumscale.org Flipping through the slides from the recent SSUG meeting I noticed that in 5.0.2 one of the features mentioned was the nsdCksumTraditional flag. Reading up on it it seems as though it comes with a warning about significant I/O performance degradation and increase in CPU usage. I also recall that data integrity checking is performed by default with GNR. How can it be that the I/O performance degradation warning only seems to accompany the nsdCksumTraditional setting and not GNR? As someone who knows exactly 0 of the implementation details, I'm just naively assuming that the checksum are being generated (in the same way?) in both cases and transferred to the NSD server. Why is there such a penalty for "traditional" environments? -Aaron -- Aaron Knister NASA Center for Climate Simulation (Code 606.2) Goddard Space Flight Center (301) 286-2776 _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
So the ESS checksums that are highly touted as "protecting all the way to the disk surface" completely ignore the transfer between the client and the NSD server? It sounds like you are saying that all of the checksumming done for GNR is internal to GNR and only protects against bit-flips on the disk (and in staging buffers, etc.) I’m asking because your explanation completely ignores calculating anything on the NSD client and implies that the client could not participate, given that it does not know about the structure of the vdisks under the NSD — but that has to be a performance factor for both types if the transfer is protected starting at the client — which it is in the case of nsdCksumTraditional which is what we are comparing to ESS checksumming. If ESS checksumming doesn’t protect on the wire I’d say that marketing has run amok, because that has *definitely* been implied in meetings for which I’ve been present. In fact, when asked if Spectrum Scale provides checksumming for data in-flight, IBM sales has used it as an ESS up-sell opportunity. -- Stephen
On Oct 29, 2018, at 3:56 PM, Kumaran Rajaram <kums@us.ibm.com <mailto:kums@us.ibm.com>> wrote:
Hi,
How can it be that the I/O performance degradation warning only seems to accompany the nsdCksumTraditional setting and not GNR? Why is there such a penalty for "traditional" environments?
In GNR IO/NSD servers (ESS IO nodes), the checksums are computed in parallel for a NSD (storage volume/vdisk) across the threads handling each pdisk/drive (that constitutes the vdisk/volume). This is possible since the GNR software on the ESS IO servers is tightly integrated with underlying storage and is aware of the vdisk DRAID configuration (strip-size, pdisk constituting vdisk etc.) to perform parallel checksum operations.
In non-GNR + external storage model, the GPFS software on the NSD server(s) does not manage the underlying storage volume (this is done by storage RAID controllers) and the checksum is computed serially. This would contribute to increase in CPU usage and I/O performance degradation (depending on I/O access patterns, I/O load etc).
My two cents.
Regards, -Kums
From: Aaron Knister <aaron.s.knister@nasa.gov <mailto:aaron.s.knister@nasa.gov>> To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org <mailto:gpfsug-discuss@spectrumscale.org>> Date: 10/29/2018 12:34 PM Subject: [gpfsug-discuss] NSD network checksums (nsdCksumTraditional) Sent by: gpfsug-discuss-bounces@spectrumscale.org <mailto:gpfsug-discuss-bounces@spectrumscale.org>
Flipping through the slides from the recent SSUG meeting I noticed that in 5.0.2 one of the features mentioned was the nsdCksumTraditional flag. Reading up on it it seems as though it comes with a warning about significant I/O performance degradation and increase in CPU usage. I also recall that data integrity checking is performed by default with GNR. How can it be that the I/O performance degradation warning only seems to accompany the nsdCksumTraditional setting and not GNR? As someone who knows exactly 0 of the implementation details, I'm just naively assuming that the checksum are being generated (in the same way?) in both cases and transferred to the NSD server. Why is there such a penalty for "traditional" environments?
-Aaron
-- Aaron Knister NASA Center for Climate Simulation (Code 606.2) Goddard Space Flight Center (301) 286-2776 _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org <http://spectrumscale.org/> http://gpfsug.org/mailman/listinfo/gpfsug-discuss <http://gpfsug.org/mailman/listinfo/gpfsug-discuss>
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org <http://spectrumscale.org/> http://gpfsug.org/mailman/listinfo/gpfsug-discuss <http://gpfsug.org/mailman/listinfo/gpfsug-discuss>
Stephen, ESS does perform checksums in the transfer between NSD clients and NSD servers. As Kums described below, the difference between the checksums performed by GNR and those performed with "nsdCksumTraditional" is that GNR checksums are computed in parallel on the server side, as a large FS block is broken into smaller pieces. On non-GNR environments (when nsdCksumTraditional is set), the checksum is computed sequentially on the server. Felipe ---- Felipe Knop knop@us.ibm.com GPFS Development and Security IBM Systems IBM Building 008 2455 South Rd, Poughkeepsie, NY 12601 (845) 433-9314 T/L 293-9314 From: Stephen Ulmer <ulmer@ulmer.org> To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Date: 10/29/2018 04:52 PM Subject: Re: [gpfsug-discuss] NSD network checksums (nsdCksumTraditional) Sent by: gpfsug-discuss-bounces@spectrumscale.org So the ESS checksums that are highly touted as "protecting all the way to the disk surface" completely ignore the transfer between the client and the NSD server? It sounds like you are saying that all of the checksumming done for GNR is internal to GNR and only protects against bit-flips on the disk (and in staging buffers, etc.) I’m asking because your explanation completely ignores calculating anything on the NSD client and implies that the client could not participate, given that it does not know about the structure of the vdisks under the NSD — but that has to be a performance factor for both types if the transfer is protected starting at the client — which it is in the case of nsdCksumTraditional which is what we are comparing to ESS checksumming. If ESS checksumming doesn’t protect on the wire I’d say that marketing has run amok, because that has *definitely* been implied in meetings for which I’ve been present. In fact, when asked if Spectrum Scale provides checksumming for data in-flight, IBM sales has used it as an ESS up-sell opportunity. -- Stephen On Oct 29, 2018, at 3:56 PM, Kumaran Rajaram <kums@us.ibm.com> wrote: Hi, >>How can it be that the I/O performance degradation warning only seems to accompany the nsdCksumTraditional setting and not GNR? >>Why is there such a penalty for "traditional" environments? In GNR IO/NSD servers (ESS IO nodes), the checksums are computed in parallel for a NSD (storage volume/vdisk) across the threads handling each pdisk/drive (that constitutes the vdisk/volume). This is possible since the GNR software on the ESS IO servers is tightly integrated with underlying storage and is aware of the vdisk DRAID configuration (strip-size, pdisk constituting vdisk etc.) to perform parallel checksum operations. In non-GNR + external storage model, the GPFS software on the NSD server(s) does not manage the underlying storage volume (this is done by storage RAID controllers) and the checksum is computed serially. This would contribute to increase in CPU usage and I/O performance degradation (depending on I/O access patterns, I/O load etc). My two cents. Regards, -Kums From: Aaron Knister <aaron.s.knister@nasa.gov> To: gpfsug main discussion list < gpfsug-discuss@spectrumscale.org> Date: 10/29/2018 12:34 PM Subject: [gpfsug-discuss] NSD network checksums (nsdCksumTraditional) Sent by: gpfsug-discuss-bounces@spectrumscale.org Flipping through the slides from the recent SSUG meeting I noticed that in 5.0.2 one of the features mentioned was the nsdCksumTraditional flag. Reading up on it it seems as though it comes with a warning about significant I/O performance degradation and increase in CPU usage. I also recall that data integrity checking is performed by default with GNR. How can it be that the I/O performance degradation warning only seems to accompany the nsdCksumTraditional setting and not GNR? As someone who knows exactly 0 of the implementation details, I'm just naively assuming that the checksum are being generated (in the same way?) in both cases and transferred to the NSD server. Why is there such a penalty for "traditional" environments? -Aaron -- Aaron Knister NASA Center for Climate Simulation (Code 606.2) Goddard Space Flight Center (301) 286-2776 _______________________________________________ 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 _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
In non-GNR setup, nsdCksumTraditional=yes enables data-integrity checking between a traditional NSD client node and its NSD server, at the network level only. The ESS storage supports end-to-end checksum, NSD client to the ESS IO servers (at the network level) as well as from ESS IO servers to the disk/storage. This is further detailed in the docs (link below): https://www.ibm.com/support/knowledgecenter/en/SSYSP8_5.3.1/com.ibm.spectrum... Best, -Kums From: Stephen Ulmer <ulmer@ulmer.org> To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Date: 10/29/2018 04:52 PM Subject: Re: [gpfsug-discuss] NSD network checksums (nsdCksumTraditional) Sent by: gpfsug-discuss-bounces@spectrumscale.org So the ESS checksums that are highly touted as "protecting all the way to the disk surface" completely ignore the transfer between the client and the NSD server? It sounds like you are saying that all of the checksumming done for GNR is internal to GNR and only protects against bit-flips on the disk (and in staging buffers, etc.) I’m asking because your explanation completely ignores calculating anything on the NSD client and implies that the client could not participate, given that it does not know about the structure of the vdisks under the NSD — but that has to be a performance factor for both types if the transfer is protected starting at the client — which it is in the case of nsdCksumTraditional which is what we are comparing to ESS checksumming. If ESS checksumming doesn’t protect on the wire I’d say that marketing has run amok, because that has *definitely* been implied in meetings for which I’ve been present. In fact, when asked if Spectrum Scale provides checksumming for data in-flight, IBM sales has used it as an ESS up-sell opportunity. -- Stephen On Oct 29, 2018, at 3:56 PM, Kumaran Rajaram <kums@us.ibm.com> wrote: Hi,
How can it be that the I/O performance degradation warning only seems to accompany the nsdCksumTraditional setting and not GNR? Why is there such a penalty for "traditional" environments?
In GNR IO/NSD servers (ESS IO nodes), the checksums are computed in parallel for a NSD (storage volume/vdisk) across the threads handling each pdisk/drive (that constitutes the vdisk/volume). This is possible since the GNR software on the ESS IO servers is tightly integrated with underlying storage and is aware of the vdisk DRAID configuration (strip-size, pdisk constituting vdisk etc.) to perform parallel checksum operations. In non-GNR + external storage model, the GPFS software on the NSD server(s) does not manage the underlying storage volume (this is done by storage RAID controllers) and the checksum is computed serially. This would contribute to increase in CPU usage and I/O performance degradation (depending on I/O access patterns, I/O load etc). My two cents. Regards, -Kums From: Aaron Knister <aaron.s.knister@nasa.gov> To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Date: 10/29/2018 12:34 PM Subject: [gpfsug-discuss] NSD network checksums (nsdCksumTraditional) Sent by: gpfsug-discuss-bounces@spectrumscale.org Flipping through the slides from the recent SSUG meeting I noticed that in 5.0.2 one of the features mentioned was the nsdCksumTraditional flag. Reading up on it it seems as though it comes with a warning about significant I/O performance degradation and increase in CPU usage. I also recall that data integrity checking is performed by default with GNR. How can it be that the I/O performance degradation warning only seems to accompany the nsdCksumTraditional setting and not GNR? As someone who knows exactly 0 of the implementation details, I'm just naively assuming that the checksum are being generated (in the same way?) in both cases and transferred to the NSD server. Why is there such a penalty for "traditional" environments? -Aaron -- Aaron Knister NASA Center for Climate Simulation (Code 606.2) Goddard Space Flight Center (301) 286-2776 _______________________________________________ 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 _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
The point of the original question was to discover why there is a warning about performance for nsdChksumTraditional=yes, but that warning doesn’t seem to apply to an ESS environment. Your reply was that checksums in an ESS environment are calculated in parallel on the NSD server based on the physical storage layout used underneath the NSD, and is thus faster. My point was that if there is never a checksum calculated by the NSD client, then how does the NSD server know that it got uncorrupted data? The link you referenced below (thank you!) indicates that, in fact, the NSD client DOES calculate a checksum and forward it with the data to the NSD server. The server validates the data (necessitating a re-calculation of the checksum), and then GNR stores the data, A CHECKSUM[1], and some block metadata to media. So this leaves us with a checksum calculated by the client and then validated (re-calculated) by the server — IN BOTH CASES. For the GNR case, another checksum in calculated and stored with the data for another purpose, but that means that the nsdChksumTraditional=yes case is exactly like the first phase of the GNR case. So why is that case slower when it does less work? Slow enough to merit a warning, no less! I’m really not trying to be a pest, but I have a logic problem with either the question or the answer — they aren’t consistent (or I can’t rationalize them to be so). -- Stephen [1] The document is vague (I believe intentionally, because it could have easily been made clear) as to whether this is the same checksum or a different one. Presumably the server-side-new-checksum is calculated in parallel and protects the chunklets or whatever they're called. This is all consistent with what you said!
On Oct 29, 2018, at 5:29 PM, Kumaran Rajaram <kums@us.ibm.com <mailto:kums@us.ibm.com>> wrote:
In non-GNR setup, nsdCksumTraditional=yes enables data-integrity checking between a traditional NSD client node and its NSD server, at the network level only.
The ESS storage supports end-to-end checksum, NSD client to the ESS IO servers (at the network level) as well as from ESS IO servers to the disk/storage. This is further detailed in the docs (link below):
https://www.ibm.com/support/knowledgecenter/en/SSYSP8_5.3.1/com.ibm.spectrum... <https://www.ibm.com/support/knowledgecenter/en/SSYSP8_5.3.1/com.ibm.spectrum...>
Best, -Kums
From: Stephen Ulmer <ulmer@ulmer.org <mailto:ulmer@ulmer.org>> To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org <mailto:gpfsug-discuss@spectrumscale.org>> Date: 10/29/2018 04:52 PM Subject: Re: [gpfsug-discuss] NSD network checksums (nsdCksumTraditional) Sent by: gpfsug-discuss-bounces@spectrumscale.org <mailto:gpfsug-discuss-bounces@spectrumscale.org>
So the ESS checksums that are highly touted as "protecting all the way to the disk surface" completely ignore the transfer between the client and the NSD server? It sounds like you are saying that all of the checksumming done for GNR is internal to GNR and only protects against bit-flips on the disk (and in staging buffers, etc.)
I’m asking because your explanation completely ignores calculating anything on the NSD client and implies that the client could not participate, given that it does not know about the structure of the vdisks under the NSD — but that has to be a performance factor for both types if the transfer is protected starting at the client — which it is in the case of nsdCksumTraditional which is what we are comparing to ESS checksumming.
If ESS checksumming doesn’t protect on the wire I’d say that marketing has run amok, because that has *definitely* been implied in meetings for which I’ve been present. In fact, when asked if Spectrum Scale provides checksumming for data in-flight, IBM sales has used it as an ESS up-sell opportunity.
-- Stephen
On Oct 29, 2018, at 3:56 PM, Kumaran Rajaram <kums@us.ibm.com <mailto:kums@us.ibm.com>> wrote:
Hi,
How can it be that the I/O performance degradation warning only seems to accompany the nsdCksumTraditional setting and not GNR? Why is there such a penalty for "traditional" environments?
In GNR IO/NSD servers (ESS IO nodes), the checksums are computed in parallel for a NSD (storage volume/vdisk) across the threads handling each pdisk/drive (that constitutes the vdisk/volume). This is possible since the GNR software on the ESS IO servers is tightly integrated with underlying storage and is aware of the vdisk DRAID configuration (strip-size, pdisk constituting vdisk etc.) to perform parallel checksum operations.
In non-GNR + external storage model, the GPFS software on the NSD server(s) does not manage the underlying storage volume (this is done by storage RAID controllers) and the checksum is computed serially. This would contribute to increase in CPU usage and I/O performance degradation (depending on I/O access patterns, I/O load etc).
My two cents.
Regards, -Kums
From: Aaron Knister <aaron.s.knister@nasa.gov <mailto:aaron.s.knister@nasa.gov>> To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org <mailto:gpfsug-discuss@spectrumscale.org>> Date: 10/29/2018 12:34 PM Subject: [gpfsug-discuss] NSD network checksums (nsdCksumTraditional) Sent by: gpfsug-discuss-bounces@spectrumscale.org <mailto:gpfsug-discuss-bounces@spectrumscale.org>
Flipping through the slides from the recent SSUG meeting I noticed that in 5.0.2 one of the features mentioned was the nsdCksumTraditional flag. Reading up on it it seems as though it comes with a warning about significant I/O performance degradation and increase in CPU usage. I also recall that data integrity checking is performed by default with GNR. How can it be that the I/O performance degradation warning only seems to accompany the nsdCksumTraditional setting and not GNR? As someone who knows exactly 0 of the implementation details, I'm just naively assuming that the checksum are being generated (in the same way?) in both cases and transferred to the NSD server. Why is there such a penalty for "traditional" environments?
-Aaron
-- Aaron Knister NASA Center for Climate Simulation (Code 606.2) Goddard Space Flight Center (301) 286-2776 _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org <http://spectrumscale.org/> http://gpfsug.org/mailman/listinfo/gpfsug-discuss <http://gpfsug.org/mailman/listinfo/gpfsug-discuss>
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org <http://spectrumscale.org/> http://gpfsug.org/mailman/listinfo/gpfsug-discuss <http://gpfsug.org/mailman/listinfo/gpfsug-discuss> _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org <http://spectrumscale.org/> http://gpfsug.org/mailman/listinfo/gpfsug-discuss <http://gpfsug.org/mailman/listinfo/gpfsug-discuss>
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org <http://spectrumscale.org/> http://gpfsug.org/mailman/listinfo/gpfsug-discuss <http://gpfsug.org/mailman/listinfo/gpfsug-discuss>
Remember too that in a traditional GPFS setup, the NSD servers are effectively merely data routers (since the clients know exactly where the block is going to be written) and as such NSD servers can be previous generation hardware. By contrast GNR needs cpu cycles and plenty of memory, so ESS nodes are naturally big and fast (as well as benefitting from parallel threads working together on the GNR). Daniel Dr Daniel Kidger IBM Technical Sales Specialist Software Defined Solution Sales +44-(0)7818 522 266 daniel.kidger@uk.ibm.com
On 30 Oct 2018, at 00:53, Andrew Beattie <abeattie@au1.ibm.com> wrote:
Stephen,
I think you also need to take into consideration that IBM does not control what infrastructure users may chose to deploy Spectrum scale on outside of ESS hardware.
As such it is entirely possible that older or lower spec hardware, or even virtualised NSD Servers with even lower resources per virtual node, will have potential issues when running the nsdChksumTraditional=yes flag, As such IBM has a duty of care to provide a warning that you may experience issues if you turn the additional workload on.
Beyond this i'm not seeing why there is an issue, if you turn the flag on in a non ESS scenario the process is Serialised, if you turn it on in an ESS Scenario you get to take advantage of the fact that Scale Native Raid does a significant amount of the work in a parallelised method, one is less resource intensive than the other, because the process is handled differently depending on the type of NSD Servers doing the work.
Andrew Beattie Software Defined Storage - IT Specialist Phone: 614-2133-7927 E-mail: abeattie@au1.ibm.com
----- Original message ----- From: Stephen Ulmer <ulmer@ulmer.org> Sent by: gpfsug-discuss-bounces@spectrumscale.org To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Cc: Subject: Re: [gpfsug-discuss] NSD network checksums (nsdCksumTraditional) Date: Tue, Oct 30, 2018 10:39 AM
The point of the original question was to discover why there is a warning about performance for nsdChksumTraditional=yes, but that warning doesn’t seem to apply to an ESS environment.
Your reply was that checksums in an ESS environment are calculated in parallel on the NSD server based on the physical storage layout used underneath the NSD, and is thus faster. My point was that if there is never a checksum calculated by the NSD client, then how does the NSD server know that it got uncorrupted data?
The link you referenced below (thank you!) indicates that, in fact, the NSD client DOES calculate a checksum and forward it with the data to the NSD server. The server validates the data (necessitating a re-calculation of the checksum), and then GNR stores the data, A CHECKSUM[1], and some block metadata to media.
So this leaves us with a checksum calculated by the client and then validated (re-calculated) by the server — IN BOTH CASES. For the GNR case, another checksum in calculated and stored with the data for another purpose, but that means that the nsdChksumTraditional=yes case is exactly like the first phase of the GNR case. So why is that case slower when it does less work? Slow enough to merit a warning, no less!
I’m really not trying to be a pest, but I have a logic problem with either the question or the answer — they aren’t consistent (or I can’t rationalize them to be so).
-- Stephen
[1] The document is vague (I believe intentionally, because it could have easily been made clear) as to whether this is the same checksum or a different one. Presumably the server-side-new-checksum is calculated in parallel and protects the chunklets or whatever they're called. This is all consistent with what you said!
On Oct 29, 2018, at 5:29 PM, Kumaran Rajaram <kums@us.ibm.com> wrote:
In non-GNR setup, nsdCksumTraditional=yes enables data-integrity checking between a traditional NSD client node and its NSD server, at the network level only.
The ESS storage supports end-to-end checksum, NSD client to the ESS IO servers (at the network level) as well as from ESS IO servers to the disk/storage. This is further detailed in the docs (link below):
https://www.ibm.com/support/knowledgecenter/en/SSYSP8_5.3.1/com.ibm.spectrum...
Best, -Kums
From: Stephen Ulmer <ulmer@ulmer.org> To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Date: 10/29/2018 04:52 PM Subject: Re: [gpfsug-discuss] NSD network checksums (nsdCksumTraditional) Sent by: gpfsug-discuss-bounces@spectrumscale.org
So the ESS checksums that are highly touted as "protecting all the way to the disk surface" completely ignore the transfer between the client and the NSD server? It sounds like you are saying that all of the checksumming done for GNR is internal to GNR and only protects against bit-flips on the disk (and in staging buffers, etc.)
I’m asking because your explanation completely ignores calculating anything on the NSD client and implies that the client could not participate, given that it does not know about the structure of the vdisks under the NSD — but that has to be a performance factor for both types if the transfer is protected starting at the client — which it is in the case of nsdCksumTraditional which is what we are comparing to ESS checksumming.
If ESS checksumming doesn’t protect on the wire I’d say that marketing has run amok, because that has *definitely* been implied in meetings for which I’ve been present. In fact, when asked if Spectrum Scale provides checksumming for data in-flight, IBM sales has used it as an ESS up-sell opportunity.
-- Stephen
On Oct 29, 2018, at 3:56 PM, Kumaran Rajaram <kums@us.ibm.com> wrote:
Hi,
How can it be that the I/O performance degradation warning only seems to accompany the nsdCksumTraditional setting and not GNR? Why is there such a penalty for "traditional" environments?
In GNR IO/NSD servers (ESS IO nodes), the checksums are computed in parallel for a NSD (storage volume/vdisk) across the threads handling each pdisk/drive (that constitutes the vdisk/volume). This is possible since the GNR software on the ESS IO servers is tightly integrated with underlying storage and is aware of the vdisk DRAID configuration (strip-size, pdisk constituting vdisk etc.) to perform parallel checksum operations.
In non-GNR + external storage model, the GPFS software on the NSD server(s) does not manage the underlying storage volume (this is done by storage RAID controllers) and the checksum is computed serially. This would contribute to increase in CPU usage and I/O performance degradation (depending on I/O access patterns, I/O load etc).
My two cents.
Regards, -Kums
From: Aaron Knister <aaron.s.knister@nasa.gov> To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Date: 10/29/2018 12:34 PM Subject: [gpfsug-discuss] NSD network checksums (nsdCksumTraditional) Sent by: gpfsug-discuss-bounces@spectrumscale.org
Flipping through the slides from the recent SSUG meeting I noticed that in 5.0.2 one of the features mentioned was the nsdCksumTraditional flag. Reading up on it it seems as though it comes with a warning about significant I/O performance degradation and increase in CPU usage. I also recall that data integrity checking is performed by default with GNR. How can it be that the I/O performance degradation warning only seems to accompany the nsdCksumTraditional setting and not GNR? As someone who knows exactly 0 of the implementation details, I'm just naively assuming that the checksum are being generated (in the same way?) in both cases and transferred to the NSD server. Why is there such a penalty for "traditional" environments?
-Aaron
-- Aaron Knister NASA Center for Climate Simulation (Code 606.2) Goddard Space Flight Center (301) 286-2776 _______________________________________________ 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 _______________________________________________ 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
_______________________________________________ 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
Unless stated otherwise above: IBM United Kingdom Limited - Registered in England and Wales with number 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
On 29/10/2018 20:47, Stephen Ulmer wrote: [SNIP]
If ESS checksumming doesn’t protect on the wire I’d say that marketing has run amok, because that has *definitely* been implied in meetings for which I’ve been present. In fact, when asked if Spectrum Scale provides checksumming for data in-flight, IBM sales has used it as an ESS up-sell opportunity.
Noting that on a TCP/IP network anything passing over a TCP connection is checksummed at the network layer. Consequently any addition checksumming is basically superfluous. JAB. -- Jonathan A. Buzzard Tel: +44141-5483420 HPC System Administrator, ARCHIE-WeSt. University of Strathclyde, John Anderson Building, Glasgow. G4 0NG
I’m guessing IBM doesn’t generally spend huge amounts of money on things that are superfluous...although *cough*RedHat*cough*. TCP does of course perform checksumming, but I see the NSD checksums as being at a higher “layer”, if you will. The layer at which I believe the NSD checksums operate sits above the complex spaghetti monster of queues, buffers, state machines, kernel/user space communication inside of GPFS as well as networking drivers that can suck (looking at you Intel, Mellanox), and high speed networking hardware all of which I’ve seen cause data corruption (even though the data on the wire was in some cases checksummed correctly). -Aaron On October 30, 2018 at 05:03:26 EDT, Jonathan Buzzard <jonathan.buzzard@strath.ac.uk> wrote: On 29/10/2018 20:47, Stephen Ulmer wrote: [SNIP]
If ESS checksumming doesn’t protect on the wire I’d say that marketing has run amok, because that has *definitely* been implied in meetings for which I’ve been present. In fact, when asked if Spectrum Scale provides checksumming for data in-flight, IBM sales has used it as an ESS up-sell opportunity.
Noting that on a TCP/IP network anything passing over a TCP connection is checksummed at the network layer. Consequently any addition checksumming is basically superfluous. JAB. -- Jonathan A. Buzzard Tel: +44141-5483420 HPC System Administrator, ARCHIE-WeSt. University of Strathclyde, John Anderson Building, Glasgow. G4 0NG _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
On Tue, 30 Oct 2018 09:03:06 -0000, Jonathan Buzzard said:
Noting that on a TCP/IP network anything passing over a TCP connection is checksummed at the network layer. Consequently any addition checksumming is basically superfluous.
Note that the TCP checksum is relatively weak, and designed in a day when a 56K leased line was a high-speed long-haul link and 10mbit ethernet was the fastest thing on the planet. When 10 megabytes was a large transfer, it was a reasonable amount of protection. But when you get into moving petabytes of data around, the chances of an undetected error starts getting significant. Pop quiz time: When was the last time you (the reader) checked your network statistics to see what your bit error rate was? Do you even have the ability to do so?
Valdis will also recall how much "fun" we had with network related corruption due to what we surmised was a TCP offload engine FW defect in a certain 10GbE HCA. Only happened sporadically every few weeks... what a nightmare that was!! -B -----Original Message----- From: gpfsug-discuss-bounces@spectrumscale.org <gpfsug-discuss-bounces@spectrumscale.org> On Behalf Of valdis.kletnieks@vt.edu Sent: Tuesday, October 30, 2018 5:14 PM To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Subject: Re: [gpfsug-discuss] NSD network checksums (nsdCksumTraditional) [EXTERNAL EMAIL] On Tue, 30 Oct 2018 09:03:06 -0000, Jonathan Buzzard said:
Noting that on a TCP/IP network anything passing over a TCP connection is checksummed at the network layer. Consequently any addition checksumming is basically superfluous.
Note that the TCP checksum is relatively weak, and designed in a day when a 56K leased line was a high-speed long-haul link and 10mbit ethernet was the fastest thing on the planet. When 10 megabytes was a large transfer, it was a reasonable amount of protection. But when you get into moving petabytes of data around, the chances of an undetected error starts getting significant. Pop quiz time: When was the last time you (the reader) checked your network statistics to see what your bit error rate was? Do you even have the ability to do so? ________________________________ Note: This email is for the confidential use of the named addressee(s) only and may contain proprietary, confidential, or privileged information and/or personal data. If you are not the intended recipient, you are hereby notified that any review, dissemination, or copying of this email is strictly prohibited, and requested to notify the sender immediately and destroy this email and any attachments. Email transmission cannot be guaranteed to be secure or error-free. The Company, therefore, does not make any guarantees as to the completeness or accuracy of this email or any attachments. This email is for informational purposes only and does not constitute a recommendation, offer, request, or solicitation of any kind to buy, sell, subscribe, redeem, or perform any type of transaction of a financial product. Personal data, as defined by applicable data privacy laws, contained in this email may be processed by the Company, and any of its affiliated or related companies, for potential ongoing compliance and/or business-related purposes. You may have rights regarding your personal data; for information on exercising these rights or the Company’s treatment of personal data, please email datarequests@jumptrading.com.
I confess, I know what checksums are generally and how and why they are used, but I am not familiar with all the various checksums that have been discussed here. I'd like to see a list or a chart with the following information for each checksum: Computed on what data elements, of what (typical) length (e.g. packet, disk block, disk fragment, disk sector) Checksum function used, how many bits of checksum computed on each data element. Computed by what software or hardware entity at what nodes in the network. There may be such checksums on each NSD transfer. Lowest layers would be checking data coming off of the disk. Checking network packets coming off ethernet or IB adapters. Higher layer for NSD could be a checksum on a whole disk block and/or on NSD request and response, including message headers AND the disk data...
On Tue, 30 Oct 2018 22:52:35 -0000, Bryan Banister said:
Valdis will also recall how much "fun" we had with network related corruption due to what we surmised was a TCP offload engine FW defect in a certain 10GbE HCA. Only happened sporadically every few weeks... what a nightmare that was!!
It makes for quite the bar story, as the symptoms pointed everywhere except the network adapter. For the purposes of this thread though, two points to note: 1) The card in question was a spectacularly good price/performer and totally rock solid in 4 NFS servers that we had - in 6 years of trying, I never managed to make them hiccup (the one suspected failure turned out to be a fiber cable that had gotten crimped when the rack door was closed on a loop). 2) Since the TCP offload engine was computing the checksum across the data, but it had gotten confused about which data it was about to transmit, every single packet went out with a perfectly correct checksum.
participants (11)
-
Aaron Knister -
Andrew Beattie -
Bryan Banister -
Daniel Kidger -
Felipe Knop -
Jonathan Buzzard -
Knister, Aaron S. (GSFC-606.2)[InuTeq, LLC] -
Kumaran Rajaram -
Marc A Kaplan -
Stephen Ulmer -
valdis.kletnieks@vt.edu
