SlideShare a Scribd company logo
A	
  comparison	
  of	
  performance	
  
between	
  KVM	
  and	
  Docker	
  
instances	
  in	
  OpenStack	
High	
  Energy	
  Accelerator	
  Research	
  Organiza�on	
  (KEK),	
  Japan	
  
1	
HEPiX	
  Fall	
  2015	
  Workshop	
  at	
  BNL	
Wataru	
  Takase	
  
KEK	
  site	
  will	
  become	
  Cloudy	
2	
  Integrate	
  private	
  cloud	
  into	
  batch	
  service	
  
  Deploy	
  CVMFS	
  Stratum	
  0	
  and	
  1	
  
  Start	
  online	
  storage	
  service	
  
Batch	
  
scheduler	
Mediator	
 Private	
  cloud	
Job	
Resource	
  
request	
 Request	
  for	
  
launching	
  
instances	
Resource	
  pool	
Launch	
  
Instances	
WN	
WN	
WN	
WN	
Job	
Batch	
  worker	
  nodes	
WN	
WN	
WN	
WN	
CVMFS	
mount	
mount	
Resource	
  
request	
Talk	
  focuses	
  on	
  this	
  part
Performance	
  Inves�ga�on	
  of	
  Cloud	
  Is	
  virtual	
  machine	
  performance	
  good?	
  
  What	
  about	
  container	
  technology?	
  
  What	
  about	
  concurrency	
  impact	
  on	
  
performance?	
  
  Measured	
  KVM	
  and	
  Docker	
  performance	
  in	
  
OpenStack	
  by using	
  Rally	
  
– Cloud	
  performance	
  
– Instance	
  performance	
  
3
KVM?	
  Docker?	
4	
OpenStack	
  (IaaS)	
Docker	
  driver	
Libvirt	
  driver	
h�ps://www.docker.com/wha�sdocker	
Each	
  VM	
  runs	
  on	
  virtual	
  hardware	
Containers	
  share	
  host	
  kernel	
  and	
  
hardware	
  	
  KVM	
  :	
  VM	
  hypervisor	
  
  Docker	
  :	
  Container	
  manger	
Bare	
  Metal	
  Driver	
VMWare	
  Driver	
Xen	
  API	
  Driver
What	
  is	
  Rally?	
  Benchmarking	
  tool	
  for	
  
OpenStack	
  
  Generates	
  real	
  workload	
  
  Provides	
  more	
  than	
  100	
  
test	
  scenarios:	
  
–  Boot	
  server	
  and	
  migrate	
  it	
  
–  Create	
  image	
  and	
  boot	
  
server	
  
–  Create	
  volume	
  and	
  a�ach	
  
to	
  server	
  
–  …	
  
5	
---
NovaServers.boot_and_delete_server:
-
args:
image:
name: ”centos-cloud:7.1"
flavor:
name: "m1.xsmall"
min_sleep: 60
max_sleep: 60
runner:
type: "constant"
times: 32
concurrency: 32
context:
users:
tenants: 1
users_per_tenant: 32	
Example_of_rally_benchmark_input.yaml
Test	
  environment	
6	
Physical	
  server	
	
 OS	
	
 Kernel	
	
 CPU	
	
CPU	
  
cores	
	
RAM	
  
(GB)	
	
Disk	
  
(GB)	
	
OpenStack	
  
controller	
  
CentOS	
  7.1.1503	
 3.10.0-­‐229	
Intel(R)	
  Xeon(R)	
  CPU	
  
E5649	
  x2	
24*	
 32	
 300	
OpenStack	
  
compute	
CentOS	
  7.1.1503	
 3.10.0-­‐229	
Intel(R)	
  Xeon(R)	
  CPU	
  
E5-­‐2630	
  v3	
  x2	
32*	
 64	
 3800	
Rally	
 CentOS	
  7.1.1503	
 3.10.0-­‐229	
AMD	
  Opteron(TM)	
  
Processor	
  6212	
8	
 16	
 1700	
OS	
	
 Kernel	
	
 vCPU	
	
RAM	
  
(GB)	
	
Disk	
  
(GB)	
	
CentOS	
  7.1.1503	
 3.10.0-­‐229	
 1	
 1.8	
 10	
  OpenStack	
  Kilo	
  (RDO)	
  
  1	
  controller	
  +	
  1	
  compute	
  node	
  
  nova-­‐network	
  
  Rally	
  (2d874a7)	
  
  Sysbench	
  0.4.12	
  
Instance	
  image	
  and	
  flavor	
*	
  HT	
  is	
  enabled
Test	
  environment	
7	
File	
  system	
	
 XFS	
  on	
  LVM	
  on	
  hardware	
  RAID	
  5	
IO	
  scheduler	
	
 Deadline	
Clocksource	
	
 TSC	
QEMU	
	
 1.5.3	
libvirt	
	
 1.2.8	
Docker	
	
 1.6.2	
Nova	
  Docker	
  driver	
	
 nova-­‐docker	
  stable/kilo	
  (d556444)	
Image	
  format	
	
 qcow2	
Block	
  device	
  deriver	
	
 VirtIO	
Cache	
  mode	
	
 none	
File	
  system	
	
 XFS	
Clocksource	
	
 TSC	
Storage	
  driver	
	
 OverlayFS	
Compute	
  node	
KVM	
Docker
Benchmark	
  Scenarios	
1.  Measure	
  cloud	
  performance	
  
–  Boot	
  a	
  server	
  and	
  then	
  delete	
  
2.  Measure	
  instance	
  performance	
  
–  Boot	
  a	
  server	
  and	
  run	
  Sysbench	
  (test=cpu)	
  
–  Boot	
  a	
  server	
  and	
  run	
  Sysbench	
  (test=memory,	
  memory-­‐oper=read)	
  
–  Boot	
  a	
  server	
  and	
  run	
  Sysbench	
  (test=memory,	
  memory-­‐oper=write)	
  
–  Boot	
  a	
  server	
  and	
  run	
  Sysbench	
  (test=fileio,	
  file-­‐test-­‐mode=seqrd)	
  
–  Boot	
  a	
  server	
  and	
  run	
  Sysbench	
  (test=fileio,	
  file-­‐test-­‐mode=rndrd)	
  
–  Boot	
  a	
  server	
  and	
  run	
  Sysbench	
  (test=fileio,	
  file-­‐test-­‐mode=seqwr)	
  
–  Boot	
  a	
  server	
  and	
  run	
  Sysbench	
  (test=fileio,	
  file-­‐test-­‐mode=rndwr)	
  
  Each	
  scenario	
  launches	
  32	
  instances	
  
–  Change	
  number	
  of	
  concurrent	
  requests	
  from	
  1	
  to	
  32	
  
8
Boot	
  a	
  server	
  and	
  then	
  delete	
9	
Building	
OpenStack	
Request	
x	
  32	
Building	
OpenStack	
Request	
  Concurrent	
  requests:	
  32	
Building	
Building	
Request	
Request	
...	
...	
Building	
Request	
  Concurrent	
  requests:	
  	
  1	
Wai�ng	
  for	
  
ping,	
  ssh	
Networking	
  
�me	
Ac�ve	
Wai�ng	
  for	
  
ping,	
  ssh	
Networking	
  
�me	
Wai�ng	
  for	
  
ping,	
  ssh	
Wai�ng	
  for	
  ping,	
  ssh	
Wai�ng	
  for	
  
ping,	
  ssh	
Wait	
  
60	
  sec	
Dele�ng	
Dele�ng	
  �me	
Building	
  �me	
Wait	
  
60	
  sec	
Wait	
  
60	
  sec	
Wait	
  
60	
  sec	
Wait	
  
60	
  sec	
Dele�ng	
Dele�ng	
Dele�ng	
Dele�ng	
Dele�ng	
  �me	
Building	
  �me	
Deleted
Build	
  a	
  server	
10	
  At	
  high	
  concurrency	
  KVM	
  is	
  around	
  20%	
  be�er	
  
N:	
  96	
  
Error	
  bar:	
  SD
11	
Wait	
  for	
  Networking	
Boot	
  OS	
  
+	
  cloud-­‐init	
N:	
  96	
  
Error	
  bar:	
  SD	
cloud-­‐init	
  
+ Start	
  sshd
Building	
  +	
  Networking	
12	
N:	
  96	
  
Error	
  bar:	
  SD
13	
Delete	
  a	
  server	
 N:	
  96	
  
Error	
  bar:	
  SD
Instance	
  Performance	
  Comparison	
14	
Wai�ng	
  for	
  
ping,	
  ssh	
Building	
OpenStack	
Request	
x	
  32	
Wai�ng	
  for	
  
ping,	
  ssh	
Building	
OpenStack	
Request	
  Concurrent	
  requests:	
  32	
Wai�ng	
  for	
  
ping,	
  ssh	
Building	
Wai�ng	
  for	
  
ping,	
  ssh	
Building	
Request	
Request	
...	
...	
Wai�ng	
  for	
  
ping,	
  ssh	
Building	
Request	
  Concurrent	
  requests:	
  1	
Sysbench	
Sysbench	
Sysbench	
Sysbench	
Sysbench	
Wait	
Measure	
  
performance	
Dele�ng	
Wait	
Wait	
Wait	
Wait	
Dele�ng	
Dele�ng	
Measure	
  
performance
test=cpu,	
  cpu-­‐max-­‐prime=20000,	
  num-­‐
threads=1	
15	
  At	
  low	
  concurrency	
  KVM	
  is	
  2-­‐7%	
  worse	
  than	
  na�ve	
  
  If	
  No.	
  of	
  concurrent	
  requests	
  >	
  2,	
  Docker	
  is	
  2%	
  worse	
  than	
  
na�ve	
  
N:	
  32	
  
Error	
  bar:	
  SD
16	
  test=memory,	
  memory-­‐oper=read,	
  memory-­‐block-­‐size=1K,	
  
memory-­‐total-­‐size=100G,	
  max-­‐�me=300,	
  num-­‐threads=1	
  
  test=memory,	
  memory-­‐oper=write,	
  memory-­‐block-­‐size=1K,	
  
memory-­‐total-­‐size=100G,	
  max-­‐�me=300,	
  num-­‐threads=1	
  
  At	
  low	
  concurrency	
  KVM	
  is	
  3-­‐10%	
  worse	
  than	
  na�ve	
  
  Docker	
  is	
  2-­‐5%	
  worse	
  than	
  na�ve	
  (concurrent	
  requests:	
  1-­‐16)	
  
N:	
  32	
  
Error	
  bar:	
  SD
17	
  test=fileio,	
  file-­‐test-­‐mode=seqrd,	
  file-­‐block-­‐size=4K,	
  file-­‐total-­‐size=8G,	
  file-­‐
num=128,	
  file-­‐extra-­‐flags=direct,	
  max-­‐�me=300,	
  num-­‐threads=1	
  
  test=fileio,	
  file-­‐test-­‐mode=rndrd,	
  file-­‐block-­‐size=4K,	
  file-­‐total-­‐size=8G,	
  file-­‐
num=128,	
  file-­‐extra-­‐flags=direct,	
  max-­‐�me=300,	
  num-­‐threads=1	
  
  At	
  low	
  concurrency	
  KVM	
  sequen�al	
  read	
  is	
  60-­‐70%	
  worse	
  than	
  na�ve	
  
  KVM	
  random	
  read	
  is	
  several	
  %	
  worse	
  than	
  na�ve	
  
  Docker	
  achieves	
  na�ve	
  performance	
  
N:	
  32	
  
Error	
  bar:	
  SD
18	
  test=fileio,	
  file-­‐test-­‐mode=seqwr,	
  file-­‐block-­‐size=4K,	
  file-­‐total-­‐size=8G,	
  file-­‐
num=128,	
  file-­‐extra-­‐flags=direct,	
  max-­‐�me=300,	
  num-­‐threads=1	
  
  test=fileio,	
  file-­‐test-­‐mode=rndwr,	
  file-­‐block-­‐size=4K,	
  file-­‐total-­‐size=8G,	
  file-­‐
num=128,	
  file-­‐extra-­‐flags=direct,	
  max-­‐�me=300,	
  num-­‐threads=1	
  
  At	
  low	
  concurrency	
  KVM	
  is	
  70-­‐80%	
  worse	
  than	
  na�ve	
  
  In	
  the	
  case	
  of	
  single	
  request,	
  Docker	
  sequen�al	
  write	
  is	
  15%	
  worse	
  than	
  na�ve	
  
  Beside	
  that	
  Docker	
  achieves	
  almost	
  na�ve	
  performance	
  
N:	
  32	
  
Error	
  bar:	
  SD
Summary	
  and	
  Conclusion	
19	
  Cloud	
  performance	
  comparison	
  
–  Docker	
  instance	
  becomes	
  ready	
  faster	
  than	
  KVM	
  (building	
  +	
  networking)	
  
  Instance	
  performance	
  comparison	
  
–  CPU	
  and	
  memory	
  performance	
  
  Na�ve	
  >	
  Docker	
  >	
  KVM	
  
–  KVM	
  
  File	
  IO	
  performance	
  is	
  poor	
  compared	
  to	
  na�ve	
  
–  Docker	
  
  Read	
  performance	
  is	
  almost	
  the	
  same	
  as	
  na�ve	
  
  Write	
  performance	
  is	
  near	
  na�ve	
  
  Docker	
  seems	
  to	
  be	
  a	
  good	
  candidate	
  in	
  the	
  future	
  
–  Nova-­‐docker	
  driver	
  lacks	
  some	
  features	
  and	
  has	
  some	
  bugs	
  	
  
  More	
  inves�ga�on	
  is	
  needed	
  
–  Security	
  
–  Stability	
  
–  Other	
  benchmarks	
  (network,	
  volume,	
  tuned	
  KVM)	
  

More Related Content

What's hot

Practical CephFS with nfs today using OpenStack Manila - Ceph Day Berlin - 12...
Practical CephFS with nfs today using OpenStack Manila - Ceph Day Berlin - 12...Practical CephFS with nfs today using OpenStack Manila - Ceph Day Berlin - 12...
Practical CephFS with nfs today using OpenStack Manila - Ceph Day Berlin - 12...
TomBarron
 
Fibre Channel 基礎講座
Fibre Channel 基礎講座Fibre Channel 基礎講座
Fibre Channel 基礎講座
Brocade
 
Implementation & Comparison Of Rdma Over Ethernet
Implementation & Comparison Of Rdma Over EthernetImplementation & Comparison Of Rdma Over Ethernet
Implementation & Comparison Of Rdma Over Ethernet
James Wernicke
 
[오픈소스컨설팅] 프로메테우스 모니터링 살펴보고 구성하기
[오픈소스컨설팅] 프로메테우스 모니터링 살펴보고 구성하기[오픈소스컨설팅] 프로메테우스 모니터링 살펴보고 구성하기
[오픈소스컨설팅] 프로메테우스 모니터링 살펴보고 구성하기
Ji-Woong Choi
 
OpenStack Keystone with LDAP
OpenStack Keystone with LDAPOpenStack Keystone with LDAP
OpenStack Keystone with LDAP
Jesse Pretorius
 
Building Multi-Site and Multi-OpenStack Cloud with OpenStack Cascading
Building Multi-Site and Multi-OpenStack Cloud with OpenStack CascadingBuilding Multi-Site and Multi-OpenStack Cloud with OpenStack Cascading
Building Multi-Site and Multi-OpenStack Cloud with OpenStack Cascading
Joe Huang
 
20220331_DSSA_MigrationToYugabyteDB
20220331_DSSA_MigrationToYugabyteDB20220331_DSSA_MigrationToYugabyteDB
20220331_DSSA_MigrationToYugabyteDB
Masaki Yamakawa
 
Optimizing RocksDB for Open-Channel SSDs
Optimizing RocksDB for Open-Channel SSDsOptimizing RocksDB for Open-Channel SSDs
Optimizing RocksDB for Open-Channel SSDs
Javier González
 
iptables 101- bottom-up
iptables 101- bottom-upiptables 101- bottom-up
iptables 101- bottom-up
HungWei Chiu
 
“見てわかる” ファイバーチャネルSAN基礎講座(第2弾)~FC SAN設計における勘所とは?~
“見てわかる” ファイバーチャネルSAN基礎講座(第2弾)~FC SAN設計における勘所とは?~“見てわかる” ファイバーチャネルSAN基礎講座(第2弾)~FC SAN設計における勘所とは?~
“見てわかる” ファイバーチャネルSAN基礎講座(第2弾)~FC SAN設計における勘所とは?~
Brocade
 
Wido den Hollander - 10 ways to break your Ceph cluster
Wido den Hollander - 10 ways to break your Ceph clusterWido den Hollander - 10 ways to break your Ceph cluster
Wido den Hollander - 10 ways to break your Ceph cluster
ShapeBlue
 
KVM環境におけるネットワーク速度ベンチマーク
KVM環境におけるネットワーク速度ベンチマークKVM環境におけるネットワーク速度ベンチマーク
KVM環境におけるネットワーク速度ベンチマーク
VirtualTech Japan Inc.
 
Disaggregating Ceph using NVMeoF
Disaggregating Ceph using NVMeoFDisaggregating Ceph using NVMeoF
Disaggregating Ceph using NVMeoF
ShapeBlue
 
Maximizing EC2 and Elastic Block Store Disk Performance
Maximizing EC2 and Elastic Block Store Disk PerformanceMaximizing EC2 and Elastic Block Store Disk Performance
Maximizing EC2 and Elastic Block Store Disk Performance
Amazon Web Services
 
Openstackを200%活用するSDSの挑戦
Openstackを200%活用するSDSの挑戦Openstackを200%活用するSDSの挑戦
Openstackを200%活用するSDSの挑戦
Tomohiro Hirano
 
Decoupling Compute from Memory, Storage and IO with OMI
Decoupling Compute from Memory, Storage and IO with OMIDecoupling Compute from Memory, Storage and IO with OMI
Decoupling Compute from Memory, Storage and IO with OMI
Allan Cantle
 
Dynamic Scaling: How Apache Flink Adapts to Changing Workloads (at FlinkForwa...
Dynamic Scaling: How Apache Flink Adapts to Changing Workloads (at FlinkForwa...Dynamic Scaling: How Apache Flink Adapts to Changing Workloads (at FlinkForwa...
Dynamic Scaling: How Apache Flink Adapts to Changing Workloads (at FlinkForwa...
Till Rohrmann
 
深入淺出 Amazon Database Migration Service
深入淺出 Amazon Database Migration Service 深入淺出 Amazon Database Migration Service
深入淺出 Amazon Database Migration Service
Amazon Web Services
 
iostat await svctm の 見かた、考え方
iostat await svctm の 見かた、考え方iostat await svctm の 見かた、考え方
iostat await svctm の 見かた、考え方
歩 柴田
 
GraalVM を普通の Java VM として使う ~クラウドベンチマークなどでの比較~
GraalVM を普通の Java VM として使う ~クラウドベンチマークなどでの比較~GraalVM を普通の Java VM として使う ~クラウドベンチマークなどでの比較~
GraalVM を普通の Java VM として使う ~クラウドベンチマークなどでの比較~
Shinji Takao
 

What's hot (20)

Practical CephFS with nfs today using OpenStack Manila - Ceph Day Berlin - 12...
Practical CephFS with nfs today using OpenStack Manila - Ceph Day Berlin - 12...Practical CephFS with nfs today using OpenStack Manila - Ceph Day Berlin - 12...
Practical CephFS with nfs today using OpenStack Manila - Ceph Day Berlin - 12...
 
Fibre Channel 基礎講座
Fibre Channel 基礎講座Fibre Channel 基礎講座
Fibre Channel 基礎講座
 
Implementation & Comparison Of Rdma Over Ethernet
Implementation & Comparison Of Rdma Over EthernetImplementation & Comparison Of Rdma Over Ethernet
Implementation & Comparison Of Rdma Over Ethernet
 
[오픈소스컨설팅] 프로메테우스 모니터링 살펴보고 구성하기
[오픈소스컨설팅] 프로메테우스 모니터링 살펴보고 구성하기[오픈소스컨설팅] 프로메테우스 모니터링 살펴보고 구성하기
[오픈소스컨설팅] 프로메테우스 모니터링 살펴보고 구성하기
 
OpenStack Keystone with LDAP
OpenStack Keystone with LDAPOpenStack Keystone with LDAP
OpenStack Keystone with LDAP
 
Building Multi-Site and Multi-OpenStack Cloud with OpenStack Cascading
Building Multi-Site and Multi-OpenStack Cloud with OpenStack CascadingBuilding Multi-Site and Multi-OpenStack Cloud with OpenStack Cascading
Building Multi-Site and Multi-OpenStack Cloud with OpenStack Cascading
 
20220331_DSSA_MigrationToYugabyteDB
20220331_DSSA_MigrationToYugabyteDB20220331_DSSA_MigrationToYugabyteDB
20220331_DSSA_MigrationToYugabyteDB
 
Optimizing RocksDB for Open-Channel SSDs
Optimizing RocksDB for Open-Channel SSDsOptimizing RocksDB for Open-Channel SSDs
Optimizing RocksDB for Open-Channel SSDs
 
iptables 101- bottom-up
iptables 101- bottom-upiptables 101- bottom-up
iptables 101- bottom-up
 
“見てわかる” ファイバーチャネルSAN基礎講座(第2弾)~FC SAN設計における勘所とは?~
“見てわかる” ファイバーチャネルSAN基礎講座(第2弾)~FC SAN設計における勘所とは?~“見てわかる” ファイバーチャネルSAN基礎講座(第2弾)~FC SAN設計における勘所とは?~
“見てわかる” ファイバーチャネルSAN基礎講座(第2弾)~FC SAN設計における勘所とは?~
 
Wido den Hollander - 10 ways to break your Ceph cluster
Wido den Hollander - 10 ways to break your Ceph clusterWido den Hollander - 10 ways to break your Ceph cluster
Wido den Hollander - 10 ways to break your Ceph cluster
 
KVM環境におけるネットワーク速度ベンチマーク
KVM環境におけるネットワーク速度ベンチマークKVM環境におけるネットワーク速度ベンチマーク
KVM環境におけるネットワーク速度ベンチマーク
 
Disaggregating Ceph using NVMeoF
Disaggregating Ceph using NVMeoFDisaggregating Ceph using NVMeoF
Disaggregating Ceph using NVMeoF
 
Maximizing EC2 and Elastic Block Store Disk Performance
Maximizing EC2 and Elastic Block Store Disk PerformanceMaximizing EC2 and Elastic Block Store Disk Performance
Maximizing EC2 and Elastic Block Store Disk Performance
 
Openstackを200%活用するSDSの挑戦
Openstackを200%活用するSDSの挑戦Openstackを200%活用するSDSの挑戦
Openstackを200%活用するSDSの挑戦
 
Decoupling Compute from Memory, Storage and IO with OMI
Decoupling Compute from Memory, Storage and IO with OMIDecoupling Compute from Memory, Storage and IO with OMI
Decoupling Compute from Memory, Storage and IO with OMI
 
Dynamic Scaling: How Apache Flink Adapts to Changing Workloads (at FlinkForwa...
Dynamic Scaling: How Apache Flink Adapts to Changing Workloads (at FlinkForwa...Dynamic Scaling: How Apache Flink Adapts to Changing Workloads (at FlinkForwa...
Dynamic Scaling: How Apache Flink Adapts to Changing Workloads (at FlinkForwa...
 
深入淺出 Amazon Database Migration Service
深入淺出 Amazon Database Migration Service 深入淺出 Amazon Database Migration Service
深入淺出 Amazon Database Migration Service
 
iostat await svctm の 見かた、考え方
iostat await svctm の 見かた、考え方iostat await svctm の 見かた、考え方
iostat await svctm の 見かた、考え方
 
GraalVM を普通の Java VM として使う ~クラウドベンチマークなどでの比較~
GraalVM を普通の Java VM として使う ~クラウドベンチマークなどでの比較~GraalVM を普通の Java VM として使う ~クラウドベンチマークなどでの比較~
GraalVM を普通の Java VM として使う ~クラウドベンチマークなどでの比較~
 

Similar to Docker vs kvm

Direct Code Execution - LinuxCon Japan 2014
Direct Code Execution - LinuxCon Japan 2014Direct Code Execution - LinuxCon Japan 2014
Direct Code Execution - LinuxCon Japan 2014
Hajime Tazaki
 
You need Event Mesh, not Service Mesh - Chris Suszynski [WJUG 301]
You need Event Mesh, not Service Mesh - Chris Suszynski [WJUG 301]You need Event Mesh, not Service Mesh - Chris Suszynski [WJUG 301]
You need Event Mesh, not Service Mesh - Chris Suszynski [WJUG 301]
Chris Suszyński
 
KVM and docker LXC Benchmarking with OpenStack
KVM and docker LXC Benchmarking with OpenStackKVM and docker LXC Benchmarking with OpenStack
KVM and docker LXC Benchmarking with OpenStack
Boden Russell
 
Performance characteristics of traditional v ms vs docker containers (dockerc...
Performance characteristics of traditional v ms vs docker containers (dockerc...Performance characteristics of traditional v ms vs docker containers (dockerc...
Performance characteristics of traditional v ms vs docker containers (dockerc...
Boden Russell
 
DockerCon14 Performance Characteristics of Traditional VMs vs. Docker Containers
DockerCon14 Performance Characteristics of Traditional VMs vs. Docker ContainersDockerCon14 Performance Characteristics of Traditional VMs vs. Docker Containers
DockerCon14 Performance Characteristics of Traditional VMs vs. Docker Containers
Docker, Inc.
 
OSv at Cassandra Summit
OSv at Cassandra SummitOSv at Cassandra Summit
OSv at Cassandra Summit
Don Marti
 
Cassandra Summit 2014: Down with Tweaking! Removing Tunable Complexity for Ca...
Cassandra Summit 2014: Down with Tweaking! Removing Tunable Complexity for Ca...Cassandra Summit 2014: Down with Tweaking! Removing Tunable Complexity for Ca...
Cassandra Summit 2014: Down with Tweaking! Removing Tunable Complexity for Ca...
DataStax Academy
 
LXC – NextGen Virtualization for Cloud benefit realization (cloudexpo)
LXC – NextGen Virtualization for Cloud benefit realization (cloudexpo)LXC – NextGen Virtualization for Cloud benefit realization (cloudexpo)
LXC – NextGen Virtualization for Cloud benefit realization (cloudexpo)
Boden Russell
 
Docker tips-for-java-developers
Docker tips-for-java-developersDocker tips-for-java-developers
Docker tips-for-java-developers
Aparna Chaudhary
 
Uri Cohen & Dan Kilman, GigaSpaces - Orchestration Tool Roundup - OpenStack l...
Uri Cohen & Dan Kilman, GigaSpaces - Orchestration Tool Roundup - OpenStack l...Uri Cohen & Dan Kilman, GigaSpaces - Orchestration Tool Roundup - OpenStack l...
Uri Cohen & Dan Kilman, GigaSpaces - Orchestration Tool Roundup - OpenStack l...
Cloud Native Day Tel Aviv
 
Orchestration tool roundup kubernetes vs. docker vs. heat vs. terra form vs...
Orchestration tool roundup   kubernetes vs. docker vs. heat vs. terra form vs...Orchestration tool roundup   kubernetes vs. docker vs. heat vs. terra form vs...
Orchestration tool roundup kubernetes vs. docker vs. heat vs. terra form vs...
Nati Shalom
 
Container Performance Analysis Brendan Gregg, Netflix
Container Performance Analysis Brendan Gregg, NetflixContainer Performance Analysis Brendan Gregg, Netflix
Container Performance Analysis Brendan Gregg, Netflix
Docker, Inc.
 
Comparison of Open Source Virtualization Technology
Comparison of Open Source Virtualization TechnologyComparison of Open Source Virtualization Technology
Comparison of Open Source Virtualization Technology
Benoit des Ligneris
 
Container Performance Analysis
Container Performance AnalysisContainer Performance Analysis
Container Performance Analysis
Brendan Gregg
 
.NET Developer Days - So many Docker platforms, so little time...
.NET Developer Days - So many Docker platforms, so little time....NET Developer Days - So many Docker platforms, so little time...
.NET Developer Days - So many Docker platforms, so little time...
Michele Leroux Bustamante
 
Orchestration tool roundup - OpenStack Israel summit - kubernetes vs. docker...
Orchestration tool roundup  - OpenStack Israel summit - kubernetes vs. docker...Orchestration tool roundup  - OpenStack Israel summit - kubernetes vs. docker...
Orchestration tool roundup - OpenStack Israel summit - kubernetes vs. docker...
Uri Cohen
 
Artem Zhurbila - docker clusters (solit 2015)
Artem Zhurbila - docker clusters (solit 2015)Artem Zhurbila - docker clusters (solit 2015)
Artem Zhurbila - docker clusters (solit 2015)
Artem Zhurbila
 
Deep Dive on Amazon EC2 Instances (March 2017)
Deep Dive on Amazon EC2 Instances (March 2017)Deep Dive on Amazon EC2 Instances (March 2017)
Deep Dive on Amazon EC2 Instances (March 2017)
Julien SIMON
 
Adopting GraalVM - Scale by the Bay 2018
Adopting GraalVM - Scale by the Bay 2018Adopting GraalVM - Scale by the Bay 2018
Adopting GraalVM - Scale by the Bay 2018
Petr Zapletal
 
Dockerizing the Hard Services: Neutron and Nova
Dockerizing the Hard Services: Neutron and NovaDockerizing the Hard Services: Neutron and Nova
Dockerizing the Hard Services: Neutron and Nova
clayton_oneill
 

Similar to Docker vs kvm (20)

Direct Code Execution - LinuxCon Japan 2014
Direct Code Execution - LinuxCon Japan 2014Direct Code Execution - LinuxCon Japan 2014
Direct Code Execution - LinuxCon Japan 2014
 
You need Event Mesh, not Service Mesh - Chris Suszynski [WJUG 301]
You need Event Mesh, not Service Mesh - Chris Suszynski [WJUG 301]You need Event Mesh, not Service Mesh - Chris Suszynski [WJUG 301]
You need Event Mesh, not Service Mesh - Chris Suszynski [WJUG 301]
 
KVM and docker LXC Benchmarking with OpenStack
KVM and docker LXC Benchmarking with OpenStackKVM and docker LXC Benchmarking with OpenStack
KVM and docker LXC Benchmarking with OpenStack
 
Performance characteristics of traditional v ms vs docker containers (dockerc...
Performance characteristics of traditional v ms vs docker containers (dockerc...Performance characteristics of traditional v ms vs docker containers (dockerc...
Performance characteristics of traditional v ms vs docker containers (dockerc...
 
DockerCon14 Performance Characteristics of Traditional VMs vs. Docker Containers
DockerCon14 Performance Characteristics of Traditional VMs vs. Docker ContainersDockerCon14 Performance Characteristics of Traditional VMs vs. Docker Containers
DockerCon14 Performance Characteristics of Traditional VMs vs. Docker Containers
 
OSv at Cassandra Summit
OSv at Cassandra SummitOSv at Cassandra Summit
OSv at Cassandra Summit
 
Cassandra Summit 2014: Down with Tweaking! Removing Tunable Complexity for Ca...
Cassandra Summit 2014: Down with Tweaking! Removing Tunable Complexity for Ca...Cassandra Summit 2014: Down with Tweaking! Removing Tunable Complexity for Ca...
Cassandra Summit 2014: Down with Tweaking! Removing Tunable Complexity for Ca...
 
LXC – NextGen Virtualization for Cloud benefit realization (cloudexpo)
LXC – NextGen Virtualization for Cloud benefit realization (cloudexpo)LXC – NextGen Virtualization for Cloud benefit realization (cloudexpo)
LXC – NextGen Virtualization for Cloud benefit realization (cloudexpo)
 
Docker tips-for-java-developers
Docker tips-for-java-developersDocker tips-for-java-developers
Docker tips-for-java-developers
 
Uri Cohen & Dan Kilman, GigaSpaces - Orchestration Tool Roundup - OpenStack l...
Uri Cohen & Dan Kilman, GigaSpaces - Orchestration Tool Roundup - OpenStack l...Uri Cohen & Dan Kilman, GigaSpaces - Orchestration Tool Roundup - OpenStack l...
Uri Cohen & Dan Kilman, GigaSpaces - Orchestration Tool Roundup - OpenStack l...
 
Orchestration tool roundup kubernetes vs. docker vs. heat vs. terra form vs...
Orchestration tool roundup   kubernetes vs. docker vs. heat vs. terra form vs...Orchestration tool roundup   kubernetes vs. docker vs. heat vs. terra form vs...
Orchestration tool roundup kubernetes vs. docker vs. heat vs. terra form vs...
 
Container Performance Analysis Brendan Gregg, Netflix
Container Performance Analysis Brendan Gregg, NetflixContainer Performance Analysis Brendan Gregg, Netflix
Container Performance Analysis Brendan Gregg, Netflix
 
Comparison of Open Source Virtualization Technology
Comparison of Open Source Virtualization TechnologyComparison of Open Source Virtualization Technology
Comparison of Open Source Virtualization Technology
 
Container Performance Analysis
Container Performance AnalysisContainer Performance Analysis
Container Performance Analysis
 
.NET Developer Days - So many Docker platforms, so little time...
.NET Developer Days - So many Docker platforms, so little time....NET Developer Days - So many Docker platforms, so little time...
.NET Developer Days - So many Docker platforms, so little time...
 
Orchestration tool roundup - OpenStack Israel summit - kubernetes vs. docker...
Orchestration tool roundup  - OpenStack Israel summit - kubernetes vs. docker...Orchestration tool roundup  - OpenStack Israel summit - kubernetes vs. docker...
Orchestration tool roundup - OpenStack Israel summit - kubernetes vs. docker...
 
Artem Zhurbila - docker clusters (solit 2015)
Artem Zhurbila - docker clusters (solit 2015)Artem Zhurbila - docker clusters (solit 2015)
Artem Zhurbila - docker clusters (solit 2015)
 
Deep Dive on Amazon EC2 Instances (March 2017)
Deep Dive on Amazon EC2 Instances (March 2017)Deep Dive on Amazon EC2 Instances (March 2017)
Deep Dive on Amazon EC2 Instances (March 2017)
 
Adopting GraalVM - Scale by the Bay 2018
Adopting GraalVM - Scale by the Bay 2018Adopting GraalVM - Scale by the Bay 2018
Adopting GraalVM - Scale by the Bay 2018
 
Dockerizing the Hard Services: Neutron and Nova
Dockerizing the Hard Services: Neutron and NovaDockerizing the Hard Services: Neutron and Nova
Dockerizing the Hard Services: Neutron and Nova
 

Recently uploaded

制作原版1:1(Monash毕业证)莫纳什大学毕业证成绩单办理假
制作原版1:1(Monash毕业证)莫纳什大学毕业证成绩单办理假制作原版1:1(Monash毕业证)莫纳什大学毕业证成绩单办理假
制作原版1:1(Monash毕业证)莫纳什大学毕业证成绩单办理假
ukwwuq
 
manuaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaal
manuaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaalmanuaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaal
manuaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaal
wolfsoftcompanyco
 
学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作
学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作
学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作
zyfovom
 
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
uehowe
 
国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理
国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理
国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理
zoowe
 
重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
vmemo1
 
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC
 
可查真实(Monash毕业证)西澳大学毕业证成绩单退学买
可查真实(Monash毕业证)西澳大学毕业证成绩单退学买可查真实(Monash毕业证)西澳大学毕业证成绩单退学买
可查真实(Monash毕业证)西澳大学毕业证成绩单退学买
cuobya
 
成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理
成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理
成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理
ysasp1
 
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
CIOWomenMagazine
 
留学学历(UoA毕业证)奥克兰大学毕业证成绩单官方原版办理
留学学历(UoA毕业证)奥克兰大学毕业证成绩单官方原版办理留学学历(UoA毕业证)奥克兰大学毕业证成绩单官方原版办理
留学学历(UoA毕业证)奥克兰大学毕业证成绩单官方原版办理
bseovas
 
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
cuobya
 
[HUN][hackersuli] Red Teaming alapok 2024
[HUN][hackersuli] Red Teaming alapok 2024[HUN][hackersuli] Red Teaming alapok 2024
[HUN][hackersuli] Red Teaming alapok 2024
hackersuli
 
Understanding User Behavior with Google Analytics.pdf
Understanding User Behavior with Google Analytics.pdfUnderstanding User Behavior with Google Analytics.pdf
Understanding User Behavior with Google Analytics.pdf
SEO Article Boost
 
Gen Z and the marketplaces - let's translate their needs
Gen Z and the marketplaces - let's translate their needsGen Z and the marketplaces - let's translate their needs
Gen Z and the marketplaces - let's translate their needs
Laura Szabó
 
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
eutxy
 
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptxBridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Brad Spiegel Macon GA
 
办理新西兰奥克兰大学毕业证学位证书范本原版一模一样
办理新西兰奥克兰大学毕业证学位证书范本原版一模一样办理新西兰奥克兰大学毕业证学位证书范本原版一模一样
办理新西兰奥克兰大学毕业证学位证书范本原版一模一样
xjq03c34
 
Explore-Insanony: Watch Instagram Stories Secretly
Explore-Insanony: Watch Instagram Stories SecretlyExplore-Insanony: Watch Instagram Stories Secretly
Explore-Insanony: Watch Instagram Stories Secretly
Trending Blogers
 
存档可查的(USC毕业证)南加利福尼亚大学毕业证成绩单制做办理
存档可查的(USC毕业证)南加利福尼亚大学毕业证成绩单制做办理存档可查的(USC毕业证)南加利福尼亚大学毕业证成绩单制做办理
存档可查的(USC毕业证)南加利福尼亚大学毕业证成绩单制做办理
fovkoyb
 

Recently uploaded (20)

制作原版1:1(Monash毕业证)莫纳什大学毕业证成绩单办理假
制作原版1:1(Monash毕业证)莫纳什大学毕业证成绩单办理假制作原版1:1(Monash毕业证)莫纳什大学毕业证成绩单办理假
制作原版1:1(Monash毕业证)莫纳什大学毕业证成绩单办理假
 
manuaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaal
manuaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaalmanuaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaal
manuaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaal
 
学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作
学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作
学位认证网(DU毕业证)迪肯大学毕业证成绩单一比一原版制作
 
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
办理毕业证(UPenn毕业证)宾夕法尼亚大学毕业证成绩单快速办理
 
国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理
国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理
国外证书(Lincoln毕业证)新西兰林肯大学毕业证成绩单不能毕业办理
 
重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
重新申请毕业证书(RMIT毕业证)皇家墨尔本理工大学毕业证成绩单精仿办理
 
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
 
可查真实(Monash毕业证)西澳大学毕业证成绩单退学买
可查真实(Monash毕业证)西澳大学毕业证成绩单退学买可查真实(Monash毕业证)西澳大学毕业证成绩单退学买
可查真实(Monash毕业证)西澳大学毕业证成绩单退学买
 
成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理
成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理
成绩单ps(UST毕业证)圣托马斯大学毕业证成绩单快速办理
 
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
 
留学学历(UoA毕业证)奥克兰大学毕业证成绩单官方原版办理
留学学历(UoA毕业证)奥克兰大学毕业证成绩单官方原版办理留学学历(UoA毕业证)奥克兰大学毕业证成绩单官方原版办理
留学学历(UoA毕业证)奥克兰大学毕业证成绩单官方原版办理
 
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
假文凭国外(Adelaide毕业证)澳大利亚国立大学毕业证成绩单办理
 
[HUN][hackersuli] Red Teaming alapok 2024
[HUN][hackersuli] Red Teaming alapok 2024[HUN][hackersuli] Red Teaming alapok 2024
[HUN][hackersuli] Red Teaming alapok 2024
 
Understanding User Behavior with Google Analytics.pdf
Understanding User Behavior with Google Analytics.pdfUnderstanding User Behavior with Google Analytics.pdf
Understanding User Behavior with Google Analytics.pdf
 
Gen Z and the marketplaces - let's translate their needs
Gen Z and the marketplaces - let's translate their needsGen Z and the marketplaces - let's translate their needs
Gen Z and the marketplaces - let's translate their needs
 
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
 
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptxBridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
 
办理新西兰奥克兰大学毕业证学位证书范本原版一模一样
办理新西兰奥克兰大学毕业证学位证书范本原版一模一样办理新西兰奥克兰大学毕业证学位证书范本原版一模一样
办理新西兰奥克兰大学毕业证学位证书范本原版一模一样
 
Explore-Insanony: Watch Instagram Stories Secretly
Explore-Insanony: Watch Instagram Stories SecretlyExplore-Insanony: Watch Instagram Stories Secretly
Explore-Insanony: Watch Instagram Stories Secretly
 
存档可查的(USC毕业证)南加利福尼亚大学毕业证成绩单制做办理
存档可查的(USC毕业证)南加利福尼亚大学毕业证成绩单制做办理存档可查的(USC毕业证)南加利福尼亚大学毕业证成绩单制做办理
存档可查的(USC毕业证)南加利福尼亚大学毕业证成绩单制做办理
 

Docker vs kvm

  • 1. A  comparison  of  performance   between  KVM  and  Docker   instances  in  OpenStack High  Energy  Accelerator  Research  Organiza�on  (KEK),  Japan   1 HEPiX  Fall  2015  Workshop  at  BNL Wataru  Takase  
  • 2. KEK  site  will  become  Cloudy 2   Integrate  private  cloud  into  batch  service     Deploy  CVMFS  Stratum  0  and  1     Start  online  storage  service   Batch   scheduler Mediator Private  cloud Job Resource   request Request  for   launching   instances Resource  pool Launch   Instances WN WN WN WN Job Batch  worker  nodes WN WN WN WN CVMFS mount mount Resource   request Talk  focuses  on  this  part
  • 3. Performance  Inves�ga�on  of  Cloud   Is  virtual  machine  performance  good?     What  about  container  technology?     What  about  concurrency  impact  on   performance?     Measured  KVM  and  Docker  performance  in   OpenStack  by using  Rally   – Cloud  performance   – Instance  performance   3
  • 4. KVM?  Docker? 4 OpenStack  (IaaS) Docker  driver Libvirt  driver h�ps://www.docker.com/wha�sdocker Each  VM  runs  on  virtual  hardware Containers  share  host  kernel  and   hardware     KVM  :  VM  hypervisor     Docker  :  Container  manger Bare  Metal  Driver VMWare  Driver Xen  API  Driver
  • 5. What  is  Rally?   Benchmarking  tool  for   OpenStack     Generates  real  workload     Provides  more  than  100   test  scenarios:   –  Boot  server  and  migrate  it   –  Create  image  and  boot   server   –  Create  volume  and  a�ach   to  server   –  …   5 --- NovaServers.boot_and_delete_server: - args: image: name: ”centos-cloud:7.1" flavor: name: "m1.xsmall" min_sleep: 60 max_sleep: 60 runner: type: "constant" times: 32 concurrency: 32 context: users: tenants: 1 users_per_tenant: 32 Example_of_rally_benchmark_input.yaml
  • 6. Test  environment 6 Physical  server OS Kernel CPU CPU   cores RAM   (GB) Disk   (GB) OpenStack   controller   CentOS  7.1.1503 3.10.0-­‐229 Intel(R)  Xeon(R)  CPU   E5649  x2 24* 32 300 OpenStack   compute CentOS  7.1.1503 3.10.0-­‐229 Intel(R)  Xeon(R)  CPU   E5-­‐2630  v3  x2 32* 64 3800 Rally CentOS  7.1.1503 3.10.0-­‐229 AMD  Opteron(TM)   Processor  6212 8 16 1700 OS Kernel vCPU RAM   (GB) Disk   (GB) CentOS  7.1.1503 3.10.0-­‐229 1 1.8 10   OpenStack  Kilo  (RDO)     1  controller  +  1  compute  node     nova-­‐network     Rally  (2d874a7)     Sysbench  0.4.12   Instance  image  and  flavor *  HT  is  enabled
  • 7. Test  environment 7 File  system XFS  on  LVM  on  hardware  RAID  5 IO  scheduler Deadline Clocksource TSC QEMU 1.5.3 libvirt 1.2.8 Docker 1.6.2 Nova  Docker  driver nova-­‐docker  stable/kilo  (d556444) Image  format qcow2 Block  device  deriver VirtIO Cache  mode none File  system XFS Clocksource TSC Storage  driver OverlayFS Compute  node KVM Docker
  • 8. Benchmark  Scenarios 1.  Measure  cloud  performance   –  Boot  a  server  and  then  delete   2.  Measure  instance  performance   –  Boot  a  server  and  run  Sysbench  (test=cpu)   –  Boot  a  server  and  run  Sysbench  (test=memory,  memory-­‐oper=read)   –  Boot  a  server  and  run  Sysbench  (test=memory,  memory-­‐oper=write)   –  Boot  a  server  and  run  Sysbench  (test=fileio,  file-­‐test-­‐mode=seqrd)   –  Boot  a  server  and  run  Sysbench  (test=fileio,  file-­‐test-­‐mode=rndrd)   –  Boot  a  server  and  run  Sysbench  (test=fileio,  file-­‐test-­‐mode=seqwr)   –  Boot  a  server  and  run  Sysbench  (test=fileio,  file-­‐test-­‐mode=rndwr)     Each  scenario  launches  32  instances   –  Change  number  of  concurrent  requests  from  1  to  32   8
  • 9. Boot  a  server  and  then  delete 9 Building OpenStack Request x  32 Building OpenStack Request   Concurrent  requests:  32 Building Building Request Request ... ... Building Request   Concurrent  requests:    1 Wai�ng  for   ping,  ssh Networking   �me Ac�ve Wai�ng  for   ping,  ssh Networking   �me Wai�ng  for   ping,  ssh Wai�ng  for  ping,  ssh Wai�ng  for   ping,  ssh Wait   60  sec Dele�ng Dele�ng  �me Building  �me Wait   60  sec Wait   60  sec Wait   60  sec Wait   60  sec Dele�ng Dele�ng Dele�ng Dele�ng Dele�ng  �me Building  �me Deleted
  • 10. Build  a  server 10   At  high  concurrency  KVM  is  around  20%  be�er   N:  96   Error  bar:  SD
  • 11. 11 Wait  for  Networking Boot  OS   +  cloud-­‐init N:  96   Error  bar:  SD cloud-­‐init   + Start  sshd
  • 12. Building  +  Networking 12 N:  96   Error  bar:  SD
  • 13. 13 Delete  a  server N:  96   Error  bar:  SD
  • 14. Instance  Performance  Comparison 14 Wai�ng  for   ping,  ssh Building OpenStack Request x  32 Wai�ng  for   ping,  ssh Building OpenStack Request   Concurrent  requests:  32 Wai�ng  for   ping,  ssh Building Wai�ng  for   ping,  ssh Building Request Request ... ... Wai�ng  for   ping,  ssh Building Request   Concurrent  requests:  1 Sysbench Sysbench Sysbench Sysbench Sysbench Wait Measure   performance Dele�ng Wait Wait Wait Wait Dele�ng Dele�ng Measure   performance
  • 15. test=cpu,  cpu-­‐max-­‐prime=20000,  num-­‐ threads=1 15   At  low  concurrency  KVM  is  2-­‐7%  worse  than  na�ve     If  No.  of  concurrent  requests  >  2,  Docker  is  2%  worse  than   na�ve   N:  32   Error  bar:  SD
  • 16. 16   test=memory,  memory-­‐oper=read,  memory-­‐block-­‐size=1K,   memory-­‐total-­‐size=100G,  max-­‐�me=300,  num-­‐threads=1     test=memory,  memory-­‐oper=write,  memory-­‐block-­‐size=1K,   memory-­‐total-­‐size=100G,  max-­‐�me=300,  num-­‐threads=1     At  low  concurrency  KVM  is  3-­‐10%  worse  than  na�ve     Docker  is  2-­‐5%  worse  than  na�ve  (concurrent  requests:  1-­‐16)   N:  32   Error  bar:  SD
  • 17. 17   test=fileio,  file-­‐test-­‐mode=seqrd,  file-­‐block-­‐size=4K,  file-­‐total-­‐size=8G,  file-­‐ num=128,  file-­‐extra-­‐flags=direct,  max-­‐�me=300,  num-­‐threads=1     test=fileio,  file-­‐test-­‐mode=rndrd,  file-­‐block-­‐size=4K,  file-­‐total-­‐size=8G,  file-­‐ num=128,  file-­‐extra-­‐flags=direct,  max-­‐�me=300,  num-­‐threads=1     At  low  concurrency  KVM  sequen�al  read  is  60-­‐70%  worse  than  na�ve     KVM  random  read  is  several  %  worse  than  na�ve     Docker  achieves  na�ve  performance   N:  32   Error  bar:  SD
  • 18. 18   test=fileio,  file-­‐test-­‐mode=seqwr,  file-­‐block-­‐size=4K,  file-­‐total-­‐size=8G,  file-­‐ num=128,  file-­‐extra-­‐flags=direct,  max-­‐�me=300,  num-­‐threads=1     test=fileio,  file-­‐test-­‐mode=rndwr,  file-­‐block-­‐size=4K,  file-­‐total-­‐size=8G,  file-­‐ num=128,  file-­‐extra-­‐flags=direct,  max-­‐�me=300,  num-­‐threads=1     At  low  concurrency  KVM  is  70-­‐80%  worse  than  na�ve     In  the  case  of  single  request,  Docker  sequen�al  write  is  15%  worse  than  na�ve     Beside  that  Docker  achieves  almost  na�ve  performance   N:  32   Error  bar:  SD
  • 19. Summary  and  Conclusion 19   Cloud  performance  comparison   –  Docker  instance  becomes  ready  faster  than  KVM  (building  +  networking)     Instance  performance  comparison   –  CPU  and  memory  performance     Na�ve  >  Docker  >  KVM   –  KVM     File  IO  performance  is  poor  compared  to  na�ve   –  Docker     Read  performance  is  almost  the  same  as  na�ve     Write  performance  is  near  na�ve     Docker  seems  to  be  a  good  candidate  in  the  future   –  Nova-­‐docker  driver  lacks  some  features  and  has  some  bugs       More  inves�ga�on  is  needed   –  Security   –  Stability   –  Other  benchmarks  (network,  volume,  tuned  KVM)