hardware acceleration for raid5 6 deduplication security
play

Hardware Acceleration for RAID5/6, Deduplication & Security for - PowerPoint PPT Presentation

Hardware Acceleration for RAID5/6, Deduplication & Security for parallel workloads Vikas Aggarwal Storage Developer Conference Bangalore 2017 Team Members Venkatesh Bolla Achyutha Krishna Anil Reddy Responsibilities: Storage


  1. Hardware Acceleration for RAID5/6, Deduplication & Security for parallel workloads Vikas Aggarwal Storage Developer Conference Bangalore 2017

  2. Team Members • Venkatesh Bolla • Achyutha Krishna • Anil Reddy Responsibilities: Storage software acceleration on OCTEON TX.

  3. Outline • RAID 5/6 • Deduplication • Security • Open Source Storage Applications • OCTEON TX Acceleration blocks • Accelerated Data Flow • Observations

  4. Offloading CPU intensive operations • RAID6 • XOR • Galois Field Multiplication • Deduplication • Fingerprint Generation • Fingerprint Lookup • Security • Encryption/Decryption of Data Blocks

  5. Open Source Storage Software Offload Case Studies RAID DEDUPLICATION SECURITY MD RAID DM Dedup ecryptfs DM RAID OpenZFS DM Crypt btrFS btrFS OpenDedup

  6. Linux MD RAID • Implements the following: • RAID 0, 1, 5, 6 • MDRAID can offload following to hardware using async_tx Linux offload infrastructure: • memcpy • XOR • Galois Field Arithmetic • Current Offload benefits the following RAID variants: • RAID 5, 6

  7. Linux DM-dedup • Implements the following: • 4KB block fingerprint • Fingerprint to PBN(Physical block number) lookup • LBN to PBN(Physical block number) lookup • DM Dedup(modified) can offload following to hardware: • Fingerprint (Digest using MD5, SHA1, SHA2) • Fingerprint and LBN lookup. • Current Offload benefits the following: • Lookups.

  8. Linux eCryptfs In-kernel standalone implementation. • Security gets inherited into incremental backups. • Cryptographic metadata is stored along with encrypted file. • • Supports Linux cryptographic ciphers. Utilizes Linux crypto framework • eCryptfs can offload following to hardware • AES CBC • DES3 CBC • AES XTS • Offload benefits: Encryption, Decryption. •

  9. RAID Architecture

  10. Linux MDRAID Offload

  11. Dmdedup Architecture

  12. DmDedup WRITE Offload Data Chunk Compute HASH Uniq WR Dup WR Hash->PBN Yes No LBN->PBN LBN->PBN DDF Offload Block dmdedup dmdedup code code DISK

  13. DmDedup READ Offload Sector Compute LBN Hit Miss LBN->PBN dmdedup code DDF Offload Block DISK DATA END

  14. Storage Security Offload

  15. Accelerations Integrated

  16. Accelerations Integrated

  17. RAID offload relative CPU savings OCTEON TX %cpu idle 35 30 25 20 15 10 5 0 0 4 8 16 24 OCTEON TX-raid-offload(cpu savings) No. disks/raid6 grp

  18. Dmdedup offload Ingest rate OCTEON TX throughput 6 5 5xGain 4 3 2 1 0 0GB 40GB 80GB 160GB 200GB x86_64 OCTEON TX OCTEON TX-offload

  19. Dmdedup fio WRITE offload latency OCTEON TX 6 5 4 5xReduction 3 2 1 0 0 40GB 80GB 160GB 200GB x86_64 OCTEON TX OCTEON TX-offload

  20. Ecryptfs OCTEON TX %cpu used 100 90 80 70 60 50 40 30 20 10 0 0 1 4 8 16 32 48 No. threads OCTEON TX OCTEON TX-offload

  21. Dedup + RAID6, eCryptFS+RAID6 OCTEONTX OCTEON TX throughput %cpu idle Fio WRITE 90 80 70 60 50 40 30 20 10 0 50GB, 4Tx5GB 50GB, 8Tx2GB 100GB, 16Tx2GB OCTEON TX OCTEON TX-offload

  22. Status • Status of Work – Preliminary performance results. More in future summits. • Upstream the drivers. • Other Platforms: • DPDK+SPDK • ODP

  23. Q & A Vikas Aggarwal Vikas.Aggarwal@Cavium.com

Recommend


More recommend