狠狠撸

狠狠撸Share a Scribd company logo
Tpcc-MySQL 测试报告
一.环境
CPU: cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c
20 Intel(R) Xeon(R) CPU E5-2660 v2 @ 2.20GHz
MEM: free -m
total used free shared buffers cached
Mem: 32058 27415 4642 0 314 24201
-/+ buffers/cache: 2898 29159
Swap: 8191 5 8186
disk: sata(raid 1+0),ShannonDisk(1.2T),fushion io(400G)
MariaDB: select VERSION();
+-----------------+
| VERSION() |
+-----------------+
| 10.0.13-MariaDB |
+-----------------+
1 row in set (0.00 sec)
mount file system : mount -o noatime,barrier=0
numa off: numactl –interleave=all
swap : vm.swappiness = 0
二.iops 测试
工具:oracle 官方 IO 测试工具 orion
测试模式:OLTP 类型,4K 随即读写,压力从小到大
./orion_linux_x86-64 -run advanced -testname test -num_disks 1 -size_small 4 -size_large 4 -type
rand
压测结果:
三. Tpcc-MySQL 测试
工具: Percona Tpcc-MySQL 压力测试工具
测试模式: warehouses 1000
测试时间:3600 秒 预热 10 秒
线程:16 32 64 96 128 256 512
普通 SATA 盘,ShannonDisk,fushion io 测试图如下:
Tpcc mysql
四.结论
从测试结果来看,flash 卡对于 IO 的提升对比普通的 SATA 盘来说是非常巨大的。相对于 ShannonDisk
和 fushion io 的卡来说,由于测试的两块卡,不同的容量,存在性能差异,ShannonDisk 的极限 TpmC
非常的高,但是由于 ShannonDisk 的运算模块等都会占用 CPU,所以存在比较大的抖动,而 fushion io
哪怕在多线程的情况下,都非常的稳定。而 800G 的 fushion io 对于 400G 的性能会提升在 30%,个人
比较推荐 fushion io 800G

More Related Content

What's hot (19)

用Raspberry Pi 完成一個智慧型六足機器人
用Raspberry Pi 完成一個智慧型六足機器人用Raspberry Pi 完成一個智慧型六足機器人
用Raspberry Pi 完成一個智慧型六足機器人
艾鍗科技
?
揭秘家用路由器Ch10 sharing
揭秘家用路由器Ch10 sharing揭秘家用路由器Ch10 sharing
揭秘家用路由器Ch10 sharing
Yi-Jun Zheng
?
Altibase管理培训 安装篇
Altibase管理培训 安装篇Altibase管理培训 安装篇
Altibase管理培训 安装篇
小新 制造
?
Ipaq with linux
Ipaq with linuxIpaq with linux
Ipaq with linux
descent Sung
?
Installation and configuration 11g r2 asm using job role separation(grid & or...
Installation and configuration 11g r2 asm using job role separation(grid & or...Installation and configuration 11g r2 asm using job role separation(grid & or...
Installation and configuration 11g r2 asm using job role separation(grid & or...
Zhaoyang Wang
?
Linuxguide4f2e
Linuxguide4f2eLinuxguide4f2e
Linuxguide4f2e
tb-vertical-guide
?
Introduction to synchronous display controller (chinese)
Introduction to synchronous display controller (chinese)Introduction to synchronous display controller (chinese)
Introduction to synchronous display controller (chinese)
Sneeker Yeh
?
础辫补肠丑别+辫丑辫+尘测蝉辩濒在尝颈苍耻虫下的安装与配置
础辫补肠丑别+辫丑辫+尘测蝉辩濒在尝颈苍耻虫下的安装与配置础辫补肠丑别+辫丑辫+尘测蝉辩濒在尝颈苍耻虫下的安装与配置
础辫补肠丑别+辫丑辫+尘测蝉辩濒在尝颈苍耻虫下的安装与配置
wensheng wei
?
Linux network monitoring hands-on pratice
Linux network monitoring hands-on praticeLinux network monitoring hands-on pratice
Linux network monitoring hands-on pratice
Kenny (netman)
?
My fox 扩容与数据迁移
My fox 扩容与数据迁移My fox 扩容与数据迁移
My fox 扩容与数据迁移
aleafs
?
Musicha 音創筆電試玩坊-在新竹碼農
Musicha 音創筆電試玩坊-在新竹碼農 Musicha 音創筆電試玩坊-在新竹碼農
Musicha 音創筆電試玩坊-在新竹碼農
Shoichi Chou
?
Infiniflash benchmark
Infiniflash benchmarkInfiniflash benchmark
Infiniflash benchmark
Louis liu
?
Phoenix Phdebug
Phoenix PhdebugPhoenix Phdebug
Phoenix Phdebug
jainfug
?
Split lock
Split lockSplit lock
Split lock
yang peng
?
Mysql基于ssd flashcache实践
Mysql基于ssd flashcache实践Mysql基于ssd flashcache实践
Mysql基于ssd flashcache实践
gettyying
?
Sun jdk 1.6 gc
Sun jdk 1.6 gcSun jdk 1.6 gc
Sun jdk 1.6 gc
bluedavy lin
?
用Raspberry Pi 完成一個智慧型六足機器人
用Raspberry Pi 完成一個智慧型六足機器人用Raspberry Pi 完成一個智慧型六足機器人
用Raspberry Pi 完成一個智慧型六足機器人
艾鍗科技
?
揭秘家用路由器Ch10 sharing
揭秘家用路由器Ch10 sharing揭秘家用路由器Ch10 sharing
揭秘家用路由器Ch10 sharing
Yi-Jun Zheng
?
Altibase管理培训 安装篇
Altibase管理培训 安装篇Altibase管理培训 安装篇
Altibase管理培训 安装篇
小新 制造
?
Installation and configuration 11g r2 asm using job role separation(grid & or...
Installation and configuration 11g r2 asm using job role separation(grid & or...Installation and configuration 11g r2 asm using job role separation(grid & or...
Installation and configuration 11g r2 asm using job role separation(grid & or...
Zhaoyang Wang
?
Introduction to synchronous display controller (chinese)
Introduction to synchronous display controller (chinese)Introduction to synchronous display controller (chinese)
Introduction to synchronous display controller (chinese)
Sneeker Yeh
?
础辫补肠丑别+辫丑辫+尘测蝉辩濒在尝颈苍耻虫下的安装与配置
础辫补肠丑别+辫丑辫+尘测蝉辩濒在尝颈苍耻虫下的安装与配置础辫补肠丑别+辫丑辫+尘测蝉辩濒在尝颈苍耻虫下的安装与配置
础辫补肠丑别+辫丑辫+尘测蝉辩濒在尝颈苍耻虫下的安装与配置
wensheng wei
?
Linux network monitoring hands-on pratice
Linux network monitoring hands-on praticeLinux network monitoring hands-on pratice
Linux network monitoring hands-on pratice
Kenny (netman)
?
My fox 扩容与数据迁移
My fox 扩容与数据迁移My fox 扩容与数据迁移
My fox 扩容与数据迁移
aleafs
?
Musicha 音創筆電試玩坊-在新竹碼農
Musicha 音創筆電試玩坊-在新竹碼農 Musicha 音創筆電試玩坊-在新竹碼農
Musicha 音創筆電試玩坊-在新竹碼農
Shoichi Chou
?
Infiniflash benchmark
Infiniflash benchmarkInfiniflash benchmark
Infiniflash benchmark
Louis liu
?
Phoenix Phdebug
Phoenix PhdebugPhoenix Phdebug
Phoenix Phdebug
jainfug
?
Mysql基于ssd flashcache实践
Mysql基于ssd flashcache实践Mysql基于ssd flashcache实践
Mysql基于ssd flashcache实践
gettyying
?

Viewers also liked (20)

Five Questions To Ask About Social Media ROI
Five Questions To Ask About Social Media ROIFive Questions To Ask About Social Media ROI
Five Questions To Ask About Social Media ROI
Andrew Jenkins
?
West Virginia- Kendall and Chloe
West Virginia- Kendall and ChloeWest Virginia- Kendall and Chloe
West Virginia- Kendall and Chloe
klei8103
?
??????????
????????????????????
??????????
ikwanz
?
Letter to louise
Letter to louiseLetter to louise
Letter to louise
H Barbosa
?
Timbales_狠狠撸show
Timbales_狠狠撸showTimbales_狠狠撸show
Timbales_狠狠撸show
eglantinesarrasin
?
Magazine cover
Magazine coverMagazine cover
Magazine cover
JamesTredinnick
?
Yo leoYo leo
Yo leo
Lauratope3
?
????? ???? ????? ???????
????? ???? ????? ???????????? ???? ????? ???????
????? ???? ????? ???????
Nabil Akbar
?
Recipes OnDemand
Recipes OnDemandRecipes OnDemand
Recipes OnDemand
sudderth1
?
Presentation
PresentationPresentation
Presentation
Stephen-T
?
Andrea Stephania Betancur Granda
Andrea Stephania Betancur GrandaAndrea Stephania Betancur Granda
Andrea Stephania Betancur Granda
Andreea Stephania
?
Louisiana-Shelby and Isatu
Louisiana-Shelby and Isatu Louisiana-Shelby and Isatu
Louisiana-Shelby and Isatu
klei8103
?
Farsi in quattro n 3 marzo 2010
Farsi in quattro n 3 marzo 2010Farsi in quattro n 3 marzo 2010
Farsi in quattro n 3 marzo 2010
giorgiocorradi
?
Company overview
Company overviewCompany overview
Company overview
Pwhelan
?
South Carolina- Angel
South Carolina- AngelSouth Carolina- Angel
South Carolina- Angel
klei8103
?
Historical Images of the SunHistorical Images of the Sun
Historical Images of the Sun
Hanna Sathiapal, fingertip hands-on science
?
Para hablar de amor - paintings
 Para hablar de amor - paintings Para hablar de amor - paintings
Para hablar de amor - paintings
Makala (D)
?
Cas n° 002 2017-grell-02Cas n° 002 2017-grell-02
Cas n° 002 2017-grell-02
Oscar Loloy Lopez
?
Facts on Ebola Virus Outbreak: Symptoms and Prevention Tips
Facts on Ebola Virus Outbreak: Symptoms and Prevention TipsFacts on Ebola Virus Outbreak: Symptoms and Prevention Tips
Facts on Ebola Virus Outbreak: Symptoms and Prevention Tips
Owich Ben
?
Five Questions To Ask About Social Media ROI
Five Questions To Ask About Social Media ROIFive Questions To Ask About Social Media ROI
Five Questions To Ask About Social Media ROI
Andrew Jenkins
?
West Virginia- Kendall and Chloe
West Virginia- Kendall and ChloeWest Virginia- Kendall and Chloe
West Virginia- Kendall and Chloe
klei8103
?
??????????
????????????????????
??????????
ikwanz
?
Letter to louise
Letter to louiseLetter to louise
Letter to louise
H Barbosa
?
Yo leoYo leo
Yo leo
Lauratope3
?
????? ???? ????? ???????
????? ???? ????? ???????????? ???? ????? ???????
????? ???? ????? ???????
Nabil Akbar
?
Recipes OnDemand
Recipes OnDemandRecipes OnDemand
Recipes OnDemand
sudderth1
?
Andrea Stephania Betancur Granda
Andrea Stephania Betancur GrandaAndrea Stephania Betancur Granda
Andrea Stephania Betancur Granda
Andreea Stephania
?
Louisiana-Shelby and Isatu
Louisiana-Shelby and Isatu Louisiana-Shelby and Isatu
Louisiana-Shelby and Isatu
klei8103
?
Farsi in quattro n 3 marzo 2010
Farsi in quattro n 3 marzo 2010Farsi in quattro n 3 marzo 2010
Farsi in quattro n 3 marzo 2010
giorgiocorradi
?
Company overview
Company overviewCompany overview
Company overview
Pwhelan
?
South Carolina- Angel
South Carolina- AngelSouth Carolina- Angel
South Carolina- Angel
klei8103
?
Historical Images of the SunHistorical Images of the Sun
Historical Images of the Sun
Hanna Sathiapal, fingertip hands-on science
?
Para hablar de amor - paintings
 Para hablar de amor - paintings Para hablar de amor - paintings
Para hablar de amor - paintings
Makala (D)
?
Cas n° 002 2017-grell-02Cas n° 002 2017-grell-02
Cas n° 002 2017-grell-02
Oscar Loloy Lopez
?
Facts on Ebola Virus Outbreak: Symptoms and Prevention Tips
Facts on Ebola Virus Outbreak: Symptoms and Prevention TipsFacts on Ebola Virus Outbreak: Symptoms and Prevention Tips
Facts on Ebola Virus Outbreak: Symptoms and Prevention Tips
Owich Ben
?

Similar to Tpcc mysql (20)

Dbabc.net 利用heartbeat + drbd搭建my sql高可用环境
Dbabc.net 利用heartbeat + drbd搭建my sql高可用环境Dbabc.net 利用heartbeat + drbd搭建my sql高可用环境
Dbabc.net 利用heartbeat + drbd搭建my sql高可用环境
dbabc
?
贬补诲辞辞辫+蝉辫补谤办实作
贬补诲辞辞辫+蝉辫补谤办实作贬补诲辞辞辫+蝉辫补谤办实作
贬补诲辞辞辫+蝉辫补谤办实作
FEG
?
第11讲 管理Cisco互联网络
第11讲 管理Cisco互联网络第11讲 管理Cisco互联网络
第11讲 管理Cisco互联网络
F.l. Yu
?
S3C44B0 User Guide
S3C44B0 User GuideS3C44B0 User Guide
S3C44B0 User Guide
phantoxe
?
S3C44B0 User Guide
S3C44B0 User GuideS3C44B0 User Guide
S3C44B0 User Guide
phantoxe
?
罢辞办测辞系列介绍(一)
罢辞办测辞系列介绍(一)罢辞办测辞系列介绍(一)
罢辞办测辞系列介绍(一)
jiandong yang
?
Java Crash分析(2012-05-10)
Java Crash分析(2012-05-10)Java Crash分析(2012-05-10)
Java Crash分析(2012-05-10)
Kris Mok
?
MySQL 6.0 下的cluster + replicate - 20080220
MySQL 6.0 下的cluster + replicate - 20080220MySQL 6.0 下的cluster + replicate - 20080220
MySQL 6.0 下的cluster + replicate - 20080220
Jinrong Ye
?
Sun jdk 1.6内存管理 -使用篇
Sun jdk 1.6内存管理 -使用篇Sun jdk 1.6内存管理 -使用篇
Sun jdk 1.6内存管理 -使用篇
bluedavy lin
?
Oracle10g Rac Configuration For Linux X86
Oracle10g Rac Configuration For Linux X86Oracle10g Rac Configuration For Linux X86
Oracle10g Rac Configuration For Linux X86
dbabc
?
九州通小型机扩痴驳大小(20090416)
九州通小型机扩痴驳大小(20090416)九州通小型机扩痴驳大小(20090416)
九州通小型机扩痴驳大小(20090416)
heima911
?
分会场二Storage foundation 中的多通道技术
分会场二Storage foundation 中的多通道技术分会场二Storage foundation 中的多通道技术
分会场二Storage foundation 中的多通道技术
ITband
?
础颈虫操作系统培训文档
础颈虫操作系统培训文档础颈虫操作系统培训文档
础颈虫操作系统培训文档
lwj2012
?
九州通 Tsm重新配置文档(2008 11 10)
九州通 Tsm重新配置文档(2008 11 10)九州通 Tsm重新配置文档(2008 11 10)
九州通 Tsm重新配置文档(2008 11 10)
heima911
?
九州通 Tsm重新配置文档(2008 11 10)
九州通 Tsm重新配置文档(2008 11 10)九州通 Tsm重新配置文档(2008 11 10)
九州通 Tsm重新配置文档(2008 11 10)
heima911
?
尚观Linux研究室 linux驱动程序全解析
尚观Linux研究室   linux驱动程序全解析尚观Linux研究室   linux驱动程序全解析
尚观Linux研究室 linux驱动程序全解析
hangejnu
?
0118 Windows Server 2008 的伺服器核心 (Server Core)
0118 Windows Server 2008 的伺服器核心 (Server Core)0118 Windows Server 2008 的伺服器核心 (Server Core)
0118 Windows Server 2008 的伺服器核心 (Server Core)
Timothy Chen
?
惭测蝉辩濒集群
惭测蝉辩濒集群惭测蝉辩濒集群
惭测蝉辩濒集群
colderboy17
?
如何应用罢肠辫诲耻尘辫分析应用性能
如何应用罢肠辫诲耻尘辫分析应用性能如何应用罢肠辫诲耻尘辫分析应用性能
如何应用罢肠辫诲耻尘辫分析应用性能
穆 成
?
Dbabc.net 利用heartbeat + drbd搭建my sql高可用环境
Dbabc.net 利用heartbeat + drbd搭建my sql高可用环境Dbabc.net 利用heartbeat + drbd搭建my sql高可用环境
Dbabc.net 利用heartbeat + drbd搭建my sql高可用环境
dbabc
?
贬补诲辞辞辫+蝉辫补谤办实作
贬补诲辞辞辫+蝉辫补谤办实作贬补诲辞辞辫+蝉辫补谤办实作
贬补诲辞辞辫+蝉辫补谤办实作
FEG
?
第11讲 管理Cisco互联网络
第11讲 管理Cisco互联网络第11讲 管理Cisco互联网络
第11讲 管理Cisco互联网络
F.l. Yu
?
S3C44B0 User Guide
S3C44B0 User GuideS3C44B0 User Guide
S3C44B0 User Guide
phantoxe
?
S3C44B0 User Guide
S3C44B0 User GuideS3C44B0 User Guide
S3C44B0 User Guide
phantoxe
?
罢辞办测辞系列介绍(一)
罢辞办测辞系列介绍(一)罢辞办测辞系列介绍(一)
罢辞办测辞系列介绍(一)
jiandong yang
?
Java Crash分析(2012-05-10)
Java Crash分析(2012-05-10)Java Crash分析(2012-05-10)
Java Crash分析(2012-05-10)
Kris Mok
?
MySQL 6.0 下的cluster + replicate - 20080220
MySQL 6.0 下的cluster + replicate - 20080220MySQL 6.0 下的cluster + replicate - 20080220
MySQL 6.0 下的cluster + replicate - 20080220
Jinrong Ye
?
Sun jdk 1.6内存管理 -使用篇
Sun jdk 1.6内存管理 -使用篇Sun jdk 1.6内存管理 -使用篇
Sun jdk 1.6内存管理 -使用篇
bluedavy lin
?
Oracle10g Rac Configuration For Linux X86
Oracle10g Rac Configuration For Linux X86Oracle10g Rac Configuration For Linux X86
Oracle10g Rac Configuration For Linux X86
dbabc
?
九州通小型机扩痴驳大小(20090416)
九州通小型机扩痴驳大小(20090416)九州通小型机扩痴驳大小(20090416)
九州通小型机扩痴驳大小(20090416)
heima911
?
分会场二Storage foundation 中的多通道技术
分会场二Storage foundation 中的多通道技术分会场二Storage foundation 中的多通道技术
分会场二Storage foundation 中的多通道技术
ITband
?
础颈虫操作系统培训文档
础颈虫操作系统培训文档础颈虫操作系统培训文档
础颈虫操作系统培训文档
lwj2012
?
九州通 Tsm重新配置文档(2008 11 10)
九州通 Tsm重新配置文档(2008 11 10)九州通 Tsm重新配置文档(2008 11 10)
九州通 Tsm重新配置文档(2008 11 10)
heima911
?
九州通 Tsm重新配置文档(2008 11 10)
九州通 Tsm重新配置文档(2008 11 10)九州通 Tsm重新配置文档(2008 11 10)
九州通 Tsm重新配置文档(2008 11 10)
heima911
?
尚观Linux研究室 linux驱动程序全解析
尚观Linux研究室   linux驱动程序全解析尚观Linux研究室   linux驱动程序全解析
尚观Linux研究室 linux驱动程序全解析
hangejnu
?
0118 Windows Server 2008 的伺服器核心 (Server Core)
0118 Windows Server 2008 的伺服器核心 (Server Core)0118 Windows Server 2008 的伺服器核心 (Server Core)
0118 Windows Server 2008 的伺服器核心 (Server Core)
Timothy Chen
?
惭测蝉辩濒集群
惭测蝉辩濒集群惭测蝉辩濒集群
惭测蝉辩濒集群
colderboy17
?
如何应用罢肠辫诲耻尘辫分析应用性能
如何应用罢肠辫诲耻尘辫分析应用性能如何应用罢肠辫诲耻尘辫分析应用性能
如何应用罢肠辫诲耻尘辫分析应用性能
穆 成
?

Tpcc mysql

  • 1. Tpcc-MySQL 测试报告 一.环境 CPU: cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c 20 Intel(R) Xeon(R) CPU E5-2660 v2 @ 2.20GHz MEM: free -m total used free shared buffers cached Mem: 32058 27415 4642 0 314 24201 -/+ buffers/cache: 2898 29159 Swap: 8191 5 8186 disk: sata(raid 1+0),ShannonDisk(1.2T),fushion io(400G) MariaDB: select VERSION(); +-----------------+ | VERSION() | +-----------------+ | 10.0.13-MariaDB | +-----------------+ 1 row in set (0.00 sec) mount file system : mount -o noatime,barrier=0 numa off: numactl –interleave=all swap : vm.swappiness = 0 二.iops 测试 工具:oracle 官方 IO 测试工具 orion 测试模式:OLTP 类型,4K 随即读写,压力从小到大 ./orion_linux_x86-64 -run advanced -testname test -num_disks 1 -size_small 4 -size_large 4 -type rand 压测结果:
  • 2. 三. Tpcc-MySQL 测试 工具: Percona Tpcc-MySQL 压力测试工具 测试模式: warehouses 1000 测试时间:3600 秒 预热 10 秒 线程:16 32 64 96 128 256 512 普通 SATA 盘,ShannonDisk,fushion io 测试图如下:
  • 4. 四.结论 从测试结果来看,flash 卡对于 IO 的提升对比普通的 SATA 盘来说是非常巨大的。相对于 ShannonDisk 和 fushion io 的卡来说,由于测试的两块卡,不同的容量,存在性能差异,ShannonDisk 的极限 TpmC 非常的高,但是由于 ShannonDisk 的运算模块等都会占用 CPU,所以存在比较大的抖动,而 fushion io 哪怕在多线程的情况下,都非常的稳定。而 800G 的 fushion io 对于 400G 的性能会提升在 30%,个人 比较推荐 fushion io 800G