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.
    • 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
                                      • scottalanmillerS
                                        scottalanmiller
                                        last edited by

                                        Dell also recommends really low end, fragile SANs with stability problems where they aren't appropriate at all and they call things RAID 10 that obviously are not. Dell sometimes even confuses themselves with misused terms, so we have to watch them carefully.

                                        DashrenderD 1 Reply Last reply Reply Quote 1
                                        • DashrenderD
                                          Dashrender @scottalanmiller
                                          last edited by

                                          @scottalanmiller said in RAID Caching and SSD Drives:

                                          Dell also recommends really low end, fragile SANs with stability problems where they aren't appropriate at all and they call things RAID 10 that obviously are not. Dell sometimes even confuses themselves with misused terms, so we have to watch them carefully.

                                          ROFLOL - so true!

                                          1 Reply Last reply Reply Quote 0
                                          • K
                                            Kris_K @scottalanmiller
                                            last edited by Kris_K

                                            Asked the same question in SW. The results i got using CrystalDiskMark didn't make sense as well.
                                            Write-though, 4K Q32T1 - write at 90000 IOPS, 369MB/s
                                            Write-back, 4K Q32T1 - write at 37000 IOPS, 151MB/s

                                            DashrenderD scottalanmillerS 2 Replies Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 2 / 2
                                            • First post
                                              Last post