ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    RAID Caching and SSD Drives

    IT Discussion
    9
    38
    8.3k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DashrenderD
      Dashrender @BRRABill
      last edited by

      @BRRABill said in RAID Caching and SSD Drives:

      Not saying it is right or wrong, but the PERC cards have caching turned on by default for SSDs.

      Why would we think the drive type would matter? Spinning or Flash memory - so what? Now - if the RAID card's ability to retrieve data is as fast or faster from the SSD arrays than the cache, then sure, take it out, because it's nothing but another point of failure, but if it's providing performance enhancement, just like it does for HDDs, why would you change anything from how you've treated them for the past 2+ decades?

      1 Reply Last reply Reply Quote 2
      • scottalanmillerS
        scottalanmiller @wirestyle22
        last edited by

        @wirestyle22 said in RAID Caching and SSD Drives:

        @coliver said in RAID Caching and SSD Drives:

        @wirestyle22 said in RAID Caching and SSD Drives:

        @aaronstuder said in RAID Caching and SSD Drives:

        We have a Dell R420 with H710P controller. We have 5 960GB Edge SSD Drives.

        What the best way to configure this?

        xByte recommends turning the caching completely, does this make since?

        @xByteSean

        From what I have read turning caching off is typically best practice. @scottalanmiller can clarify that for you though. I think it's just unreliable.

        Providing their is a battery backup for the Raid controller is there an issue with leaving caching on? If so why? Is the SSD array faster then the built in cache?

        The write cache on the disk makes the RAID controller (software or hardware) think that the writes are in a non-volatile state, when in fact they may not be. That's what I mean by unreliable.

        That's not where the cache is, though 😉 That cache has to be disabled. The RAID cache is a completely different thing and is not volatile.

        1 Reply Last reply Reply Quote 0
        • scottalanmillerS
          scottalanmiller @Alex Sage
          last edited by

          @aaronstuder said in RAID Caching and SSD Drives:

          @coliver said in RAID Caching and SSD Drives:

          Is the SSD array faster then the built in cache?

          That is the question 🙂

          The SSD array is not faster than memory.

          1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller @BRRABill
            last edited by

            @BRRABill said in RAID Caching and SSD Drives:

            Not saying it is right or wrong, but the PERC cards have caching turned on by default for SSDs.

            You mean the SSD's own cache?

            BRRABillB 1 Reply Last reply Reply Quote 0
            • scottalanmillerS
              scottalanmiller
              last edited by

              I think that we need xByte to weigh in as to why they are giving this advice because there is a very good chance that information has been relayed incorrectly. As we can see in the thread, one question (about RAID cache) has been almost instantly translated into drive cache.

              Drive cache is always supposed to be disabled on RAID, even on old spinning rust Winchester drives. That's why SAS drives have itty bitty cache and cache sizes are only ever discussed when we are talking about single drive desktop class systems with consumer SATA drives. Drive cache is a consumer concept.

              RAID cache in any business or enterprise class system is always either backed by battery or is non-volatile flash cache - NVRAM.

              In theory, the cache should be quite a bit faster than the SSD array. But not the insane amount faster than it is with spinning rust drives, of course.

              What is normally done, AFAIK, with moving to SSD arrays is to change the cache mix from 50/50 or even 80/20 to as drastically opposite as 0/100 (no read cache, all write cache.) This is for a couple of reasons: one to dramatically lower the write expansion and penalties on parity arrays and to lower the latency of write operations as impacted by the CPU.

              BRRABillB 1 Reply Last reply Reply Quote 1
              • BRRABillB
                BRRABill @scottalanmiller
                last edited by

                @scottalanmiller said

                You mean the SSD's own cache?

                No, the RAID cache. I thought that is what was being discussed.

                1 Reply Last reply Reply Quote 0
                • BRRABillB
                  BRRABill @scottalanmiller
                  last edited by

                  @scottalanmiller said

                  I think that we need xByte to weigh in

                  xByte is going to rue this week, LOL.

                  1 Reply Last reply Reply Quote 1
                  • A
                    Alex Sage
                    last edited by

                    Hopefully xByte will be by soon

                    BRRABillB 1 Reply Last reply Reply Quote 0
                    • BRRABillB
                      BRRABill @Alex Sage
                      last edited by

                      @aaronstuder said in RAID Caching and SSD Drives:

                      Hopefully xByte will be by soon

                      I found e-mailing the person you are looking for and referencing a thread (by the link) s the best way to get them to respond quickly.

                      Since the notifications don't really work on ML, it's the only good way.

                      1 Reply Last reply Reply Quote 0
                      • BradfromxByteB
                        BradfromxByte
                        last edited by

                        To get the best performance enable write-through cache, and no read ahead in the controller BIOS. Dell calls Cut-Through IO specifically to enhance the performance of SSD arrays.

                        A BRRABillB scottalanmillerS 3 Replies Last reply Reply Quote 2
                        • A
                          Alex Sage @BradfromxByte
                          last edited by

                          @BradfromxByte Thanks brad! Can you PM me your contact details?

                          1 Reply Last reply Reply Quote 0
                          • BRRABillB
                            BRRABill @BradfromxByte
                            last edited by

                            @BradfromxByte said in RAID Caching and SSD Drives:

                            To get the best performance enable write-through cache, and no read ahead in the controller BIOS. Dell calls Cut-Through IO specifically to enhance the performance of SSD arrays.

                            So my comment that the PERC takes care of it was kind of correct. 🙂

                            1 Reply Last reply Reply Quote 0
                            • scottalanmillerS
                              scottalanmiller @BradfromxByte
                              last edited by

                              @BradfromxByte said in RAID Caching and SSD Drives:

                              To get the best performance enable write-through cache, and no read ahead in the controller BIOS. Dell calls Cut-Through IO specifically to enhance the performance of SSD arrays.

                              http://www.computerweekly.com/feature/Write-through-write-around-write-back-Cache-explained

                              Normally write through does not disable the cache, just changes it for safety. Do you know what aspect of write through would improve performance?

                              1 Reply Last reply Reply Quote 0
                              • BradfromxByteB
                                BradfromxByte
                                last edited by

                                From the article:

                                "Write-through cache directs write I/O onto cache and through to underlying permanent storage before confirming I/O completion to the host"
                                "Write-through cache is good for applications that write and then re-read data frequently as data is stored in cache and results in low read latency".

                                wirestyle22W scottalanmillerS 2 Replies Last reply Reply Quote 1
                                • wirestyle22W
                                  wirestyle22 @BradfromxByte
                                  last edited by wirestyle22

                                  @BradfromxByte said in RAID Caching and SSD Drives:

                                  From the article:

                                  "Write-through cache directs write I/O onto cache and through to underlying permanent storage before confirming I/O completion to the host"
                                  "Write-through cache is good for applications that write and then re-read data frequently as data is stored in cache and results in low read latency".

                                  I didn't know this. Valuable information. Thanks

                                  1 Reply Last reply Reply Quote 0
                                  • scottalanmillerS
                                    scottalanmiller @BradfromxByte
                                    last edited by

                                    @BradfromxByte said in RAID Caching and SSD Drives:

                                    From the article:

                                    "Write-through cache directs write I/O onto cache and through to underlying permanent storage before confirming I/O completion to the host"
                                    "Write-through cache is good for applications that write and then re-read data frequently as data is stored in cache and results in low read latency".

                                    How does write-back not do that as well, though?

                                    1 Reply Last reply Reply Quote 0
                                    • BradfromxByteB
                                      BradfromxByte
                                      last edited by

                                      They are both directed to cache, but the difference is when the I/O is confirmed to the host:

                                      Write-Back Cache - is where write I/O is directed to cache and completion is IMMEDIATELY confirmed to the host. (mixed work loads)

                                      Write-through cache- directs write I/O onto cache and through to underlying permanent storage BEFORE confirming I/O completion to the host.

                                      scottalanmillerS 1 Reply Last reply Reply Quote 0
                                      • scottalanmillerS
                                        scottalanmiller @BradfromxByte
                                        last edited by

                                        @BradfromxByte said in RAID Caching and SSD Drives:

                                        They are both directed to cache, but the difference is when the I/O is confirmed to the host:

                                        Write-Back Cache - is where write I/O is directed to cache and completion is IMMEDIATELY confirmed to the host. (mixed work loads)

                                        Write-through cache- directs write I/O onto cache and through to underlying permanent storage BEFORE confirming I/O completion to the host.

                                        Exactly, so the write-back would logically be faster. At least based on that fact there. Since in both cases the data is cached, what would make write-though faster here? The benefit listed for it isn't a benefit, it's just not a deficit. So we must be missing the reason for why it is recommended.

                                        1 Reply Last reply Reply Quote 0
                                        • BradfromxByteB
                                          BradfromxByte
                                          last edited by

                                          As mentioned earlier, Dell recommends Cut-Through IO. The Cut-Though IO is an IO accelerator for SSD arrays that boosts the throughput of devices connected to the PERC Controller. It is enabled through disabling the write-back cache (enable write-through cache) and disabling Read Ahead.

                                          scottalanmillerS 1 Reply Last reply Reply Quote 0
                                          • scottalanmillerS
                                            scottalanmiller @BradfromxByte
                                            last edited by

                                            @BradfromxByte said in RAID Caching and SSD Drives:

                                            As mentioned earlier, Dell recommends Cut-Through IO. The Cut-Though IO is an IO accelerator for SSD arrays that boosts the throughput of devices connected to the PERC Controller. It is enabled through disabling the write-back cache (enable write-through cache) and disabling Read Ahead.

                                            Right, but logically that makes it slower based on everything that we know. That Dell "calls it" an accelerator tells us nothing. why do they recommend it is really the question as their documentation would suggest that this is not the right setup.

                                            There has to be something being missed. Disabling read-ahead, that probably makes sense. but turning off write-back?

                                            K 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post