Magento Benchmark Physical Deployment

PED Deck
Questions:
[email protected]
© Copyright IBM Corporation 2015
Technical University/Symposia materials may not be reproduced in whole or in part without the prior written permission of IBM.
Sections
* What is the LAMP Stack - What Is Turbo LAMP
• The Collaboration that built Turbo LAMP
• Why POWER8 for Turbo LAMP
• Turbo LAMP Magento Benchmark
• Turbo LAMP in the Cloud
• Turbo LMAP in Docker Containers
© Copyright IBM Corporation 2015
1
More than 50% of the world’s web and mobile
workloads run on LAMP
What is LAMP
• Linux, Apache, MySQL, PHP
• Scale-out architecture
• Key solution categories:
• E-commerce,
• Content Management
• Mobile app development
Key challenges
• Open source culture leads to a lack of process & control
• Known performance issues with many solution leaders on x86
• Order and assemble the piece parts
• On your own to install, configure, tune and support
• Commodity server RAS, security
© Copyright IBM Corporation 2014
2
Turbo LAMP!
Industry leaders collaborating to optimize LAMP on POWER8
These business
apps run better
on Turbo LAMP!
 Industry leaders
working together
“turbo-charges” the
LAMP stack
 Exploits performance
and RAS features of
POWER8
© Copyright IBM Corporation 2015
3
Sections
* What is the LAMP Stack - What Is Turbo LAMP
• The Collaboration that built Turbo LAMP
• Why POWER8 for Turbo LAMP
• Turbo LAMP Magento Benchmark
• Turbo LAMP in the Cloud
• Turbo LMAP in Docker Containers
© Copyright IBM Corporation 2015
4
Power8 Has …
© Copyright IBM Corporation 2015
5
Power8 Innovation
© Copyright IBM Corporation 2015
6
Intel’s Performance per Core is Not Increasing Over
Previous Generation
© Copyright IBM Corporation 2015
7
POWER7 to POWER8 Performance Gains
© Copyright IBM Corporation 2015
8
POWER8 Is Designed for Superior Performance
© Copyright IBM Corporation 2015
9
Checkers and Fault Isolation Registers provide the
mechanism to ensure First Failure Data Capture
© Copyright IBM Corporation 2015
10
POWER vs. Intel – Reliability And Servicability
The service processor methodologies are very different!
© Copyright IBM Corporation 2015
11
Sections
* What is the LAMP Stack - What Is Turbo LAMP
• The Collaboration that built Turbo LAMP
• Why POWER8 for Turbo LAMP
• Turbo LAMP Magento Benchmark
• Turbo LAMP in the Cloud
• Turbo LMAP in Docker Containers
© Copyright IBM Corporation 2015
12
What is Magento
• the #3 e-commerce software provider to the top 500 e-retailers in
the US and Canada—
• has overtaken Oracle as the top e-commerce solution for midmarket merchants.
• 1 of every 4 online businesses choose Magento
• PHP based application – uses MySQL
• Architected to scale vertically and horizontally
© Copyright IBM Corporation 2015
Magento Benchmark Test Topology
© Copyright IBM Corporation 2015
14
Magento Benchmark Physical Deployment
© Copyright IBM Corporation 2015
15
Why 4 VM’s per System - S822L Block Diagram
Mellanox 40 Gb
Mellanox 40 Gb
Mellanox 40 Gb
Mellanox 40 Gb
•
•
•
•
4 “NUMA” nodes
Use all local memory
Use direct attach PCI Slots
PowerKVM PCI PassThrough
© Copyright IBM Corporation 2015
16
Magento benchmark shows great
performance and TCO proof points
Redis Server
REDIS
6.4x more
users / hour
One POWER8
server
PowerKVM + Ubuntu
DB / MySQL
* @ < 2 sec response
time for 86% of
users
MariaDB
PHP Server/ Magento
ZEND\Magento
2
Four Dell
servers
PHP Server/ Magento
32,000 users/hour *
ZEND\Magento
1
5,000 users/hour *
F
S
P
* @ < 2 sec. response
time for > 90% of
users
Single Power S822L
M
E
L
M
E
L
M
E
L
M
E
L
65% less
$$ / user / hour
•$3.98 /user/hour
• TCA = $19, 885
Key Advantages of Turbo LAMP on POWER8
• 65% less $$ per user / hour
• 6.4x more users per hour
• 4:1 less physical servers
• 2:1 less rack space
Magento is a subsidiary of eBay and serves more than 240,000 retailers worldwide - enabling retailers
and brands to create customized, innovative, commerce experiences to accelerate their growth.
•$1.41 /user/hour
• TCA = $45, 100
17
Magento Testing Results: IBM Details
IBM TurboLAMP outperformed cloud providers both in performance and unit cost
Page Views per Second
80.0
Users per Hour
Cost per User
35,000
70.0
$0.60
30,000
60.0
$0.50
25,000
$0.40
50.0
20,000
40.0
$0.30
15,000
30.0
$0.20
10,000
20.0
$0.10
5,000
10.0
0.0
0
2 Servers
$0.00
2 Servers
IBM Turbo LAMP (Lagrange)
Average
Higher results are better
IBM Turbo LAMP (Lagrange)
2 Servers
Average
Higher results are better
IBM Turbo LAMP (Lagrange)
Average
Lower costs are better
IBM Turbo LAMP delivered approximately twice the throughput of any other
cloud provider which is to be expected since this hardware deployment is
significantly larger than cloud resources tested
**Note: Benchmark utilized Lagrange System’s CloudMaestro Product.
Confidential: Copyright © 2015 Lagrange Systems. All rights reserved.
18
Independent testing has shown that Magento Enterprise
Edition demonstrates a substantial 2.5-3x performance
improvement on the POWER8 architecture with its ability to
process up to 8 multiple parallel threads per core versus
similar priced Intel architectures on the IBM Turbo LAMP
stack. Magento serves more than 240,000 retailers
worldwide, and enables retailers and brands to create
customized, innovative, commerce experiences to
accelerate their growth.
Craig Hayman , President - eBay Enterprise
Business
19
Sections
* What is the LAMP Stack - What Is Turbo LAMP
• The Collaboration that built Turbo LAMP
• Why POWER8 for Turbo LAMP
• Turbo LAMP Magento Benchmark
• Turbo LAMP in the Cloud
• Reference Configurations
• Try Turbo LAMP for Free !! – the PDP
• Turbo LMAP in Docker Containers
© Copyright IBM Corporation 2015
20
Cloud Deployment Discussion
4 c,
16GB
Ubuntu
JMeter
4 c, 16GB
Ubuntu
ZEND
MariaDB
Redis
S822L
8,000 UPH
Try a 4 node ZEND Cluster
Asked the MSP for:
•
7 - 4 Core 16GB “VMs”
•
1 load generator
•
1 load balancer
•
4 ZEND servers
•
1 Redis
•
1 - 8 Core 16GB “VM”
•
MariaDB
1 c,
16GB
Ubuntu
JMeter
8 c, 16GB
Ubuntu
ZEND
MariaDB
Redis
S822L
12,300 UPH
Used Provider’s Network Infrastructure
© Copyright IBM Corporation 2015
21
– Hybrid Cloud
Similar set up as a full cloud deployment,
except aspects can reside on dedicated
hardware
• Enterprise businesses have dedicated hardware
solutions (capex)
• Some applications require dedicated hardware
(security, performance, application requirements)
T R A F F I C
APP DELIVERY
CONTROLLER
APP DELIVERY
CONTROLLER
Maximize current investment in HW while
expanding into the Cloud
•
•
APP DELIVERY
CONTROLLER
APP DELIVERY
CONTROLLER
APP
SERVER
APPAPP
APP
SERVER SERVER
SERVER
Cloud is more cost effective, can be right-sized
and support self-healing
Seamlessly transition to the cloud, while
minimizing risk and exposure in the process
Z E N D
A p p
S e r v e r s
Same great features are available in pure
cloud and hybrid deployments
ZEND
App Srvr
MariaDB
T u r b o
L A M p
–
O N - P R E M I S E
D e p l o y m e n t
Confidential: Copyright © 2015 Lagrange Systems. All rights reserved.
22
Sections
* What is the LAMP Stack - What Is Turbo LAMP
• The Collaboration that built Turbo LAMP
• Why POWER8 for Turbo LAMP
• Turbo LAMP Magento Benchmark
• Turbo LAMP in the Cloud
• Reference Configurations
• Try Turbo LAMP for Free !! – the PDP
• Turbo LMAP in Docker Containers
© Copyright IBM Corporation 2015
23
Default Deployment Topology
© Copyright IBM Corporation 2015
24
Single System Reference Configuration
VM
#1
VM
#2
VM
#3
VM
#4
ZEND
#1
ZEND
#2
Maria
DB
Ha
Proxy
PowerKVM
F
S
P
S822L - #1
N
I
C
1
N
I
C
2
M
E
L
M
E
L
M
E
L
M
E
L
• S822L
• 20 core -- 3.42 Ghz Power8
• 2 sockets, 10 cores per socket
• 4 NUMA nodes of 5 cores each
• 128GB RAM
• Local Storage
• 2 x 300 GB 15K RPM (PowerKVM)
• 5 x 300 GB 15K RPM (VM Data)
• DVD Drive
• 4 x EC3A -- 40 GB Mellanox Adapter
• PowerKVM – pre-loaded
© Copyright IBM Corporation 2015
25
Priced Configurations – 6 ZEND Cluster
VM
#1
VM
#2
VM
#3
VM
#4
VM
#1
VM
#2
VM
#3
VM
#4
ZEND
#1
ZEND
#2
Maria
DB
Ha
Proxy
ZEND
#3
ZEND
#4
ZEND
#5
ZEND
#6
PowerKVM
PowerKVM
F
S
P
F
S
P
S822L - #1
N
I
C
1
N
I
C
2
M
E
L
M
E
L
M
E
L
M
E
L
S822L - #1
N
I
C
1
N
I
C
2
M
E
L
M
E
L
M
E
L
M
E
L
© Copyright IBM Corporation 2015
26
How To Order
• Order S822L and Mellanox Adapter Cards (cables included) from IBM
(or IBM BP)
• Before August 2015
• Import .cfr file
• Adjust Cores, RAM, Adapters as needed
• After August 2015
• Select “Turbo LAMP” solution configuration in e-config
• Adjust Cores, Ram, Adapters as needed
• Order Mellanox Switch – SX1012 (12 port)
• Where to Download Ordering Guidance: http://bit.ly/tlampofsguide
• Techline – sizing / ordering assistance
• https://www-304.ibm.com/partnerworld/wps/servlet/ContentHandler/LLIE-6LLS4T
• Exploring options with distributers -- welcome input / feedback
© Copyright IBM Corporation 2015
27
How To Setup
(Once the components arrive)
• Follow Cookbook guidance to set up the hardware and
VMs
• “Build” solution with Cookbook: http://bit.ly/tlampcookbook
• Register on MariaDB site
• Download Power8 Optimized binary
• Install Turbo LAMP SW components
• Single System Installation
• JuJu Charms --- LXC -- does not use Mellanox fabric
• Manual Install (follow cookbook) – utilizes Mellanox fabric
• Multiple System
• JuJu Charms – uses Mellanox { planned / under development }
• Manual Install (follow cookbook) – utilizes Mellanox fabric
© Copyright IBM Corporation 2015
28
Sections
* What is the LAMP Stack - What Is Turbo LAMP
• The Collaboration that built Turbo LAMP
• Why POWER8 for Turbo LAMP
• Turbo LAMP Magento Benchmark
• Turbo LAMP in the Cloud
• Reference Configurations
• Try Turbo LAMP for Free !! – the PDP
• Turbo LMAP in Docker Containers
© Copyright IBM Corporation 2015
29
Turbo LAMP PoC Engagement Options
© Copyright IBM Corporation 2015
30
https://www-304.ibm.com/partnerworld/wps/servlet/ContentHandler/stg_com_sys_power-development-platform
© Copyright IBM Corporation 2015
31
Power Development Cloud
(aka – Power Development Platform – PDP)
New Turbo LAMP Specific Landing Page
http://graceland.rchland.ibm.com/wps/wcm/connect/content_en_US/Systems/systems/migratetoibm/pdc.html?isdraft=tr
ue&id=672a884a-f36a-4d86-9545-572510fed47a
© Copyright IBM Corporation 2015
32
PDP – Creating A “Reservation” – Programs Tab
Selecting Virtual Server
Access will cause the
next dialogue box to pop
up
© Copyright IBM Corporation 2015
33
PDP – Selecting the Ubuntu Turbo LAMP Image
© Copyright IBM Corporation 2015
34
Sections
* What is the LAMP Stack - What Is Turbo LAMP
• The Collaboration that built Turbo LAMP
• Why POWER8 for Turbo LAMP
• Turbo LAMP Magento Benchmark
• Turbo LAMP in the Cloud
• Reference Configurations
• Try Turbo LAMP for Free !! – the PDP
• Turbo LMAP in Docker Containers
© Copyright IBM Corporation 2015
35
Turbo LAMP In Docker Containers
Beta Demonstration
VM #5
(172.26.48.25)
5/8 core 32 GB
lNEW
VM #6
(172.26.48.26)
4 cores 16GB
MariaDB
ZEND Srvr
Docker
Docker
PowerKVM
F
S
P
S822L - #2
N
I
C
1
N
I
C
2
Stop by the Open Innovation Pedastal at the IBM Booth
© Copyright IBM Corporation 2015
36
Sections
* What is the LAMP Stack - What Is Turbo LAMP
• The Collaboration that built Turbo LAMP
• Why POWER8 for Turbo LAMP
• Turbo LAMP Magento Benchmark
• Turbo LAMP in the Cloud
• Reference Configurations
• Try Turbo LAMP for Free !! – the PDP
• Turbo LMAP in Docker Containers
• Benchmark Screen Shots
© Copyright IBM Corporation 2015
37
Benchmark Screen Shots - JMeter
© Copyright IBM Corporation 2015
Benchmark Screen Shots – ZEND Server
5 cores – SMT8 (“task set” apache2 to cores 1-4, Mellanox IRQs –
core 5)
© Copyright IBM Corporation 2015
Benchmark Screen Shots - MYTOP
© Copyright IBM Corporation 2015
Turbo LAMP stack resources
• Watch and share the demo video
• http://bit.ly/tlampdemo
• Read and share the Turbo LAMP technical whitepaper
• http://bit.ly/tlampwhitepaper
• Includes links for downloading all components of stack & reference configuration info
• Visit our Turbo LAMP community page for more info
• https://www.ibm.com/developerworks/community/groups/community/turbolamp
• Contact us for assistance with client or partner opportunities for the
Turbo LAMP stack or for Zend, MariaDB, Ubuntu or Mellanox
• [email protected]
Amy Anderson
Lisa Pike
Steve Grandchamp
Jim Lonergan
Director of Business
Development, Zend
[email protected]
Director of Business
Development, Canonical
[email protected]
VP NA,
MariaDB
[email protected]
Business Development,
Mellanox – IBM WW
[email protected]
4141