Ceph for SMBs
Are we there yet?

Martin Gerhard Loschwitz

© 2013 hastexo Professional Services GmbH. All rights reserved.
Who?
SMBs? Why
even bother?
What is an SMB?
Number of employees
& revenue per year
Do these
work for IT?
Cloud & Automation:
Do more work
with less people
Revenue: May be low,
but high when compared
to the actual work effort
Long story short:
Typical SMB definitions
don’t work well for IT
Also, IT is different
from most
other businesses
Storage is a perfect
example for this!
Ceph is interesting for
both SMB providers and
SMB customers
Which features make
Ceph interesting for SMBs?
Commodity Hardware
No Vendor Lock-In
Scale-Out
Open Source
Low price per
Megabyte
40TB, 3 replicas = € 21.000
Typical situation:
SMBs migrating
away from SANs
Typical SMB
use cases
for storage
Virtualization storage
KVM/Qemu: Yay
VMWare,
HyperV: Ouch
Backup storage
Users

Ceph Object
Gateway

Ceph Block Device
Block-level interface
driver for Ceph

CephFS
POSIX file system
access to Cep...
Users

Ceph Object
Gateway

Ceph Block Device
Block-level interface
driver for Ceph

CephFS
POSIX file system
access to Cep...
But no specific
backup features
CDN-like storage
Users

Ceph Object
Gateway
ReSTful API to
access Ceph

Ceph Block Device
Block-level interface
driver for Ceph

CephFS
POS...
May require
application porting
Cloud Computing
Challenges
File storage
CIFS / NFS: Meh
The Gateway problem
iSCSI
Looks good, eh?
Well, it isn’t.
Involves iSCSI on
top of RBD
Results in loopback
RBD mappings
RBD mappings are
kernel processes
Kernel processes may
not move into Swap
Now imagine this …
Ceph needs memory,
flushes cache
Flushes stuff that
belongs to the
RBD mapping
RBD tries to flush
stuff by writing
back to Ceph
Deadlock
(under heavy load)
iSCSI
iSCSI
HDD efficiency
3 2U-Server
22 HDDs
4TB each
2 Replicas
“Don’t do that”
8 HDDs
4TB each
2 Replicas
9 2U-servers
OSDs need
RAM & CPU
Replication efficiency
Multi-DC
installations
Summary
goo.gl/S1sYZ (me on Google+)
twitter.com/hastexo
hastexo.com
London Ceph Day: Ceph for SMBs: Are we there yet?
London Ceph Day: Ceph for SMBs: Are we there yet?
Upcoming SlideShare
Loading in …5
×

London Ceph Day: Ceph for SMBs: Are we there yet?

773 views

Published on

Martin Loschwitz, Co-Founder, Hastexo

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
773
On SlideShare
0
From Embeds
0
Number of Embeds
6
Actions
Shares
0
Downloads
44
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

London Ceph Day: Ceph for SMBs: Are we there yet?

  1. 1. Ceph for SMBs Are we there yet? Martin Gerhard Loschwitz © 2013 hastexo Professional Services GmbH. All rights reserved.
  2. 2. Who?
  3. 3. SMBs? Why even bother?
  4. 4. What is an SMB?
  5. 5. Number of employees & revenue per year
  6. 6. Do these work for IT?
  7. 7. Cloud & Automation: Do more work with less people
  8. 8. Revenue: May be low, but high when compared to the actual work effort
  9. 9. Long story short: Typical SMB definitions don’t work well for IT
  10. 10. Also, IT is different from most other businesses
  11. 11. Storage is a perfect example for this!
  12. 12. Ceph is interesting for both SMB providers and SMB customers
  13. 13. Which features make Ceph interesting for SMBs?
  14. 14. Commodity Hardware
  15. 15. No Vendor Lock-In
  16. 16. Scale-Out
  17. 17. Open Source
  18. 18. Low price per Megabyte
  19. 19. 40TB, 3 replicas = € 21.000
  20. 20. Typical situation: SMBs migrating away from SANs
  21. 21. Typical SMB use cases for storage
  22. 22. Virtualization storage
  23. 23. KVM/Qemu: Yay
  24. 24. VMWare, HyperV: Ouch
  25. 25. Backup storage
  26. 26. Users Ceph Object Gateway Ceph Block Device Block-level interface driver for Ceph CephFS POSIX file system access to Ceph ReSTful API to access Ceph OSD OSD OSD OSD OSD OSD MON OSD OSD OSD OSD OSD OSD MON MON OSD OSD Objects
  27. 27. Users Ceph Object Gateway Ceph Block Device Block-level interface driver for Ceph CephFS POSIX file system access to Ceph ReSTful API to access Ceph OSD OSD OSD OSD OSD OSD MON OSD OSD OSD OSD OSD OSD MON MON OSD OSD Objects
  28. 28. But no specific backup features
  29. 29. CDN-like storage
  30. 30. Users Ceph Object Gateway ReSTful API to access Ceph Ceph Block Device Block-level interface driver for Ceph CephFS POSIX file system access to Ceph OSD OSD OSD OSD OSD OSD MON OSD OSD OSD OSD OSD OSD MON MON OSD OSD Objects
  31. 31. May require application porting
  32. 32. Cloud Computing
  33. 33. Challenges
  34. 34. File storage
  35. 35. CIFS / NFS: Meh
  36. 36. The Gateway problem
  37. 37. iSCSI
  38. 38. Looks good, eh? Well, it isn’t.
  39. 39. Involves iSCSI on top of RBD
  40. 40. Results in loopback RBD mappings
  41. 41. RBD mappings are kernel processes
  42. 42. Kernel processes may not move into Swap
  43. 43. Now imagine this …
  44. 44. Ceph needs memory, flushes cache
  45. 45. Flushes stuff that belongs to the RBD mapping
  46. 46. RBD tries to flush stuff by writing back to Ceph
  47. 47. Deadlock (under heavy load)
  48. 48. iSCSI
  49. 49. iSCSI
  50. 50. HDD efficiency
  51. 51. 3 2U-Server 22 HDDs 4TB each 2 Replicas
  52. 52. “Don’t do that”
  53. 53. 8 HDDs 4TB each 2 Replicas 9 2U-servers
  54. 54. OSDs need RAM & CPU
  55. 55. Replication efficiency
  56. 56. Multi-DC installations
  57. 57. Summary
  58. 58. goo.gl/S1sYZ (me on Google+) twitter.com/hastexo hastexo.com

×