SlideShare a Scribd company logo
Total Cost of Ownership
Zsolt Fabian
Database Engineering
2	
  
1.  Who	
  is	
  Spil	
  Games?	
  
2.  What	
  is	
  TCO?	
  
3.  What	
  drives	
  the	
  costs?	
  
4.  Possible	
  improvements?	
  
Outline of the talk
Who are we?
Who	
  is	
  Spil	
  Games?	
  
	
  
4	
  
•  Company	
  founded	
  in	
  2001	
  
•  350+	
  employees	
  world	
  wide	
  
•  200M+	
  unique	
  visitors	
  per	
  month	
  
•  45	
  portals	
  in	
  19	
  languages	
  
•  Casual	
  games	
  
•  Social	
  games	
  
•  Real	
  Kme	
  mulKplayer	
  games	
  
•  Mobile	
  games	
  
•  35+	
  MySQL	
  clusters	
  
Facts
TCO
Total	
  Cost	
  of	
  Ownership	
  
	
  
6	
  
•  1980	
  –	
  “Life	
  Cycle	
  CosKng”	
  
•  1987	
  –	
  Gartner	
  Group	
  
•  Total	
  Cost	
  of	
  Ownership	
  
•  Analysis	
  of	
  enterprise	
  spending,	
  vendor	
  evaluaKon	
  
•  Many	
  inter-­‐related	
  direct	
  and	
  indirect	
  costs	
  
•  Problems	
  with	
  TCO	
  
What is TCO and why it is important?
CAPEX	
  –	
  Capital	
  Expenses	
   OPEX	
  –	
  OperaKng	
  Expenses	
  
Relevant Costs
7	
  
Infrastructure life-cycle
8	
  
•  CollecKng	
  data	
  
•  Different	
  base	
  systems	
  
•  4,3	
  TB	
  of	
  RAM	
  
•  402	
  drives	
  wriKng	
  3	
  ExaBytes	
  
•  3	
  DBA	
  
•  12,3	
  kW	
  power	
  consumpKon	
  
•  Asset	
  value	
  exceeds	
  €	
  500,000	
  
•  Cables	
  are	
  available	
  in	
  all	
  colors	
  of	
  the	
  spectrum	
  J	
  	
  
A quick inventory
9	
  
Aging servers
•  Component	
  failures	
  
•  Power	
  consumpKon	
  
•  Volume	
  of	
  deployment	
  
10	
  
•  The	
  most	
  obvious	
  
•  Base	
  server	
  +	
  CPU	
  +	
  Mem	
  +	
  Disk	
  +	
  Controller	
  
•  Replacement	
  parts	
  and	
  Warranty	
  
•  NPV	
  –	
  Net	
  Present	
  Value	
  
•  Mining	
  invoices	
  
CAPEX: Purchase costs
AFR	
  –	
  Annual	
  Failure	
  Rate	
   ALE	
  –	
  Annual	
  Loss	
  Expectancy	
  
11	
  
•  Business	
  need	
  
•  Cost	
  of	
  downKme	
  
•  Levels	
  of	
  HA	
  and	
  Fault	
  Tolerance	
  
•  Server	
  downKme	
  
•  CPU	
  failure	
  
•  MySQLd	
  crash	
  
•  Solar	
  acKvity	
  
•  Combined	
  availability	
  formula:	
  
CAPEX: Purchase costs: HA
A	
  =	
  1	
  –	
  (1	
  –	
  Ax)	
  ^	
  n	
  
12	
  
•  Giving	
  back	
  J	
  
•  MySQL	
  Standard	
  EdiKon:	
  $	
  2,000	
  
•  Enterprise:	
  $	
  5,000	
  
•  Cluster	
  Carrier	
  Grade:	
  $	
  10,000	
  
•  Microsoj	
  SQL	
  Server:	
  $	
  6k+	
  /	
  core	
  	
  
•  Oracle	
  10/11g:	
  $	
  40k+	
  
•  AddiKonal:	
  Technology	
  extensions,	
  Dashboards	
  
CAPEX: License costs
13	
  
•  Work	
  hours	
  spent…	
  
•  SLA,	
  Responsibility,	
  Stress,	
  Insider	
  Threat	
  
•  MySQL	
  annual	
  subscripKon:	
  $	
  2,000	
  
•  Specialist	
  support	
  from	
  $	
  1,500	
  /	
  server	
  /	
  year	
  
•  Unlimited	
  servers	
  for	
  $	
  30,000	
  /	
  year	
  
•  Depends	
  on	
  complexity	
  
•  €	
  2,700	
  /	
  server	
  /	
  year	
  
	
  
OPEX: MySQL Professional support
It's	
  cheaper	
  to	
  add	
  more	
  servers	
  than	
  hire	
  more	
  engineers.	
  
14	
  
•  Cage	
  –	
  Rack	
  –	
  Server	
  
•  Networking	
  
•  Deployment	
  (+	
  fuel	
  +	
  Kme)	
  
•  Power	
  density	
  constraints	
  
•  Let’s	
  say	
  €	
  60	
  /	
  server	
  /	
  month	
  
OPEX: Hosting: Colocation
15	
  
•  Wao	
  =	
  Ampere	
  *	
  Volt	
  
•  €	
  0.2	
  /	
  kWh	
  
•  12,31	
  kWh	
  (~	
  16%	
  of	
  total)	
  
•  €	
  21,300	
  annually	
  
•  Measurements	
  
•  IPMI	
  
•  Power	
  meter	
  J	
  
•  Contributors	
  
•  HDD	
  (25%)	
  
•  Roles	
  (5-­‐10W)	
  
OPEX: Hosting: Power
16	
  
OPEX: Hosting: Power
Putting it together
Pu@ng	
  it	
  together	
  	
   The	
  model	
  	
  
Cost	
  Item	
   CAPEX	
   OPEX	
   TCO	
  5y	
  
Base	
  System	
   ?	
  
Extra	
  memory	
   ?	
  
Extra	
  disks	
   ?	
  
Licence	
  fees	
   ?	
  
Replacement	
  parts	
  /	
  
Warranty	
  
?	
   ?	
  
Co-­‐locaKon	
   ?	
  
Power	
   ?	
  
Professional	
  support	
   ?	
  
TOTAL	
   ?	
   ?	
   ?	
  
Pu@ng	
  it	
  together	
  	
   Cluster	
  of	
  6	
  nodes	
  
Cost	
  Item	
  (6x)	
   CAPEX	
   OPEX	
   TCO	
  5y	
  
Purchase:	
  HP	
  DL380	
  G7	
   €	
  25,000	
  
Purchase:	
  Extra	
  memory	
  	
   €	
  6,000	
  
Professional	
  support	
   €	
  16,200	
  
ColocaKon	
  cost	
   €	
  4,320	
  
Power	
  costs	
  @200W	
   €	
  2,100	
  
Replacement	
  parts	
  
	
  
€	
  1,500	
  
TOTAL	
   €	
  32,500	
   €	
  22,620	
   €	
  145,600	
  
Pu@ng	
  it	
  together	
  	
   Cluster	
  of	
  6	
  nodes	
  
Purchase	
  
costs	
  
18%	
  
Professional	
  
support	
  
58%	
  
ColocaKon	
  
15%	
  
Power	
  
8%	
  
Replacement	
  
parts	
  
1%	
  
TCO 5 years
Improvements
“Insanity:	
  doing	
  the	
  same	
  
thing	
  over	
  and	
  over	
  again	
  and	
  	
  
	
  expecSng	
  different	
  results”	
  -­‐	
  
Albert	
  Einstein	
  
	
  
22	
  
Purchase prioritization
Extend	
  warranty	
  
MTBF	
  
Obsolete,	
  Not	
  Urgent	
  
Limited	
  reparability	
  
Repairable	
  
New	
  
23	
  
•  SSD	
  reduces	
  the	
  cost	
  of	
  IOPS	
  
•  SSD	
  is	
  fast	
  for	
  reads,	
  but	
  not	
  for	
  writes	
  
•  Has	
  limited	
  lifespan	
  
•  NAND	
  Flash	
  and	
  RAM	
  based	
  SSDs	
  
•  MLC	
  (MulK	
  Level	
  Cell)	
  vs.	
  SLC	
  (Single	
  Level	
  Cell)	
  
•  R/W	
  in	
  pages,	
  but	
  always	
  erased	
  in	
  blocks	
  
•  The	
  main	
  advantage	
  that	
  it	
  doesn’t	
  have	
  to	
  spin	
  
HDD vs. SSD: Inner workings
24	
  
•  Dropping	
  over	
  Kme	
  
•  Facts	
  
•  Tsunami	
  
•  Rare-­‐earth	
  minerals	
  
•  Cost	
  per	
  GB	
  is	
  cheaper	
  at	
  HDD	
  
•  Some	
  predicts	
  that	
  in	
  5	
  to	
  10	
  years,	
  SSD	
  will	
  replace	
  
HDD	
  completely	
  
HDD vs. SSD: Pricing
25	
  
HDD vs. SSD: Power consumption
Type	
   Model	
   Idle	
  Power	
   AcSve	
  Power	
   Annual	
  cost	
  
contribuSon	
  
SSD	
   Intel	
  520	
   600	
  mW	
   850	
  mW	
   €	
  1,49	
  
SSD	
   Intel	
  X25-­‐M	
   60	
  mW	
   150	
  mW	
   €	
  0,26	
  
SSD	
   Intel	
  X25-­‐E	
   60	
  mW	
   4,2	
  W	
   €	
  7,35	
  
HDD	
   ST9146852S	
   5	
  W	
   7	
  W	
   €	
  12,2	
  
26	
  
•  MTBF:	
  ~	
  200	
  years	
  
•  HDD	
  
•  AFR:	
  0,55%	
  	
  (-­‐	
  1,5%	
  -­‐	
  2%	
  -­‐	
  …)	
  
•  ALE!	
  
•  SSD	
  have	
  LIMITED	
  write	
  cycles	
  
•  SLC:	
  100,000	
  writes	
  /	
  block	
  
•  MLC:	
  10,000	
  writes	
  /	
  block	
  
•  Typical	
  MLC:	
  5,000	
  writes	
  /	
  block	
  
•  Future	
  developments	
  
HDD vs. SSD: Endurance
27	
  
•  Intel	
  520	
  SSD:	
  5	
  years	
  (with	
  normal	
  desktop	
  usage)	
  
•  35	
  TB	
  write	
  endurance	
  (TBW)	
  
•  Official	
  endurance	
  is	
  overprovisioned	
  (~	
  50	
  %)	
  
•  SaturaKon	
  
•  Filesystem	
  overhead	
  (0.25	
  btrfs-­‐>	
  0.015	
  (ext4))	
  
•  Readout	
  
•  S.M.A.R.T.:	
  Percentage	
  of	
  rated	
  lifeKme	
  used	
  
•  UKliKes	
  
•  RAID	
  controllers	
  
HDD vs. SSD: Endurance
28	
  
•  Determined	
  during	
  the	
  design	
  
•  The	
  equaKon	
  is	
  about:	
  Buffers	
  x	
  ConnecKons	
  
•  DIMM	
  populaKon	
  guide	
  
•  DRAM	
  market:	
  OVERSUPPLY	
  
Memory configuration
29	
  
•  Extending	
  Linux	
  block-­‐cache	
  with	
  SSD	
  
•  Block-­‐cache	
  works	
  by	
  caching	
  accessed	
  blocks	
  
•  Perfect	
  sizing	
  -­‐>	
  performance	
  similar	
  to	
  SSD	
  only	
  
•  Failures	
  
•  Writethrough	
  	
  	
  	
  	
  cache	
  ||	
  storage	
  	
  
•  Writearound	
  	
  	
  	
  	
  	
  	
  –(w)–>	
  storage	
  –(r)–>	
  cache	
  –>	
  
•  Writeback	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  –(w)–>	
  cache	
  –(w)–>	
  storage	
  –>	
  
Flashcache
30	
  
•  6	
  x	
  300	
  GB	
  RAID10	
  -­‐>	
  2	
  x	
  100	
  GB	
  SSD	
  +	
  2	
  x	
  1	
  TB	
  RAID1	
  
•  ConsideraKons	
  
•  I/O	
  rates	
  
•  Write	
  savings	
  
•  Overprovisioning	
  
•  ParKKoning	
  
•  How	
  long	
  to	
  cache	
  
•  What	
  to	
  cache	
  
•  Less	
  HDD	
  purchases,	
  More	
  SSD	
  purchases	
  (High	
  ALE)	
  
Flashcache
31	
  
•  4	
  nodes	
  of	
  6	
  x	
  146	
  GB	
  HDD	
  
•  CAPEX:	
  €	
  4,700	
  
•  OPEX:	
  €	
  293	
  
•  TCO	
  5y:	
  €	
  6,165	
  
	
  
•  4	
  nodes	
  of	
  2	
  x	
  600	
  HDD	
  +	
  2	
  x	
  Intel	
  520	
  SSD,	
  30%	
  opt.	
  writes	
  
•  Replacing	
  them	
  every	
  year	
  (TBWy:	
  100	
  TB)	
  
•  CAPEX:	
  €	
  11,680	
  
•  OPEX:	
  €	
  110	
  
•  TCO:	
  €	
  12,230	
  
Flashcache: Case study
32	
  
•  TCO	
  is	
  a	
  very	
  handy	
  (someKmes	
  misleading)	
  tool	
  
•  RCO	
  -­‐	
  Relevant	
  Cost	
  of	
  Ownership	
  
•  CAPEX:OPEX	
  raKo	
  
•  Giving	
  back	
  is	
  OPEX	
  
•  Keep	
  eye	
  on	
  your	
  power	
  consumpKon	
  
•  Buy	
  DRAM	
  
•  Consider	
  ALE	
  when	
  you	
  switch	
  to	
  SSD	
  
Summary
Questions?
34	
  
•  PresentaKon	
  can	
  be	
  found	
  at:	
  
hop://spil.com/tcomeetup2013	
  
	
  
	
  
•  You	
  can	
  contact	
  me	
  at:	
  	
  
zsolt.fabian@spilgames.com	
  
Thank you!
Ad

More Related Content

What's hot (20)

MySQL 5.6 Performance
MySQL 5.6 PerformanceMySQL 5.6 Performance
MySQL 5.6 Performance
MYXPLAIN
 
MariaDB Galera Cluster
MariaDB Galera ClusterMariaDB Galera Cluster
MariaDB Galera Cluster
Abdul Manaf
 
Scylla Summit 2016: Outbrain Case Study - Lowering Latency While Doing 20X IO...
Scylla Summit 2016: Outbrain Case Study - Lowering Latency While Doing 20X IO...Scylla Summit 2016: Outbrain Case Study - Lowering Latency While Doing 20X IO...
Scylla Summit 2016: Outbrain Case Study - Lowering Latency While Doing 20X IO...
ScyllaDB
 
Performance Monitoring: Understanding Your Scylla Cluster
Performance Monitoring: Understanding Your Scylla ClusterPerformance Monitoring: Understanding Your Scylla Cluster
Performance Monitoring: Understanding Your Scylla Cluster
ScyllaDB
 
MySQL highav Availability
MySQL highav AvailabilityMySQL highav Availability
MySQL highav Availability
Baruch Osoveskiy
 
The InnoDB Storage Engine for MySQL
The InnoDB Storage Engine for MySQLThe InnoDB Storage Engine for MySQL
The InnoDB Storage Engine for MySQL
Morgan Tocker
 
MySQL in the Hosted Cloud - Percona Live 2015
MySQL in the Hosted Cloud - Percona Live 2015MySQL in the Hosted Cloud - Percona Live 2015
MySQL in the Hosted Cloud - Percona Live 2015
Colin Charles
 
Modern MySQL Monitoring and Dashboards.
Modern MySQL Monitoring and Dashboards.Modern MySQL Monitoring and Dashboards.
Modern MySQL Monitoring and Dashboards.
Mydbops
 
Master master vs master-slave database
Master master vs master-slave databaseMaster master vs master-slave database
Master master vs master-slave database
Wipro
 
MySQL High Availability Solutions
MySQL High Availability SolutionsMySQL High Availability Solutions
MySQL High Availability Solutions
Lenz Grimmer
 
Galera Cluster for MySQL vs MySQL (NDB) Cluster: A High Level Comparison
Galera Cluster for MySQL vs MySQL (NDB) Cluster: A High Level Comparison Galera Cluster for MySQL vs MySQL (NDB) Cluster: A High Level Comparison
Galera Cluster for MySQL vs MySQL (NDB) Cluster: A High Level Comparison
Severalnines
 
MHA: Getting started & moving past quirks percona live santa clara 2013
MHA: Getting started & moving past quirks percona live santa clara 2013MHA: Getting started & moving past quirks percona live santa clara 2013
MHA: Getting started & moving past quirks percona live santa clara 2013
Colin Charles
 
Choosing a MySQL High Availability solution - Percona Live UK 2011
Choosing a MySQL High Availability solution - Percona Live UK 2011Choosing a MySQL High Availability solution - Percona Live UK 2011
Choosing a MySQL High Availability solution - Percona Live UK 2011
Henrik Ingo
 
Boosting Machine Learning with Redis Modules and Spark
Boosting Machine Learning with Redis Modules and SparkBoosting Machine Learning with Redis Modules and Spark
Boosting Machine Learning with Redis Modules and Spark
Dvir Volk
 
Mesosphere and Contentteam: A New Way to Run Cassandra
Mesosphere and Contentteam: A New Way to Run CassandraMesosphere and Contentteam: A New Way to Run Cassandra
Mesosphere and Contentteam: A New Way to Run Cassandra
DataStax Academy
 
Ramp-Tutorial for MYSQL Cluster - Scaling with Continuous Availability
Ramp-Tutorial for MYSQL Cluster - Scaling with Continuous AvailabilityRamp-Tutorial for MYSQL Cluster - Scaling with Continuous Availability
Ramp-Tutorial for MYSQL Cluster - Scaling with Continuous Availability
Pythian
 
Highly Available MySQL/PHP Applications with mysqlnd
Highly Available MySQL/PHP Applications with mysqlndHighly Available MySQL/PHP Applications with mysqlnd
Highly Available MySQL/PHP Applications with mysqlnd
Jervin Real
 
Introduction to Cassandra Architecture
Introduction to Cassandra ArchitectureIntroduction to Cassandra Architecture
Introduction to Cassandra Architecture
nickmbailey
 
Advanced Operations
Advanced OperationsAdvanced Operations
Advanced Operations
DataStax Academy
 
Best practices for MySQL/MariaDB Server/Percona Server High Availability
Best practices for MySQL/MariaDB Server/Percona Server High AvailabilityBest practices for MySQL/MariaDB Server/Percona Server High Availability
Best practices for MySQL/MariaDB Server/Percona Server High Availability
Colin Charles
 
MySQL 5.6 Performance
MySQL 5.6 PerformanceMySQL 5.6 Performance
MySQL 5.6 Performance
MYXPLAIN
 
MariaDB Galera Cluster
MariaDB Galera ClusterMariaDB Galera Cluster
MariaDB Galera Cluster
Abdul Manaf
 
Scylla Summit 2016: Outbrain Case Study - Lowering Latency While Doing 20X IO...
Scylla Summit 2016: Outbrain Case Study - Lowering Latency While Doing 20X IO...Scylla Summit 2016: Outbrain Case Study - Lowering Latency While Doing 20X IO...
Scylla Summit 2016: Outbrain Case Study - Lowering Latency While Doing 20X IO...
ScyllaDB
 
Performance Monitoring: Understanding Your Scylla Cluster
Performance Monitoring: Understanding Your Scylla ClusterPerformance Monitoring: Understanding Your Scylla Cluster
Performance Monitoring: Understanding Your Scylla Cluster
ScyllaDB
 
The InnoDB Storage Engine for MySQL
The InnoDB Storage Engine for MySQLThe InnoDB Storage Engine for MySQL
The InnoDB Storage Engine for MySQL
Morgan Tocker
 
MySQL in the Hosted Cloud - Percona Live 2015
MySQL in the Hosted Cloud - Percona Live 2015MySQL in the Hosted Cloud - Percona Live 2015
MySQL in the Hosted Cloud - Percona Live 2015
Colin Charles
 
Modern MySQL Monitoring and Dashboards.
Modern MySQL Monitoring and Dashboards.Modern MySQL Monitoring and Dashboards.
Modern MySQL Monitoring and Dashboards.
Mydbops
 
Master master vs master-slave database
Master master vs master-slave databaseMaster master vs master-slave database
Master master vs master-slave database
Wipro
 
MySQL High Availability Solutions
MySQL High Availability SolutionsMySQL High Availability Solutions
MySQL High Availability Solutions
Lenz Grimmer
 
Galera Cluster for MySQL vs MySQL (NDB) Cluster: A High Level Comparison
Galera Cluster for MySQL vs MySQL (NDB) Cluster: A High Level Comparison Galera Cluster for MySQL vs MySQL (NDB) Cluster: A High Level Comparison
Galera Cluster for MySQL vs MySQL (NDB) Cluster: A High Level Comparison
Severalnines
 
MHA: Getting started & moving past quirks percona live santa clara 2013
MHA: Getting started & moving past quirks percona live santa clara 2013MHA: Getting started & moving past quirks percona live santa clara 2013
MHA: Getting started & moving past quirks percona live santa clara 2013
Colin Charles
 
Choosing a MySQL High Availability solution - Percona Live UK 2011
Choosing a MySQL High Availability solution - Percona Live UK 2011Choosing a MySQL High Availability solution - Percona Live UK 2011
Choosing a MySQL High Availability solution - Percona Live UK 2011
Henrik Ingo
 
Boosting Machine Learning with Redis Modules and Spark
Boosting Machine Learning with Redis Modules and SparkBoosting Machine Learning with Redis Modules and Spark
Boosting Machine Learning with Redis Modules and Spark
Dvir Volk
 
Mesosphere and Contentteam: A New Way to Run Cassandra
Mesosphere and Contentteam: A New Way to Run CassandraMesosphere and Contentteam: A New Way to Run Cassandra
Mesosphere and Contentteam: A New Way to Run Cassandra
DataStax Academy
 
Ramp-Tutorial for MYSQL Cluster - Scaling with Continuous Availability
Ramp-Tutorial for MYSQL Cluster - Scaling with Continuous AvailabilityRamp-Tutorial for MYSQL Cluster - Scaling with Continuous Availability
Ramp-Tutorial for MYSQL Cluster - Scaling with Continuous Availability
Pythian
 
Highly Available MySQL/PHP Applications with mysqlnd
Highly Available MySQL/PHP Applications with mysqlndHighly Available MySQL/PHP Applications with mysqlnd
Highly Available MySQL/PHP Applications with mysqlnd
Jervin Real
 
Introduction to Cassandra Architecture
Introduction to Cassandra ArchitectureIntroduction to Cassandra Architecture
Introduction to Cassandra Architecture
nickmbailey
 
Best practices for MySQL/MariaDB Server/Percona Server High Availability
Best practices for MySQL/MariaDB Server/Percona Server High AvailabilityBest practices for MySQL/MariaDB Server/Percona Server High Availability
Best practices for MySQL/MariaDB Server/Percona Server High Availability
Colin Charles
 

Similar to Database TCO (20)

Ceph Day Tokyo -- Ceph on All-Flash Storage
Ceph Day Tokyo -- Ceph on All-Flash StorageCeph Day Tokyo -- Ceph on All-Flash Storage
Ceph Day Tokyo -- Ceph on All-Flash Storage
Ceph Community
 
Presentation database on flash
Presentation   database on flashPresentation   database on flash
Presentation database on flash
xKinAnx
 
Evoluzione dello storage
Evoluzione dello storageEvoluzione dello storage
Evoluzione dello storage
Andrea Mauro
 
Nimble Storage Series A presentation 2007
Nimble Storage Series A presentation 2007Nimble Storage Series A presentation 2007
Nimble Storage Series A presentation 2007
Wing Venture Capital
 
Deploying ssd in the data center 2014
Deploying ssd in the data center 2014Deploying ssd in the data center 2014
Deploying ssd in the data center 2014
Howard Marks
 
MemVerge: Memory Expansion Without Breaking the Budget
MemVerge: Memory Expansion Without Breaking the BudgetMemVerge: Memory Expansion Without Breaking the Budget
MemVerge: Memory Expansion Without Breaking the Budget
Memory Fabric Forum
 
How Ceph performs on ARM Microserver Cluster
How Ceph performs on ARM Microserver ClusterHow Ceph performs on ARM Microserver Cluster
How Ceph performs on ARM Microserver Cluster
Aaron Joue
 
S3
S3S3
S3
dvmug1
 
Demystifying SSD, Mark Smith, S3
Demystifying SSD, Mark Smith, S3Demystifying SSD, Mark Smith, S3
Demystifying SSD, Mark Smith, S3
subtitle
 
2013.11.14 Big Data Workshop Michael Browne
2013.11.14 Big Data Workshop Michael Browne2013.11.14 Big Data Workshop Michael Browne
2013.11.14 Big Data Workshop Michael Browne
NUI Galway
 
Stabilizing Ceph
Stabilizing CephStabilizing Ceph
Stabilizing Ceph
Ceph Community
 
DevOps for ETL processing at scale with MongoDB, Solr, AWS and Chef
DevOps for ETL processing at scale with MongoDB, Solr, AWS and ChefDevOps for ETL processing at scale with MongoDB, Solr, AWS and Chef
DevOps for ETL processing at scale with MongoDB, Solr, AWS and Chef
Gaurav "GP" Pal
 
stackArmor presentation for DevOpsDC ver 4
stackArmor presentation for DevOpsDC ver 4stackArmor presentation for DevOpsDC ver 4
stackArmor presentation for DevOpsDC ver 4
Gaurav "GP" Pal
 
Big Data Hadoop Briefing Hosted by Cisco, WWT and MapR: Cisco UCS For Big Dat...
Big Data Hadoop Briefing Hosted by Cisco, WWT and MapR: Cisco UCS For Big Dat...Big Data Hadoop Briefing Hosted by Cisco, WWT and MapR: Cisco UCS For Big Dat...
Big Data Hadoop Briefing Hosted by Cisco, WWT and MapR: Cisco UCS For Big Dat...
ervogler
 
3.INTEL.Optane_on_ceph_v2.pdf
3.INTEL.Optane_on_ceph_v2.pdf3.INTEL.Optane_on_ceph_v2.pdf
3.INTEL.Optane_on_ceph_v2.pdf
hellobank1
 
Ceph Day Beijing - Optimizing Ceph performance by leveraging Intel Optane and...
Ceph Day Beijing - Optimizing Ceph performance by leveraging Intel Optane and...Ceph Day Beijing - Optimizing Ceph performance by leveraging Intel Optane and...
Ceph Day Beijing - Optimizing Ceph performance by leveraging Intel Optane and...
Ceph Community
 
Ceph Day Beijing - Optimizing Ceph Performance by Leveraging Intel Optane and...
Ceph Day Beijing - Optimizing Ceph Performance by Leveraging Intel Optane and...Ceph Day Beijing - Optimizing Ceph Performance by Leveraging Intel Optane and...
Ceph Day Beijing - Optimizing Ceph Performance by Leveraging Intel Optane and...
Danielle Womboldt
 
QCT Ceph Solution - Design Consideration and Reference Architecture
QCT Ceph Solution - Design Consideration and Reference ArchitectureQCT Ceph Solution - Design Consideration and Reference Architecture
QCT Ceph Solution - Design Consideration and Reference Architecture
Patrick McGarry
 
QCT Ceph Solution - Design Consideration and Reference Architecture
QCT Ceph Solution - Design Consideration and Reference ArchitectureQCT Ceph Solution - Design Consideration and Reference Architecture
QCT Ceph Solution - Design Consideration and Reference Architecture
Ceph Community
 
Pragma torino 20mar2014 flash&tools vr03
Pragma torino 20mar2014 flash&tools vr03Pragma torino 20mar2014 flash&tools vr03
Pragma torino 20mar2014 flash&tools vr03
PRAGMA PROGETTI
 
Ceph Day Tokyo -- Ceph on All-Flash Storage
Ceph Day Tokyo -- Ceph on All-Flash StorageCeph Day Tokyo -- Ceph on All-Flash Storage
Ceph Day Tokyo -- Ceph on All-Flash Storage
Ceph Community
 
Presentation database on flash
Presentation   database on flashPresentation   database on flash
Presentation database on flash
xKinAnx
 
Evoluzione dello storage
Evoluzione dello storageEvoluzione dello storage
Evoluzione dello storage
Andrea Mauro
 
Nimble Storage Series A presentation 2007
Nimble Storage Series A presentation 2007Nimble Storage Series A presentation 2007
Nimble Storage Series A presentation 2007
Wing Venture Capital
 
Deploying ssd in the data center 2014
Deploying ssd in the data center 2014Deploying ssd in the data center 2014
Deploying ssd in the data center 2014
Howard Marks
 
MemVerge: Memory Expansion Without Breaking the Budget
MemVerge: Memory Expansion Without Breaking the BudgetMemVerge: Memory Expansion Without Breaking the Budget
MemVerge: Memory Expansion Without Breaking the Budget
Memory Fabric Forum
 
How Ceph performs on ARM Microserver Cluster
How Ceph performs on ARM Microserver ClusterHow Ceph performs on ARM Microserver Cluster
How Ceph performs on ARM Microserver Cluster
Aaron Joue
 
Demystifying SSD, Mark Smith, S3
Demystifying SSD, Mark Smith, S3Demystifying SSD, Mark Smith, S3
Demystifying SSD, Mark Smith, S3
subtitle
 
2013.11.14 Big Data Workshop Michael Browne
2013.11.14 Big Data Workshop Michael Browne2013.11.14 Big Data Workshop Michael Browne
2013.11.14 Big Data Workshop Michael Browne
NUI Galway
 
DevOps for ETL processing at scale with MongoDB, Solr, AWS and Chef
DevOps for ETL processing at scale with MongoDB, Solr, AWS and ChefDevOps for ETL processing at scale with MongoDB, Solr, AWS and Chef
DevOps for ETL processing at scale with MongoDB, Solr, AWS and Chef
Gaurav "GP" Pal
 
stackArmor presentation for DevOpsDC ver 4
stackArmor presentation for DevOpsDC ver 4stackArmor presentation for DevOpsDC ver 4
stackArmor presentation for DevOpsDC ver 4
Gaurav "GP" Pal
 
Big Data Hadoop Briefing Hosted by Cisco, WWT and MapR: Cisco UCS For Big Dat...
Big Data Hadoop Briefing Hosted by Cisco, WWT and MapR: Cisco UCS For Big Dat...Big Data Hadoop Briefing Hosted by Cisco, WWT and MapR: Cisco UCS For Big Dat...
Big Data Hadoop Briefing Hosted by Cisco, WWT and MapR: Cisco UCS For Big Dat...
ervogler
 
3.INTEL.Optane_on_ceph_v2.pdf
3.INTEL.Optane_on_ceph_v2.pdf3.INTEL.Optane_on_ceph_v2.pdf
3.INTEL.Optane_on_ceph_v2.pdf
hellobank1
 
Ceph Day Beijing - Optimizing Ceph performance by leveraging Intel Optane and...
Ceph Day Beijing - Optimizing Ceph performance by leveraging Intel Optane and...Ceph Day Beijing - Optimizing Ceph performance by leveraging Intel Optane and...
Ceph Day Beijing - Optimizing Ceph performance by leveraging Intel Optane and...
Ceph Community
 
Ceph Day Beijing - Optimizing Ceph Performance by Leveraging Intel Optane and...
Ceph Day Beijing - Optimizing Ceph Performance by Leveraging Intel Optane and...Ceph Day Beijing - Optimizing Ceph Performance by Leveraging Intel Optane and...
Ceph Day Beijing - Optimizing Ceph Performance by Leveraging Intel Optane and...
Danielle Womboldt
 
QCT Ceph Solution - Design Consideration and Reference Architecture
QCT Ceph Solution - Design Consideration and Reference ArchitectureQCT Ceph Solution - Design Consideration and Reference Architecture
QCT Ceph Solution - Design Consideration and Reference Architecture
Patrick McGarry
 
QCT Ceph Solution - Design Consideration and Reference Architecture
QCT Ceph Solution - Design Consideration and Reference ArchitectureQCT Ceph Solution - Design Consideration and Reference Architecture
QCT Ceph Solution - Design Consideration and Reference Architecture
Ceph Community
 
Pragma torino 20mar2014 flash&tools vr03
Pragma torino 20mar2014 flash&tools vr03Pragma torino 20mar2014 flash&tools vr03
Pragma torino 20mar2014 flash&tools vr03
PRAGMA PROGETTI
 
Ad

Recently uploaded (20)

ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes
 
Build Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For DevsBuild Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For Devs
Brian McKeiver
 
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager APIUiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPathCommunity
 
Electronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploitElectronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploit
niftliyevhuseyn
 
Generative Artificial Intelligence (GenAI) in Business
Generative Artificial Intelligence (GenAI) in BusinessGenerative Artificial Intelligence (GenAI) in Business
Generative Artificial Intelligence (GenAI) in Business
Dr. Tathagat Varma
 
How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?
Daniel Lehner
 
Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025
Splunk
 
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Aqusag Technologies
 
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdfThe Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
Abi john
 
Linux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdfLinux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdf
RHCSA Guru
 
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptxSpecial Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
shyamraj55
 
Cybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure ADCybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure AD
VICTOR MAESTRE RAMIREZ
 
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Impelsys Inc.
 
Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.
hpbmnnxrvb
 
Quantum Computing Quick Research Guide by Arthur Morgan
Quantum Computing Quick Research Guide by Arthur MorganQuantum Computing Quick Research Guide by Arthur Morgan
Quantum Computing Quick Research Guide by Arthur Morgan
Arthur Morgan
 
Heap, Types of Heap, Insertion and Deletion
Heap, Types of Heap, Insertion and DeletionHeap, Types of Heap, Insertion and Deletion
Heap, Types of Heap, Insertion and Deletion
Jaydeep Kale
 
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-UmgebungenHCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
panagenda
 
Rusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond SparkRusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond Spark
carlyakerly1
 
How analogue intelligence complements AI
How analogue intelligence complements AIHow analogue intelligence complements AI
How analogue intelligence complements AI
Paul Rowe
 
Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)
Ortus Solutions, Corp
 
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes
 
Build Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For DevsBuild Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For Devs
Brian McKeiver
 
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager APIUiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPathCommunity
 
Electronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploitElectronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploit
niftliyevhuseyn
 
Generative Artificial Intelligence (GenAI) in Business
Generative Artificial Intelligence (GenAI) in BusinessGenerative Artificial Intelligence (GenAI) in Business
Generative Artificial Intelligence (GenAI) in Business
Dr. Tathagat Varma
 
How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?
Daniel Lehner
 
Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025
Splunk
 
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Aqusag Technologies
 
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdfThe Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
Abi john
 
Linux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdfLinux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdf
RHCSA Guru
 
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptxSpecial Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
shyamraj55
 
Cybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure ADCybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure AD
VICTOR MAESTRE RAMIREZ
 
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Impelsys Inc.
 
Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.
hpbmnnxrvb
 
Quantum Computing Quick Research Guide by Arthur Morgan
Quantum Computing Quick Research Guide by Arthur MorganQuantum Computing Quick Research Guide by Arthur Morgan
Quantum Computing Quick Research Guide by Arthur Morgan
Arthur Morgan
 
Heap, Types of Heap, Insertion and Deletion
Heap, Types of Heap, Insertion and DeletionHeap, Types of Heap, Insertion and Deletion
Heap, Types of Heap, Insertion and Deletion
Jaydeep Kale
 
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-UmgebungenHCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
panagenda
 
Rusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond SparkRusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond Spark
carlyakerly1
 
How analogue intelligence complements AI
How analogue intelligence complements AIHow analogue intelligence complements AI
How analogue intelligence complements AI
Paul Rowe
 
Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)
Ortus Solutions, Corp
 
Ad

Database TCO

  • 1. Total Cost of Ownership Zsolt Fabian Database Engineering
  • 2. 2   1.  Who  is  Spil  Games?   2.  What  is  TCO?   3.  What  drives  the  costs?   4.  Possible  improvements?   Outline of the talk
  • 3. Who are we? Who  is  Spil  Games?    
  • 4. 4   •  Company  founded  in  2001   •  350+  employees  world  wide   •  200M+  unique  visitors  per  month   •  45  portals  in  19  languages   •  Casual  games   •  Social  games   •  Real  Kme  mulKplayer  games   •  Mobile  games   •  35+  MySQL  clusters   Facts
  • 5. TCO Total  Cost  of  Ownership    
  • 6. 6   •  1980  –  “Life  Cycle  CosKng”   •  1987  –  Gartner  Group   •  Total  Cost  of  Ownership   •  Analysis  of  enterprise  spending,  vendor  evaluaKon   •  Many  inter-­‐related  direct  and  indirect  costs   •  Problems  with  TCO   What is TCO and why it is important? CAPEX  –  Capital  Expenses   OPEX  –  OperaKng  Expenses   Relevant Costs
  • 8. 8   •  CollecKng  data   •  Different  base  systems   •  4,3  TB  of  RAM   •  402  drives  wriKng  3  ExaBytes   •  3  DBA   •  12,3  kW  power  consumpKon   •  Asset  value  exceeds  €  500,000   •  Cables  are  available  in  all  colors  of  the  spectrum  J     A quick inventory
  • 9. 9   Aging servers •  Component  failures   •  Power  consumpKon   •  Volume  of  deployment  
  • 10. 10   •  The  most  obvious   •  Base  server  +  CPU  +  Mem  +  Disk  +  Controller   •  Replacement  parts  and  Warranty   •  NPV  –  Net  Present  Value   •  Mining  invoices   CAPEX: Purchase costs AFR  –  Annual  Failure  Rate   ALE  –  Annual  Loss  Expectancy  
  • 11. 11   •  Business  need   •  Cost  of  downKme   •  Levels  of  HA  and  Fault  Tolerance   •  Server  downKme   •  CPU  failure   •  MySQLd  crash   •  Solar  acKvity   •  Combined  availability  formula:   CAPEX: Purchase costs: HA A  =  1  –  (1  –  Ax)  ^  n  
  • 12. 12   •  Giving  back  J   •  MySQL  Standard  EdiKon:  $  2,000   •  Enterprise:  $  5,000   •  Cluster  Carrier  Grade:  $  10,000   •  Microsoj  SQL  Server:  $  6k+  /  core     •  Oracle  10/11g:  $  40k+   •  AddiKonal:  Technology  extensions,  Dashboards   CAPEX: License costs
  • 13. 13   •  Work  hours  spent…   •  SLA,  Responsibility,  Stress,  Insider  Threat   •  MySQL  annual  subscripKon:  $  2,000   •  Specialist  support  from  $  1,500  /  server  /  year   •  Unlimited  servers  for  $  30,000  /  year   •  Depends  on  complexity   •  €  2,700  /  server  /  year     OPEX: MySQL Professional support It's  cheaper  to  add  more  servers  than  hire  more  engineers.  
  • 14. 14   •  Cage  –  Rack  –  Server   •  Networking   •  Deployment  (+  fuel  +  Kme)   •  Power  density  constraints   •  Let’s  say  €  60  /  server  /  month   OPEX: Hosting: Colocation
  • 15. 15   •  Wao  =  Ampere  *  Volt   •  €  0.2  /  kWh   •  12,31  kWh  (~  16%  of  total)   •  €  21,300  annually   •  Measurements   •  IPMI   •  Power  meter  J   •  Contributors   •  HDD  (25%)   •  Roles  (5-­‐10W)   OPEX: Hosting: Power
  • 18. Pu@ng  it  together     The  model     Cost  Item   CAPEX   OPEX   TCO  5y   Base  System   ?   Extra  memory   ?   Extra  disks   ?   Licence  fees   ?   Replacement  parts  /   Warranty   ?   ?   Co-­‐locaKon   ?   Power   ?   Professional  support   ?   TOTAL   ?   ?   ?  
  • 19. Pu@ng  it  together     Cluster  of  6  nodes   Cost  Item  (6x)   CAPEX   OPEX   TCO  5y   Purchase:  HP  DL380  G7   €  25,000   Purchase:  Extra  memory     €  6,000   Professional  support   €  16,200   ColocaKon  cost   €  4,320   Power  costs  @200W   €  2,100   Replacement  parts     €  1,500   TOTAL   €  32,500   €  22,620   €  145,600  
  • 20. Pu@ng  it  together     Cluster  of  6  nodes   Purchase   costs   18%   Professional   support   58%   ColocaKon   15%   Power   8%   Replacement   parts   1%   TCO 5 years
  • 21. Improvements “Insanity:  doing  the  same   thing  over  and  over  again  and      expecSng  different  results”  -­‐   Albert  Einstein    
  • 22. 22   Purchase prioritization Extend  warranty   MTBF   Obsolete,  Not  Urgent   Limited  reparability   Repairable   New  
  • 23. 23   •  SSD  reduces  the  cost  of  IOPS   •  SSD  is  fast  for  reads,  but  not  for  writes   •  Has  limited  lifespan   •  NAND  Flash  and  RAM  based  SSDs   •  MLC  (MulK  Level  Cell)  vs.  SLC  (Single  Level  Cell)   •  R/W  in  pages,  but  always  erased  in  blocks   •  The  main  advantage  that  it  doesn’t  have  to  spin   HDD vs. SSD: Inner workings
  • 24. 24   •  Dropping  over  Kme   •  Facts   •  Tsunami   •  Rare-­‐earth  minerals   •  Cost  per  GB  is  cheaper  at  HDD   •  Some  predicts  that  in  5  to  10  years,  SSD  will  replace   HDD  completely   HDD vs. SSD: Pricing
  • 25. 25   HDD vs. SSD: Power consumption Type   Model   Idle  Power   AcSve  Power   Annual  cost   contribuSon   SSD   Intel  520   600  mW   850  mW   €  1,49   SSD   Intel  X25-­‐M   60  mW   150  mW   €  0,26   SSD   Intel  X25-­‐E   60  mW   4,2  W   €  7,35   HDD   ST9146852S   5  W   7  W   €  12,2  
  • 26. 26   •  MTBF:  ~  200  years   •  HDD   •  AFR:  0,55%    (-­‐  1,5%  -­‐  2%  -­‐  …)   •  ALE!   •  SSD  have  LIMITED  write  cycles   •  SLC:  100,000  writes  /  block   •  MLC:  10,000  writes  /  block   •  Typical  MLC:  5,000  writes  /  block   •  Future  developments   HDD vs. SSD: Endurance
  • 27. 27   •  Intel  520  SSD:  5  years  (with  normal  desktop  usage)   •  35  TB  write  endurance  (TBW)   •  Official  endurance  is  overprovisioned  (~  50  %)   •  SaturaKon   •  Filesystem  overhead  (0.25  btrfs-­‐>  0.015  (ext4))   •  Readout   •  S.M.A.R.T.:  Percentage  of  rated  lifeKme  used   •  UKliKes   •  RAID  controllers   HDD vs. SSD: Endurance
  • 28. 28   •  Determined  during  the  design   •  The  equaKon  is  about:  Buffers  x  ConnecKons   •  DIMM  populaKon  guide   •  DRAM  market:  OVERSUPPLY   Memory configuration
  • 29. 29   •  Extending  Linux  block-­‐cache  with  SSD   •  Block-­‐cache  works  by  caching  accessed  blocks   •  Perfect  sizing  -­‐>  performance  similar  to  SSD  only   •  Failures   •  Writethrough          cache  ||  storage     •  Writearound              –(w)–>  storage  –(r)–>  cache  –>   •  Writeback                      –(w)–>  cache  –(w)–>  storage  –>   Flashcache
  • 30. 30   •  6  x  300  GB  RAID10  -­‐>  2  x  100  GB  SSD  +  2  x  1  TB  RAID1   •  ConsideraKons   •  I/O  rates   •  Write  savings   •  Overprovisioning   •  ParKKoning   •  How  long  to  cache   •  What  to  cache   •  Less  HDD  purchases,  More  SSD  purchases  (High  ALE)   Flashcache
  • 31. 31   •  4  nodes  of  6  x  146  GB  HDD   •  CAPEX:  €  4,700   •  OPEX:  €  293   •  TCO  5y:  €  6,165     •  4  nodes  of  2  x  600  HDD  +  2  x  Intel  520  SSD,  30%  opt.  writes   •  Replacing  them  every  year  (TBWy:  100  TB)   •  CAPEX:  €  11,680   •  OPEX:  €  110   •  TCO:  €  12,230   Flashcache: Case study
  • 32. 32   •  TCO  is  a  very  handy  (someKmes  misleading)  tool   •  RCO  -­‐  Relevant  Cost  of  Ownership   •  CAPEX:OPEX  raKo   •  Giving  back  is  OPEX   •  Keep  eye  on  your  power  consumpKon   •  Buy  DRAM   •  Consider  ALE  when  you  switch  to  SSD   Summary
  • 34. 34   •  PresentaKon  can  be  found  at:   hop://spil.com/tcomeetup2013       •  You  can  contact  me  at:     [email protected]   Thank you!