SlideShare ist ein Scribd-Unternehmen logo
Slide 1/17
SSD Caches
Festplatten-RAIDs mit Flashspeicher
                       beschleunigen

                        TK Roadshow 2012




                                           Slide 2/17
Agenda

1) Wann cachen?
2) Definitionen
3) Feature-Vergleich
4) Funktionsweise
5) Performance Tests
6) Fazit


                       Slide 3/17
1) Wann cachen?



if(dataSet == known &&
     ramAvailable != enough &&
     appAccess == analyzed &&
     perfTests == available)
  CheckForCacheTechnologies();
else
  NeedMoreInfo();


                                 Slide 4/17
2) Definitionen




                  Slide 5/17
3) Feature-Vergleich

                           WB             WT           WA/read-only


       FlashCache
                                    1
       CacheCade
                                    2
       MaxCache                 !


 1
     Including ForcedWB
 ! Achtung: Derzeit kein redundanter Cache mit mehreren SSDs möglich
 2
     Including InstantWB




                                                                       Slide 6/17
3) Feature-Vergleich

                                                Skip sequential I/O
                   FlashCache               1
                   CacheCade                2
                   MaxCache                 3



    ●   Das Festplatten-RAID kann für sequentiellen
        I/O schneller sein als die SSD
1
    Konfigurierbar via sysctl (threshold)
2
    Keine weiteren Details bekannt
3
    Nicht konfigurierbar, immer ausgelassen


                                                                      Slide 7/17
3) Feature-Vergleich

                                          Cache persistence
                                                     !
                                                              1
                    FlashCache
                                                              2
                     CacheCade
                                                              3
                     MaxCache



    ●   Das Festplatten-RAID kann für sequentiellen
        I/O schneller sein als die SSD
1
    Nur WB Cache ist persistent
2
    Persistent in alle Cache Modus
3
    Dirty Shutdown: WT – discarded, WB – LV failed


                                                                  Slide 8/17
3) Feature-Vergleich



                     Hot spot detection
        FlashCache
        CacheCade
        MaxCache




                                          Slide 9/17
FlashCache




CacheCade




 MaxCache
5) MB/s - read




                 Slide 11/17
5) MB/s - write




                  Slide 12/17
5) IOPS - randread




                     Slide 13/17
5) IOPS - randwrite




                      Slide 14/17
6) Fazit

                                 Establish a
                                  Baseline



   Applikation testen
                                   Know
                                 application

                               Yes
                                      RAM



   2x Ergebnisse überprüfen   No HDD is
                                 bottleneck





                               No SSD alone
                                   to small
    Erkenntnisse umsetzen
                                       Test
                                     caching


                                WB             WT
                                          Slide 15/17
Backup: Test system

●   SSDs
    ●   Intel Series 320 160GB
    ●   Via HPA reduced to 32GB
●   RAID Controller
    ●   LSI MegaRAID SAS 9260-4i
    ●   Adaptec 6805Q
●   Software
    ●   Fio 2.0.7
    ●   Ubuntu 12.04
        –   Updates from Release Day
                                       Slide 16/17
Backup: Test script

●   flashcache_create
     ●   Create a WB caching device
●   cache_all=0
     ●   Don't cache ext4 initialization
●   mkfs.ext4 -q -E lazy_itable_init=0,
    lazy_journal_init=0 /dev/mapper/fc-root
●   mount /dev/mapper/fc-root
●   cache_all=1
●   Call fio
●   umount /dev/mapper/fc-root
●   dmsetup remove
●   flashcache_destroy /dev/sdd
                                              Slide 17/17

Weitere ähnliche Inhalte

PDF
Boston webcast nv_me_2016-09
PDF
Microsoft Exchange - Data Protection
PDF
Exchange Workshop - Veeam
PDF
Microservices and Container Management with Mesosphere DC/OS
PDF
20101011 roadshow-2010-ssds-grundlagen-know-how-und-konkrete-konfiguration-fuer
PDF
MySQL Backup/Recovery
PDF
MySQL-Server im Teamwork - Replikation und Cluster
PDF
MySQL Beispiele aus der Praxis - Wie setzen Kunden MySQL ein?
Boston webcast nv_me_2016-09
Microsoft Exchange - Data Protection
Exchange Workshop - Veeam
Microservices and Container Management with Mesosphere DC/OS
20101011 roadshow-2010-ssds-grundlagen-know-how-und-konkrete-konfiguration-fuer
MySQL Backup/Recovery
MySQL-Server im Teamwork - Replikation und Cluster
MySQL Beispiele aus der Praxis - Wie setzen Kunden MySQL ein?

Andere mochten auch (20)

PPS
CACHOEIRAS DO MUNDO
PPT
Salmos e hinos 622
PPT
Salmos e hinos 049
PPT
Salmos e hinos 141
PPT
Salmos e hinos 038
PPT
Salmos e hinos 008
PPS
O sobrevivente
PPT
National geographic PROMOTIONAL ACTIVITIES , PRESENT YOUR AREA TO LONDON TRAV...
PPS
Rio gitarum. será mesmo um rio
PPT
Salmos e hinos 286
PPT
Fem Vídeo a l'ordinador
PPT
Salmos e hinos 382
DOCX
Universidad nacional de cajamarca
PPT
Eu não quero mais pecar. ok
PPT
Salmos e hinos 270
DOCX
เปลี่ยนภาพถ่ายให้กลายเป็นภาพวาดด้วยดินสอด้วย My sketch
PPS
PPT
20100919 super typhoon fanapi
PPT
Human damage marine ecology
PDF
Intex Resources 2Quarter Financial Report 2011
CACHOEIRAS DO MUNDO
Salmos e hinos 622
Salmos e hinos 049
Salmos e hinos 141
Salmos e hinos 038
Salmos e hinos 008
O sobrevivente
National geographic PROMOTIONAL ACTIVITIES , PRESENT YOUR AREA TO LONDON TRAV...
Rio gitarum. será mesmo um rio
Salmos e hinos 286
Fem Vídeo a l'ordinador
Salmos e hinos 382
Universidad nacional de cajamarca
Eu não quero mais pecar. ok
Salmos e hinos 270
เปลี่ยนภาพถ่ายให้กลายเป็นภาพวาดด้วยดินสอด้วย My sketch
20100919 super typhoon fanapi
Human damage marine ecology
Intex Resources 2Quarter Financial Report 2011
Anzeige

Ähnlich wie 20121008 ssd-caches (20)

PDF
FROSCON 2011: MySQL Performance Tuning
PDF
DOAG 2011: MySQL Performance Tuning
PDF
20111006 roadshow-io-performance
PDF
MySQL HA and Security
PDF
Zukunftstrends: was bringt 2013 für die IT?
PDF
TechTalkThursday 27.10.2016: Ceph im NVME Cluster
PDF
MySQL High Availability Solutions
PDF
DOAG 2018 / Praktische Erfahrungen mit SPARC S7-2 Server
PDF
Internet Briefing 2010: Performance Tuning & Scale-Out mit MySQL
PPS
Sql Server Grundlagen für Sharepoint Administratoren
PPS
Sql Server GrundlagenfüR Share Point Admins
PDF
Praktische Erfahrungen mit den kleinen SPARC S7-2 Servern
PDF
Best Practices 
Java und JVM in Containern
PDF
DAOG SIG: HA Architekturen mit MySQL
PDF
20121008 io-performance
PDF
DOAG SIG: MySQL Replikation, Scale-Out, Master- Master Replikation, Backup
PPTX
Innobit.storage spaces.
PDF
SSD vs HDD: Risiken und Nebenwirkungen der Flash-Technologie - Webinar
PDF
SSD vs. HDD, Risiken und Nebenwirkungen der Flash Technologie
PDF
FROSCON 2011: MySQL Replication
FROSCON 2011: MySQL Performance Tuning
DOAG 2011: MySQL Performance Tuning
20111006 roadshow-io-performance
MySQL HA and Security
Zukunftstrends: was bringt 2013 für die IT?
TechTalkThursday 27.10.2016: Ceph im NVME Cluster
MySQL High Availability Solutions
DOAG 2018 / Praktische Erfahrungen mit SPARC S7-2 Server
Internet Briefing 2010: Performance Tuning & Scale-Out mit MySQL
Sql Server Grundlagen für Sharepoint Administratoren
Sql Server GrundlagenfüR Share Point Admins
Praktische Erfahrungen mit den kleinen SPARC S7-2 Servern
Best Practices 
Java und JVM in Containern
DAOG SIG: HA Architekturen mit MySQL
20121008 io-performance
DOAG SIG: MySQL Replikation, Scale-Out, Master- Master Replikation, Backup
Innobit.storage spaces.
SSD vs HDD: Risiken und Nebenwirkungen der Flash-Technologie - Webinar
SSD vs. HDD, Risiken und Nebenwirkungen der Flash Technologie
FROSCON 2011: MySQL Replication
Anzeige

20121008 ssd-caches

  • 2. SSD Caches Festplatten-RAIDs mit Flashspeicher beschleunigen TK Roadshow 2012 Slide 2/17
  • 3. Agenda 1) Wann cachen? 2) Definitionen 3) Feature-Vergleich 4) Funktionsweise 5) Performance Tests 6) Fazit Slide 3/17
  • 4. 1) Wann cachen? if(dataSet == known && ramAvailable != enough && appAccess == analyzed && perfTests == available) CheckForCacheTechnologies(); else NeedMoreInfo(); Slide 4/17
  • 5. 2) Definitionen Slide 5/17
  • 6. 3) Feature-Vergleich WB WT WA/read-only FlashCache 1 CacheCade 2 MaxCache ! 1 Including ForcedWB ! Achtung: Derzeit kein redundanter Cache mit mehreren SSDs möglich 2 Including InstantWB Slide 6/17
  • 7. 3) Feature-Vergleich Skip sequential I/O FlashCache 1 CacheCade 2 MaxCache 3 ● Das Festplatten-RAID kann für sequentiellen I/O schneller sein als die SSD 1 Konfigurierbar via sysctl (threshold) 2 Keine weiteren Details bekannt 3 Nicht konfigurierbar, immer ausgelassen Slide 7/17
  • 8. 3) Feature-Vergleich Cache persistence ! 1 FlashCache 2 CacheCade 3 MaxCache ● Das Festplatten-RAID kann für sequentiellen I/O schneller sein als die SSD 1 Nur WB Cache ist persistent 2 Persistent in alle Cache Modus 3 Dirty Shutdown: WT – discarded, WB – LV failed Slide 8/17
  • 9. 3) Feature-Vergleich Hot spot detection FlashCache CacheCade MaxCache Slide 9/17
  • 11. 5) MB/s - read Slide 11/17
  • 12. 5) MB/s - write Slide 12/17
  • 13. 5) IOPS - randread Slide 13/17
  • 14. 5) IOPS - randwrite Slide 14/17
  • 15. 6) Fazit Establish a Baseline  Applikation testen Know application Yes RAM  2x Ergebnisse überprüfen No HDD is bottleneck  No SSD alone to small Erkenntnisse umsetzen Test caching WB WT Slide 15/17
  • 16. Backup: Test system ● SSDs ● Intel Series 320 160GB ● Via HPA reduced to 32GB ● RAID Controller ● LSI MegaRAID SAS 9260-4i ● Adaptec 6805Q ● Software ● Fio 2.0.7 ● Ubuntu 12.04 – Updates from Release Day Slide 16/17
  • 17. Backup: Test script ● flashcache_create ● Create a WB caching device ● cache_all=0 ● Don't cache ext4 initialization ● mkfs.ext4 -q -E lazy_itable_init=0, lazy_journal_init=0 /dev/mapper/fc-root ● mount /dev/mapper/fc-root ● cache_all=1 ● Call fio ● umount /dev/mapper/fc-root ● dmsetup remove ● flashcache_destroy /dev/sdd Slide 17/17