Caching HDD with SSD

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • eccerr0r
    Solder Sloth
    • Nov 2012
    • 8691
    • USA

    #1

    Caching HDD with SSD

    Well for those people who don't have 4TB SSDs, wonder if anyone has gone the cache route?

    Well, what I'd like to do - I have a 4TB disk array (RAID5) and would like to add an SSD cache to speed up operations.

    Don't worry about the implementation - though I am using Linux LVM and planning on using LVM's built-in disk cache functionality, but again don't worry about it. Assume that I can suddenly add an SSD cache.

    What I wonder is how much of an improvement I'll see in multiple I/O consumers. The disk array is currently being accessed by multiple IO streams and is getting killed by this fact, as expected. I wonder how much of a SSD would cause an improvement in interactive performance or will it be mandatory that I have an SSD of the same size of my array to get any benefit? I'm worried about write performance as well, unfortunately this will be bottlenecked by the underlying HDD, perhaps I am forced to use writeback caching to improve performance?

    I'm hoping I can get away with a much smaller SSD than the 4T on the array. Also wonder how badly will the SSD get trashed in terms of write cycles/lifetime?

    Anyone using such a setup?
  • stj
    Great Sage 齊天大聖
    • Dec 2009
    • 30965
    • Albion

    #2
    Re: Caching HDD with SSD

    the ssd will probably die.
    the profesional method - that is now cheap on ebay,
    is to use a buffered raid card.
    these cards have a big ram/sim/dim on them backed by lithium batteries. (incase of a crash/power loss)

    Comment

    • eccerr0r
      Solder Sloth
      • Nov 2012
      • 8691
      • USA

      #3
      Re: Caching HDD with SSD

      I'd imagine the SSD would last as long as an SSD in the same situation, depends on how much you write to it, though RAID may amplify writes a bit. However a 64G SSD is cheaper than 64GB DDR4 on a RAID card... not as fast but still much faster than mechanical HDDs...

      Comment

      • stj
        Great Sage 齊天大聖
        • Dec 2009
        • 30965
        • Albion

        #4
        Re: Caching HDD with SSD

        you dont need 64gig ram on the raid card, 4-16 is more than enough.
        the card only uses it as a buffer between the system and the spinning harddrives.

        Comment

        • eccerr0r
          Solder Sloth
          • Nov 2012
          • 8691
          • USA

          #5
          Re: Caching HDD with SSD

          I haven't been able to find any cheap ones that have more than 512MB RAM, and based on my datasets I think I do need at least about 4GB or so as that's the most commonly used datasets that should be cached... seen any? 16GB would be nice, and then 64GB SSDs are cheap now?

          Comment

          • eccerr0r
            Solder Sloth
            • Nov 2012
            • 8691
            • USA

            #6
            Re: Caching HDD with SSD

            Well I implemented it when I did a server cleanup. Used a 180G SSD, there's quite a bit of stuff that sped up...

            ... and then everything went down hill. Yow.

            Turns out, after cleaning out a bad fan that was seized, the fan now vibrates horribly and causes one of the hard drives to error out making the cache system useless.

            %$#*(%Ing 40mm fans. I stuck a wire into it to shut up the stupid fan and disk speeds went back up to normal.
            Last edited by eccerr0r; 04-02-2021, 12:53 AM.

            Comment

            • stj
              Great Sage 齊天大聖
              • Dec 2009
              • 30965
              • Albion

              #7
              Re: Caching HDD with SSD

              what uses a 40mm fan? i'v not seen one in years.
              i used to replace them with 50mm - the smallest fan that actually moves more air than it heats!!

              Comment

              • diif
                Badcaps Legend
                • Feb 2014
                • 6978
                • England

                #8
                Re: Caching HDD with SSD

                Originally posted by stj
                what uses a 40mm fan? i'v not seen one in years.
                i used to replace them with 50mm - the smallest fan that actually moves more air than it heats!!
                Anything 1U, network switches mostly.

                Comment

                • brethin
                  Badcaps Legend
                  • Dec 2008
                  • 1907
                  • USA

                  #9
                  Re: Caching HDD with SSD

                  Ssd makes a bad cache device, use a ram card.

                  Comment

                  • stj
                    Great Sage 齊天大聖
                    • Dec 2009
                    • 30965
                    • Albion

                    #10
                    Re: Caching HDD with SSD

                    Originally posted by diif
                    Anything 1U, network switches mostly.
                    you could use a 50mm on a slanted plate to lower it's height.
                    or just use a centrifugal type like on laptops

                    Comment

                    • diif
                      Badcaps Legend
                      • Feb 2014
                      • 6978
                      • England

                      #11
                      Re: Caching HDD with SSD

                      Originally posted by stj
                      you could use a 50mm on a slanted plate to lower it's height.
                      or just use a centrifugal type like on laptops
                      No need, I have lifetime supply of Sunon Maglev 40mm fans.

                      Comment

                      • eccerr0r
                        Solder Sloth
                        • Nov 2012
                        • 8691
                        • USA

                        #12
                        Re: Caching HDD with SSD

                        Cache system actually works fairly well now, when the underlying HDD is actually working properly. Cold misses suck as usual but once it warms up, ahh...

                        Granted that the cache:size ratio is fairly large since I targeted only the hot spots, better than 1:8 ratio for them. As long as I don't (frequently) touch the uncached portions...

                        Comment

                        • Uranium-235
                          Comrade Glimmer
                          • Aug 2007
                          • 5042
                          • US

                          #13
                          Re: Caching HDD with SSD

                          At one time they made hard drives with a SSD cache. They were called SSHD. They were total shit
                          Cap Datasheet Depot: http://www.paullinebarger.net/DS/
                          ^If you have datasheets not listed PM me

                          Comment

                          • eccerr0r
                            Solder Sloth
                            • Nov 2012
                            • 8691
                            • USA

                            #14
                            Re: Caching HDD with SSD

                            Buy underspecced, expect a miracle, be disappointed...

                            Comment

                            • eccerr0r
                              Solder Sloth
                              • Nov 2012
                              • 8691
                              • USA

                              #15
                              Re: Caching HDD with SSD

                              I have to say, the cache system is working very well. I allocated about 128GB to cache 800GB right now (rest of the 4T I don't cache), very nice, it covers up a lot if not almost all of the disk slowness, even during RAID scrub night. My disk array is horridly slow during biweekly maintenance night, it's still slow but the cache hides the latency -- I can actually do something with the computer during scrubbing now!

                              ...Which is kind of moot anyway, I explicitly set scrub night to be when I'm most likely not using the computer so the slowness is hidden away already...
                              Last edited by eccerr0r; 04-08-2021, 10:35 AM.

                              Comment

                              Related Topics

                              Collapse

                              • welp
                                PS5 Disk Tray issues.
                                by welp
                                I have a PlayStation 5 CH-1215A with a Disk drive not reading disks anymore. (accepting and ejecting very slowly.)
                                Knowing the PS5 has a married daughter board for the disk drive I made sure to use that and replace the rest of the disk tray as it* was owned previously by an indoor smoker.
                                Once the job was complete and put back everything together, I tried to insert a disk with no luck at all...
                                So, I checked voltage going from the ps5 to the daughter board and am only getting the 5V rail.
                                With that knowledge I preceded to check all the fuses for the 12v rail on the main...
                                12-19-2024, 02:04 PM
                              • DynaxSC
                                ASUS ROG STRIX B550-I GAMING - M.2_2 port not working correctly with SAMSUNG SSD980 1TB NVME SSD
                                by DynaxSC
                                Hi,

                                I have an really very weired issue with ASUS ROG STRIX B550-I GAMING.

                                Some NVME (PCIe) SSD's are not working correctly in the second M.2 socket. An example of it is the SAMSUNG SSD980 1TB NVME SSD.
                                Some other NVME (I have only smaller ones) disk do work without any problem, also SAMSUNG disks, eg an MZVPV128HDGM-0000.

                                The behaviour is also really very strange, i.e.:
                                • The disk shows always up in BIOS - so it is recognized, so far so good
                                • POST-ing with this disk with fresh Windows 24H2 installation (done in the M.2_1 socket) in the M.2_2 socket
                                ...
                                02-23-2025, 01:33 PM
                              • madura2010
                                DAY11AM6E0 hard disk drive and optical disk drive not detected
                                by madura2010
                                Today recieved hp model 17-f100nx laptop with no power.(motherboard=DAY11AMB6E0) after that repaired +1.05v section due to faulty buck converter.after that power issue fixed and laptop turns on.But "no bootable 3f0 error displayed".so then

                                i checked the connectivity of ribbon=good communication with hard and motherboard

                                changed hard disk and checked=3f0 error persist

                                sata power=+5v available

                                Then checked data capacitors=all good

                                Then checked data lines path connectivity to pch=all good

                                reflashed...
                                03-12-2023, 09:09 AM
                              • chth96
                                LG GCC-4521B cannot read any disk
                                by chth96
                                I bought 6 second hands odd $5 at a flea market and I found that 2 odd(GCC-4521B,TS-H192) won't read any disk.
                                But I measured all ESR value of SMD capacitor which is located on the TS-H192's PCB and replaced two capacitor which has higher ESR value.
                                And To My joy,this TS-H192 odd finally recognized burned CD as well as pressed CD.😂
                                But there was no more good fortune for GCC-4521B..In order to dead GCC-4521B back to life, I replaced three capacitor which has higher ESR value and I rubbed silicon grease on the every glides.I even brushed lens with cotton swab which was soaked...
                                02-13-2024, 07:31 AM
                              • Eleways
                                Apple Macbook A1707 Hard disk
                                by Eleways
                                Hi

                                I've an Apple macbook A1707 with Hdd defect.

                                This product don't work with a normal Hard disk, but the hard disk it's a BGA component on the logic board.

                                My question is:
                                Can i exchange the hard disk, by desolder the bga Hard disk and replacing this?

                                Can i replace with a different one (es 500 gb instead of 250 gb)

                                This Macbook has T1 security check.

                                Thanks and best regards

                                Luca
                                02-18-2022, 04:23 AM
                              • Loading...
                              • No more items.
                              Working...