SlideShare une entreprise Scribd logo
1  sur  41
Server Hardware for Drupal
Christoph Weber
High Performance Computing Manager
Burnham Institute for Medical Research
Two of our
clusters
304 / 104 cores
9.8 TB / 2.7 TB RAID
608 / 208 GB RAM
performance tuned
One of my job perks:
Follow hardware trends
Drupal

     PHP
    MySQL
    Apache
     Linux

Server Hardware
New, ugly buzzword:
Server physicalization
2009 performance news
Intel Nehalem CPU
Flash storage
Intel
Nehalem
Xeon 5500
Intel
Nehalem
Xeon 5500
QuickPath
Interconnect
Intel
Nehalem
Xeon 5500
QuickPath
Interconnect
On-chip memory
controller
Upshot: 2x performance
for file and web servers
The Big Problem: Latency




    ns      μs       ms
The Big Problem: Latency




                      Hard drives
          RAM
   CPU




     ns         μs   ms
The Big Problem: Latency

                     mysqld




                      Hard drives
          RAM
   CPU




     ns         μs   ms
The Big Problem: Latency

   Caching:          mysqld
  memcached




                      Hard drives
    varnish
          RAM
   CPU




     ns         μs   ms
The Big Problem: Latency
                     persistent

   Caching:           mysqld
  memcached




                        Hard drives
    varnish
          RAM
   CPU




     ns         μs    ms
The Big Problem: Latency
  not persistent        persistent

   Caching:              mysqld
  memcached




                           Hard drives
    varnish
          RAM
   CPU




     ns            μs    ms
The Big Problem: Latency




    ns       µs      ms
The Big Problem: Latency




                      Hard drives
          RAM
   CPU




     ns         µs   ms
CPU




ns
      RAM




µs

     Solid State Disk
ms
                        The Big Problem: Latency




     Hard drives
CPU




ns
      RAM




µs
     PCI Flash


     Solid State Disk
ms
                        The Big Problem: Latency




     Hard drives
The Big Problem: Latency
                     all persistent




                                 Solid State Disk

                                                     Hard drives
                     PCI Flash
          RAM
   CPU




     ns         µs                                  ms
PCI Flash Performance
depending on model:
26 - 50 µs latency
71,000 - 185,000 IOPS
500 - 1400 MB/s write speed

compare 15,000 rpm disk:
2 ms latency, 150 IOPS, 1 MB/s (random), 50 MB/s
sequential
Drupal Performance (expected)
 unoptimized Drupal (100 database hits per page view):
 710 - 1850 page views / s

 optimized Drupal (5 database hits per page view):
 14,200 - 37,000 page views /s
wine.com
myspace.com
myspace.com

 15k rpm SAS drives (x10)
Architecture for high volume
Webserver using Flash
Webserver using Flash
2x quad core
  Nehalem

24 GB RAM

 2x 80GB
  ioDrive
   Server
Webserver using Flash
2x quad core
  Nehalem               Varnish
                         httpd
24 GB RAM             memcached

 2x 80GB
  ioDrive
   Server
Webserver using Flash
2x quad core
  Nehalem               Varnish
                         httpd
24 GB RAM             memcached

 2x 80GB                   MySQL
  ioDrive                 Pressflow
   Server
Architecture using Flash
 Warning: Not proven with Drupal in practice yet!
 lots of httpd threads
 Pressflow / Varnish / memcached
 MySQL and Drupal file tree on ioDrives
Cost: Cloud
necessary horizontal scaling dramatically increases
cloud hosting cost
AWS: $1400 - $6608 / month, depending on setup
no startup costs
scale on demand, up or down
Cost: Physical Server
 $10,000 upfront for server
 $1000 / month for managed hosting
 twice the price for redundancy
 you are committed, regardless of your future success,
 or lack thereof
 scale up possible, but slow
Cost comparison
Cloud: $17,280 - $79,200 / year
Physical server: $15,333 - 30,666 / year
Your laptop on steroids
 Intel X25M G2
 perhaps other brand with Indilinx controller
 (Patriot Torqx, Corsair Extreme, OZC Vertex, etc.)
 don’t try anything cheap!
 ~ $500 / 160 GB or
 ~ $400 / 128 GB
The Big Problem: Latency




    ns       µs      ms
The Big Problem: Latency
                           65/85 µs r/w
                            750 IOPS
                                   10 ms w




                                 Solid State Disk
                                   66 IOPS




                                                     Hard drives
                     PCI Flash
          RAM
   CPU




     ns         µs                                  ms
Demo:
Firefox startup, lots of tabs
Thank You

christoph@dialogconsulting.biz
drupal.org/user/281751
groups.drupal.org/user/24950
facebook.com/cwebersd
linkedin.com/in/christophweber

Contenu connexe

Tendances

MySQL新技术研究与实践
MySQL新技术研究与实践MySQL新技术研究与实践
MySQL新技术研究与实践
orczhou
 
Scaling Cassandra for Big Data
Scaling Cassandra for Big DataScaling Cassandra for Big Data
Scaling Cassandra for Big Data
DataStax Academy
 
MongoDB and server performance
MongoDB and server performanceMongoDB and server performance
MongoDB and server performance
Alon Horev
 
Sql saturday powerpoint dc_san
Sql saturday powerpoint dc_sanSql saturday powerpoint dc_san
Sql saturday powerpoint dc_san
Joseph D'Antoni
 
Memcache - Lightning fast object retrieval
Memcache - Lightning fast object retrievalMemcache - Lightning fast object retrieval
Memcache - Lightning fast object retrieval
elliando dias
 
SOUG_SDM_OracleDB_V3
SOUG_SDM_OracleDB_V3SOUG_SDM_OracleDB_V3
SOUG_SDM_OracleDB_V3
UniFabric
 

Tendances (20)

MySQL新技术研究与实践
MySQL新技术研究与实践MySQL新技术研究与实践
MySQL新技术研究与实践
 
Scaling Cassandra for Big Data
Scaling Cassandra for Big DataScaling Cassandra for Big Data
Scaling Cassandra for Big Data
 
了解网络
了解网络了解网络
了解网络
 
MongoDB and server performance
MongoDB and server performanceMongoDB and server performance
MongoDB and server performance
 
Silicon Motion NVMe PCIe SSD controllers introduction
Silicon Motion NVMe PCIe SSD controllers introductionSilicon Motion NVMe PCIe SSD controllers introduction
Silicon Motion NVMe PCIe SSD controllers introduction
 
Sql saturday powerpoint dc_san
Sql saturday powerpoint dc_sanSql saturday powerpoint dc_san
Sql saturday powerpoint dc_san
 
The effect of page size modification on jvm
The effect of page size modification on jvmThe effect of page size modification on jvm
The effect of page size modification on jvm
 
Webinar: Overcoming the Storage Challenges Cassandra and Couchbase Create
Webinar: Overcoming the Storage Challenges Cassandra and Couchbase CreateWebinar: Overcoming the Storage Challenges Cassandra and Couchbase Create
Webinar: Overcoming the Storage Challenges Cassandra and Couchbase Create
 
SSD based storage tuning for databases
SSD based storage tuning for databasesSSD based storage tuning for databases
SSD based storage tuning for databases
 
IMCSummit 2015 - Day 1 Developer Track - Evolution of non-volatile memory exp...
IMCSummit 2015 - Day 1 Developer Track - Evolution of non-volatile memory exp...IMCSummit 2015 - Day 1 Developer Track - Evolution of non-volatile memory exp...
IMCSummit 2015 - Day 1 Developer Track - Evolution of non-volatile memory exp...
 
C* Summit EU 2013: Cassandra on Flash: Performance & Efficiency Lessons Learned
C* Summit EU 2013: Cassandra on Flash: Performance & Efficiency Lessons Learned C* Summit EU 2013: Cassandra on Flash: Performance & Efficiency Lessons Learned
C* Summit EU 2013: Cassandra on Flash: Performance & Efficiency Lessons Learned
 
The Smug Mug Tale
The Smug Mug TaleThe Smug Mug Tale
The Smug Mug Tale
 
Webinar: How NVMe Will Change Flash Storage
Webinar: How NVMe Will Change Flash StorageWebinar: How NVMe Will Change Flash Storage
Webinar: How NVMe Will Change Flash Storage
 
Webinar: NVMe, NVMe over Fabrics and Beyond - Everything You Need to Know
Webinar: NVMe, NVMe over Fabrics and Beyond - Everything You Need to KnowWebinar: NVMe, NVMe over Fabrics and Beyond - Everything You Need to Know
Webinar: NVMe, NVMe over Fabrics and Beyond - Everything You Need to Know
 
Ceph Day Beijing - Ceph RDMA Update
Ceph Day Beijing - Ceph RDMA UpdateCeph Day Beijing - Ceph RDMA Update
Ceph Day Beijing - Ceph RDMA Update
 
DataSnap
DataSnapDataSnap
DataSnap
 
NVMe overview
NVMe overviewNVMe overview
NVMe overview
 
Memcache - Lightning fast object retrieval
Memcache - Lightning fast object retrievalMemcache - Lightning fast object retrieval
Memcache - Lightning fast object retrieval
 
SOUG_SDM_OracleDB_V3
SOUG_SDM_OracleDB_V3SOUG_SDM_OracleDB_V3
SOUG_SDM_OracleDB_V3
 
Persistent memory
Persistent memoryPersistent memory
Persistent memory
 

En vedette

Application Lifecycle Management using Microsoft Team Foundation Server Train...
Application Lifecycle Management using Microsoft Team Foundation Server Train...Application Lifecycle Management using Microsoft Team Foundation Server Train...
Application Lifecycle Management using Microsoft Team Foundation Server Train...
Mihails Galuška
 
Topic2 Understanding Middleware
Topic2 Understanding MiddlewareTopic2 Understanding Middleware
Topic2 Understanding Middleware
sanjoysanyal
 
Microsoft Windows Server 2012 R2 Overview - Presented by Atidan
Microsoft Windows Server 2012 R2 Overview - Presented by AtidanMicrosoft Windows Server 2012 R2 Overview - Presented by Atidan
Microsoft Windows Server 2012 R2 Overview - Presented by Atidan
David J Rosenthal
 
Networking devices
Networking devicesNetworking devices
Networking devices
rupinderj
 
Middleware Basics
Middleware BasicsMiddleware Basics
Middleware Basics
Varun Arora
 

En vedette (17)

oracle middleware Strategy
oracle middleware Strategyoracle middleware Strategy
oracle middleware Strategy
 
Microsoft Windows Server AppFabric
Microsoft Windows Server AppFabricMicrosoft Windows Server AppFabric
Microsoft Windows Server AppFabric
 
Application Lifecycle Management with Team Foundation Server
Application Lifecycle Management with Team Foundation ServerApplication Lifecycle Management with Team Foundation Server
Application Lifecycle Management with Team Foundation Server
 
Oracle Fusion Middleware
Oracle Fusion MiddlewareOracle Fusion Middleware
Oracle Fusion Middleware
 
Intro to Java Technology
Intro to Java TechnologyIntro to Java Technology
Intro to Java Technology
 
Application Lifecycle Management using Microsoft Team Foundation Server Train...
Application Lifecycle Management using Microsoft Team Foundation Server Train...Application Lifecycle Management using Microsoft Team Foundation Server Train...
Application Lifecycle Management using Microsoft Team Foundation Server Train...
 
The Middleware technology that connects the enterprise
The Middleware technology that connects the enterpriseThe Middleware technology that connects the enterprise
The Middleware technology that connects the enterprise
 
Android Sensors
Android SensorsAndroid Sensors
Android Sensors
 
Topic2 Understanding Middleware
Topic2 Understanding MiddlewareTopic2 Understanding Middleware
Topic2 Understanding Middleware
 
Middleware
MiddlewareMiddleware
Middleware
 
Microsoft Windows Server 2012 R2 Overview - Presented by Atidan
Microsoft Windows Server 2012 R2 Overview - Presented by AtidanMicrosoft Windows Server 2012 R2 Overview - Presented by Atidan
Microsoft Windows Server 2012 R2 Overview - Presented by Atidan
 
Middleware
MiddlewareMiddleware
Middleware
 
Middleware
MiddlewareMiddleware
Middleware
 
Middleware and Middleware in distributed application
Middleware and Middleware in distributed applicationMiddleware and Middleware in distributed application
Middleware and Middleware in distributed application
 
Active Directory Domain Services Installation & Configuration - Windows Ser...
Active Directory Domain Services  Installation & Configuration  - Windows Ser...Active Directory Domain Services  Installation & Configuration  - Windows Ser...
Active Directory Domain Services Installation & Configuration - Windows Ser...
 
Networking devices
Networking devicesNetworking devices
Networking devices
 
Middleware Basics
Middleware BasicsMiddleware Basics
Middleware Basics
 

Similaire à Optimize Your Hardware for Drupal

Roy foubister (hosting high traffic sites on a tight budget)
Roy foubister (hosting high traffic sites on a tight budget)Roy foubister (hosting high traffic sites on a tight budget)
Roy foubister (hosting high traffic sites on a tight budget)
WordCamp Cape Town
 
Considerations for building your private cloud folsom update
Considerations for building your private cloud   folsom updateConsiderations for building your private cloud   folsom update
Considerations for building your private cloud folsom update
Ryan Richard
 
All Flash is not Equal: Tony Pearson contrasts IBM FlashSystem with Solid-Sta...
All Flash is not Equal: Tony Pearson contrasts IBM FlashSystem with Solid-Sta...All Flash is not Equal: Tony Pearson contrasts IBM FlashSystem with Solid-Sta...
All Flash is not Equal: Tony Pearson contrasts IBM FlashSystem with Solid-Sta...
Tony Pearson
 
Performance Whack-a-Mole Tutorial (pgCon 2009)
Performance Whack-a-Mole Tutorial (pgCon 2009) Performance Whack-a-Mole Tutorial (pgCon 2009)
Performance Whack-a-Mole Tutorial (pgCon 2009)
PostgreSQL Experts, Inc.
 

Similaire à Optimize Your Hardware for Drupal (20)

Day 2 General Session Presentations RedisConf
Day 2 General Session Presentations RedisConfDay 2 General Session Presentations RedisConf
Day 2 General Session Presentations RedisConf
 
Roy foubister (hosting high traffic sites on a tight budget)
Roy foubister (hosting high traffic sites on a tight budget)Roy foubister (hosting high traffic sites on a tight budget)
Roy foubister (hosting high traffic sites on a tight budget)
 
Get Your GeekOn with Ron - Session One: Designing your VDI Servers
Get Your GeekOn with Ron - Session One: Designing your VDI ServersGet Your GeekOn with Ron - Session One: Designing your VDI Servers
Get Your GeekOn with Ron - Session One: Designing your VDI Servers
 
Mysql talk
Mysql talkMysql talk
Mysql talk
 
Xen Virtualization 2008
Xen Virtualization 2008Xen Virtualization 2008
Xen Virtualization 2008
 
Running Apache Spark on a High-Performance Cluster Using RDMA and NVMe Flash ...
Running Apache Spark on a High-Performance Cluster Using RDMA and NVMe Flash ...Running Apache Spark on a High-Performance Cluster Using RDMA and NVMe Flash ...
Running Apache Spark on a High-Performance Cluster Using RDMA and NVMe Flash ...
 
Need for Speed: Using Flash Storage to Optimise Performance and Reduce Costs
Need for Speed: Using Flash Storage to Optimise Performance and Reduce CostsNeed for Speed: Using Flash Storage to Optimise Performance and Reduce Costs
Need for Speed: Using Flash Storage to Optimise Performance and Reduce Costs
 
Nimble Storage Series A presentation 2007
Nimble Storage Series A presentation 2007Nimble Storage Series A presentation 2007
Nimble Storage Series A presentation 2007
 
Did you know
Did you knowDid you know
Did you know
 
CLFS 2010
CLFS 2010CLFS 2010
CLFS 2010
 
Considerations for building your private cloud folsom update
Considerations for building your private cloud   folsom updateConsiderations for building your private cloud   folsom update
Considerations for building your private cloud folsom update
 
Enterprise Storage NAS - Dual Controller
Enterprise Storage NAS - Dual ControllerEnterprise Storage NAS - Dual Controller
Enterprise Storage NAS - Dual Controller
 
Database performance tuning for SSD based storage
Database  performance tuning for SSD based storageDatabase  performance tuning for SSD based storage
Database performance tuning for SSD based storage
 
Development to Production with Sharded MongoDB Clusters
Development to Production with Sharded MongoDB ClustersDevelopment to Production with Sharded MongoDB Clusters
Development to Production with Sharded MongoDB Clusters
 
All Flash is not Equal: Tony Pearson contrasts IBM FlashSystem with Solid-Sta...
All Flash is not Equal: Tony Pearson contrasts IBM FlashSystem with Solid-Sta...All Flash is not Equal: Tony Pearson contrasts IBM FlashSystem with Solid-Sta...
All Flash is not Equal: Tony Pearson contrasts IBM FlashSystem with Solid-Sta...
 
FlashMemorySummit_2015_NVMFS
FlashMemorySummit_2015_NVMFSFlashMemorySummit_2015_NVMFS
FlashMemorySummit_2015_NVMFS
 
Global Azure Virtual 2020 What's new on Azure IaaS for SQL VMs
Global Azure Virtual 2020 What's new on Azure IaaS for SQL VMsGlobal Azure Virtual 2020 What's new on Azure IaaS for SQL VMs
Global Azure Virtual 2020 What's new on Azure IaaS for SQL VMs
 
Performance Whack-a-Mole Tutorial (pgCon 2009)
Performance Whack-a-Mole Tutorial (pgCon 2009) Performance Whack-a-Mole Tutorial (pgCon 2009)
Performance Whack-a-Mole Tutorial (pgCon 2009)
 
M.2 SSDs: Aligned for Speed – Infographic
M.2 SSDs: Aligned for Speed – InfographicM.2 SSDs: Aligned for Speed – Infographic
M.2 SSDs: Aligned for Speed – Infographic
 
In-Memory Computing: Myths and Facts
In-Memory Computing: Myths and FactsIn-Memory Computing: Myths and Facts
In-Memory Computing: Myths and Facts
 

Dernier

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 

Dernier (20)

08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 

Optimize Your Hardware for Drupal