SlideShare a Scribd company logo
1 of 4
Download to read offline
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 测试图如下:
四.结论
从测试结果来看,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

用Raspberry Pi 完成一個智慧型六足機器人
用Raspberry Pi 完成一個智慧型六足機器人用Raspberry Pi 完成一個智慧型六足機器人
用Raspberry Pi 完成一個智慧型六足機器人艾鍗科技
 
揭秘家用路由器Ch10 sharing
揭秘家用路由器Ch10 sharing揭秘家用路由器Ch10 sharing
揭秘家用路由器Ch10 sharingYi-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
 
OpenRISC whsap
OpenRISC whsapOpenRISC whsap
OpenRISC whsap柏毅 李
 
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
 
Apache+php+mysql在Linux下的安装与配置
Apache+php+mysql在Linux下的安装与配置Apache+php+mysql在Linux下的安装与配置
Apache+php+mysql在Linux下的安装与配置wensheng wei
 
Linux network monitoring hands-on pratice
Linux network monitoring hands-on praticeLinux network monitoring hands-on pratice
Linux network monitoring hands-on praticeKenny (netman)
 
My fox 扩容与数据迁移
My fox 扩容与数据迁移My fox 扩容与数据迁移
My fox 扩容与数据迁移aleafs
 
Musicha 音創筆電試玩坊-在新竹碼農
Musicha 音創筆電試玩坊-在新竹碼農 Musicha 音創筆電試玩坊-在新竹碼農
Musicha 音創筆電試玩坊-在新竹碼農 Shoichi Chou
 
Infiniflash benchmark
Infiniflash benchmarkInfiniflash benchmark
Infiniflash benchmarkLouis liu
 
Phoenix Phdebug
Phoenix PhdebugPhoenix Phdebug
Phoenix Phdebugjainfug
 
Mysql基于ssd flashcache实践
Mysql基于ssd flashcache实践Mysql基于ssd flashcache实践
Mysql基于ssd flashcache实践gettyying
 

What's hot (19)

用Raspberry Pi 完成一個智慧型六足機器人
用Raspberry Pi 完成一個智慧型六足機器人用Raspberry Pi 完成一個智慧型六足機器人
用Raspberry Pi 完成一個智慧型六足機器人
 
18 cpu02
18 cpu0218 cpu02
18 cpu02
 
揭秘家用路由器Ch10 sharing
揭秘家用路由器Ch10 sharing揭秘家用路由器Ch10 sharing
揭秘家用路由器Ch10 sharing
 
Altibase管理培训 安装篇
Altibase管理培训 安装篇Altibase管理培训 安装篇
Altibase管理培训 安装篇
 
Ipaq with linux
Ipaq with linuxIpaq with linux
Ipaq with linux
 
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...
 
OpenRISC whsap
OpenRISC whsapOpenRISC whsap
OpenRISC whsap
 
Linuxguide4f2e
Linuxguide4f2eLinuxguide4f2e
Linuxguide4f2e
 
Introduction to synchronous display controller (chinese)
Introduction to synchronous display controller (chinese)Introduction to synchronous display controller (chinese)
Introduction to synchronous display controller (chinese)
 
Apache+php+mysql在Linux下的安装与配置
Apache+php+mysql在Linux下的安装与配置Apache+php+mysql在Linux下的安装与配置
Apache+php+mysql在Linux下的安装与配置
 
Linux network monitoring hands-on pratice
Linux network monitoring hands-on praticeLinux network monitoring hands-on pratice
Linux network monitoring hands-on pratice
 
My fox 扩容与数据迁移
My fox 扩容与数据迁移My fox 扩容与数据迁移
My fox 扩容与数据迁移
 
Cent os
Cent osCent os
Cent os
 
Musicha 音創筆電試玩坊-在新竹碼農
Musicha 音創筆電試玩坊-在新竹碼農 Musicha 音創筆電試玩坊-在新竹碼農
Musicha 音創筆電試玩坊-在新竹碼農
 
Infiniflash benchmark
Infiniflash benchmarkInfiniflash benchmark
Infiniflash benchmark
 
Phoenix Phdebug
Phoenix PhdebugPhoenix Phdebug
Phoenix Phdebug
 
Split lock
Split lockSplit lock
Split lock
 
Mysql基于ssd flashcache实践
Mysql基于ssd flashcache实践Mysql基于ssd flashcache实践
Mysql基于ssd flashcache实践
 
Sun jdk 1.6 gc
Sun jdk 1.6 gcSun jdk 1.6 gc
Sun jdk 1.6 gc
 

Viewers also liked

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 ROIAndrew Jenkins
 
West Virginia- Kendall and Chloe
West Virginia- Kendall and ChloeWest Virginia- Kendall and Chloe
West Virginia- Kendall and Chloeklei8103
 
สังคมศึกษา
สังคมศึกษาสังคมศึกษา
สังคมศึกษาikwanz
 
Letter to louise
Letter to louiseLetter to louise
Letter to louiseH Barbosa
 
تفسير جديد لسورة الصافات
تفسير جديد لسورة الصافاتتفسير جديد لسورة الصافات
تفسير جديد لسورة الصافاتNabil Akbar
 
Recipes OnDemand
Recipes OnDemandRecipes OnDemand
Recipes OnDemandsudderth1
 
挺社團全集
挺社團全集挺社團全集
挺社團全集shanihuang
 
Presentation
PresentationPresentation
PresentationStephen-T
 
Andrea Stephania Betancur Granda
Andrea Stephania Betancur GrandaAndrea Stephania Betancur Granda
Andrea Stephania Betancur GrandaAndreea 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 2010giorgiocorradi
 
Company overview
Company overviewCompany overview
Company overviewPwhelan
 
South Carolina- Angel
South Carolina- AngelSouth Carolina- Angel
South Carolina- Angelklei8103
 
Para hablar de amor - paintings
 Para hablar de amor - paintings Para hablar de amor - paintings
Para hablar de amor - paintingsMakala (D)
 
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 TipsOwich Ben
 

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
 
West Virginia- Kendall and Chloe
West Virginia- Kendall and ChloeWest Virginia- Kendall and Chloe
West Virginia- Kendall and Chloe
 
สังคมศึกษา
สังคมศึกษาสังคมศึกษา
สังคมศึกษา
 
Letter to louise
Letter to louiseLetter to louise
Letter to louise
 
Timbales_Slideshow
Timbales_SlideshowTimbales_Slideshow
Timbales_Slideshow
 
Magazine cover
Magazine coverMagazine cover
Magazine cover
 
Yo leo
Yo leoYo leo
Yo leo
 
تفسير جديد لسورة الصافات
تفسير جديد لسورة الصافاتتفسير جديد لسورة الصافات
تفسير جديد لسورة الصافات
 
Recipes OnDemand
Recipes OnDemandRecipes OnDemand
Recipes OnDemand
 
挺社團全集
挺社團全集挺社團全集
挺社團全集
 
Presentation
PresentationPresentation
Presentation
 
Andrea Stephania Betancur Granda
Andrea Stephania Betancur GrandaAndrea Stephania Betancur Granda
Andrea Stephania Betancur Granda
 
Louisiana-Shelby and Isatu
Louisiana-Shelby and Isatu Louisiana-Shelby and Isatu
Louisiana-Shelby and Isatu
 
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
 
Company overview
Company overviewCompany overview
Company overview
 
South Carolina- Angel
South Carolina- AngelSouth Carolina- Angel
South Carolina- Angel
 
Historical Images of the Sun
Historical Images of the SunHistorical Images of the Sun
Historical Images of the Sun
 
Para hablar de amor - paintings
 Para hablar de amor - paintings Para hablar de amor - paintings
Para hablar de amor - paintings
 
Cas n° 002 2017-grell-02
Cas n° 002 2017-grell-02Cas n° 002 2017-grell-02
Cas n° 002 2017-grell-02
 
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
 

Similar to Tpcc mysql

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
 
Hadoop+spark實作
Hadoop+spark實作Hadoop+spark實作
Hadoop+spark實作FEG
 
第11讲 管理Cisco互联网络
第11讲 管理Cisco互联网络第11讲 管理Cisco互联网络
第11讲 管理Cisco互联网络F.l. Yu
 
S3C44B0 User Guide
S3C44B0 User GuideS3C44B0 User Guide
S3C44B0 User Guidephantoxe
 
S3C44B0 User Guide
S3C44B0 User GuideS3C44B0 User Guide
S3C44B0 User Guidephantoxe
 
Tokyo系列介绍(一)
Tokyo系列介绍(一)Tokyo系列介绍(一)
Tokyo系列介绍(一)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 - 20080220Jinrong 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 X86dbabc
 
九州通小型机扩Vg大小(20090416)
九州通小型机扩Vg大小(20090416)九州通小型机扩Vg大小(20090416)
九州通小型机扩Vg大小(20090416)heima911
 
分会场二Storage foundation 中的多通道技术
分会场二Storage foundation 中的多通道技术分会场二Storage foundation 中的多通道技术
分会场二Storage foundation 中的多通道技术ITband
 
Aix操作系统培训文档
Aix操作系统培训文档Aix操作系统培训文档
Aix操作系统培训文档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
 
如何应用Tcpdump分析应用性能
如何应用Tcpdump分析应用性能如何应用Tcpdump分析应用性能
如何应用Tcpdump分析应用性能穆 成
 

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高可用环境
 
Hadoop+spark實作
Hadoop+spark實作Hadoop+spark實作
Hadoop+spark實作
 
第11讲 管理Cisco互联网络
第11讲 管理Cisco互联网络第11讲 管理Cisco互联网络
第11讲 管理Cisco互联网络
 
S3C44B0 User Guide
S3C44B0 User GuideS3C44B0 User Guide
S3C44B0 User Guide
 
S3C44B0 User Guide
S3C44B0 User GuideS3C44B0 User Guide
S3C44B0 User Guide
 
Tokyo系列介绍(一)
Tokyo系列介绍(一)Tokyo系列介绍(一)
Tokyo系列介绍(一)
 
Java Crash分析(2012-05-10)
Java Crash分析(2012-05-10)Java Crash分析(2012-05-10)
Java Crash分析(2012-05-10)
 
MySQL 6.0 下的cluster + replicate - 20080220
MySQL 6.0 下的cluster + replicate - 20080220MySQL 6.0 下的cluster + replicate - 20080220
MySQL 6.0 下的cluster + replicate - 20080220
 
Sun jdk 1.6内存管理 -使用篇
Sun jdk 1.6内存管理 -使用篇Sun jdk 1.6内存管理 -使用篇
Sun jdk 1.6内存管理 -使用篇
 
Oracle10g Rac Configuration For Linux X86
Oracle10g Rac Configuration For Linux X86Oracle10g Rac Configuration For Linux X86
Oracle10g Rac Configuration For Linux X86
 
Asm+aix
Asm+aixAsm+aix
Asm+aix
 
九州通小型机扩Vg大小(20090416)
九州通小型机扩Vg大小(20090416)九州通小型机扩Vg大小(20090416)
九州通小型机扩Vg大小(20090416)
 
分会场二Storage foundation 中的多通道技术
分会场二Storage foundation 中的多通道技术分会场二Storage foundation 中的多通道技术
分会场二Storage foundation 中的多通道技术
 
Aix操作系统培训文档
Aix操作系统培训文档Aix操作系统培训文档
Aix操作系统培训文档
 
九州通 Tsm重新配置文档(2008 11 10)
九州通 Tsm重新配置文档(2008 11 10)九州通 Tsm重新配置文档(2008 11 10)
九州通 Tsm重新配置文档(2008 11 10)
 
九州通 Tsm重新配置文档(2008 11 10)
九州通 Tsm重新配置文档(2008 11 10)九州通 Tsm重新配置文档(2008 11 10)
九州通 Tsm重新配置文档(2008 11 10)
 
尚观Linux研究室 linux驱动程序全解析
尚观Linux研究室   linux驱动程序全解析尚观Linux研究室   linux驱动程序全解析
尚观Linux研究室 linux驱动程序全解析
 
0118 Windows Server 2008 的伺服器核心 (Server Core)
0118 Windows Server 2008 的伺服器核心 (Server Core)0118 Windows Server 2008 的伺服器核心 (Server Core)
0118 Windows Server 2008 的伺服器核心 (Server Core)
 
Mysql集群
Mysql集群Mysql集群
Mysql集群
 
如何应用Tcpdump分析应用性能
如何应用Tcpdump分析应用性能如何应用Tcpdump分析应用性能
如何应用Tcpdump分析应用性能
 

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 测试图如下:
  • 3.
  • 4. 四.结论 从测试结果来看,flash 卡对于 IO 的提升对比普通的 SATA 盘来说是非常巨大的。相对于 ShannonDisk 和 fushion io 的卡来说,由于测试的两块卡,不同的容量,存在性能差异,ShannonDisk 的极限 TpmC 非常的高,但是由于 ShannonDisk 的运算模块等都会占用 CPU,所以存在比较大的抖动,而 fushion io 哪怕在多线程的情况下,都非常的稳定。而 800G 的 fushion io 对于 400G 的性能会提升在 30%,个人 比较推荐 fushion io 800G