I am very happy to welcome Patrick Crews to the Percona development team. Patrick joins Percona at a very exciting time for the development team. We are getting regular releases of Percona Server and Percona Xtrabackup out the door, we have been heavily using the Jenkins continuous integration system to maintain and improve the quality of the products we ship and we just upgraded our documentation publishing platform for both Percona Server (5.1 and 5.5) and …
[Read more]I wrote about Intel 320 SSD write performance before, but I was not satisfied with these results.
Somewhat each time on Intel 320 SSD I was getting different write
performance, so it made me looking into this with details.
So let’s run experiment as in previous post, this is sysbench
fileio random write on different file size, from 10GiB to 140GiB
with 10GiB step. I use ext4 filesystem, and I
perform filesystem format before increasing filesize.
The results are pretty much as in previous post, the throughput
drops as we increase filesize:
However, there is when interesting stuff begin. Now when we run the same iterations again, the result will look like:
…
[Read more]Our latest MySQL white paper is Improving Percona Server performance with Flashcache on the Virident tachIOn Drive. (Virident funded the research, but as always, we wrote the report ourselves.)
The conclusion is that Flashcache can be good for read-heavy workloads, but more research is needed to understand its performance characteristics on write-heavy workloads. We explain the details of exactly how good and under what circumstances. We also developed some guidelines for sizing and pricing, to serve as advice for those interested in deploying Flashcache as a way of getting some of the benefit of flash without all of the cost, or the size limitations.
We raised topic of problems with flushing in InnoDB several times, some links:
InnoDB Flushing theory and solutions
MySQL 5.5.8 in search of stability
This was not often recurring problem so far, however in my recent experiments, I observe it in very simple sysbench workload on hardware which can be considered as typical nowadays.
Hardware: HP ProLiant DL380 G6, with 72GB of RAM and
RAID10 on 8 disks.
I took sysbench multi-tables workload, with 20 tables, 10,000,000
rows each. Total database size ~58GB.
MySQL version: 5.5.16
Initial benchmark, which …
[Read more]A while ago I started a series of posts showing benchmark results on Amazon EC2 servers with RAID’ed EBS volumes and MySQL, versus RDS machines. For reasons that won’t add anything to this discussion, I got sidetracked, and then time passed, and I no longer think it’s a good idea to publish those blog posts in the format I was planning. Instead, I want to write an overview of these two approaches to hosting MySQL in the Amazon cloud.
In general, MySQL performance overall on EC2 and EBS isn’t always great in comparison to what you can get on physical hardware, even low-to-medium sized servers. It’s not that it’s terrible (in most cases), but it’s not always great. There are specific use cases in which it’s perfectly acceptable and even good, but the range of cases isn’t as broad as what you can push your …
[Read more]As you may know, Kristian Nielsen made a fix for the Group Commit Problem which we many times wrote about. The fix came into MariaDB 5.3 and Mark Callaghan tested it recently . We ported this patch to Percona Server (it is not in the main branch yet), and here are the results of my testing of the new Group Commit in Percona Server 5.1.
As background information, the problem appears when you have
strict durability and recover-ability requirements, that is
innodb_flush_log_at_trx_commit=1,
sync_binlog=1 and you do not have storage that
provides fast syncs (i.e. you do not have a battery-backed cache
on your RAID card). This scenario may also appear when being on
battery and your RAID card dies, automatically switching from
write-back to write-through cache mode.
We …
This is cross-posted from http://www.ssdperformanceblog.com/2011/07/fusionio-720gb-write-performance/
I’ve got a FusionIO card with 720GB capacity on my hands.
It came with a HP ProLiant DL380 G6 server. Interesting that this card is not listed on FusionIO’s products page, and neither I see such card in the list of available configurations on HP’s site. I guess this card comes as some customization option.
It seems to be a MLC card (I did not hear about FusionIO SLC cards with a capacity greater than 320GB) and cost is always an interesting question. On HP.com I can find a HP IO Accelerator (which is a re-branded FusionIO card) …
[Read more]In the first part of this article I have showed how I align IO, now I want to share results of the benchmark that I have been running to see how much benefit can we get from a proper IO alignment on a 4-disk RAID1+0 with 64k stripe element. I haven’t been running any benchmarks in a while so be careful with my results and forgiving to my mistakes
The environment
Here is the summary of the system I have been running this on (for brevity I have removed some irrelevant information):
# Aspersa System Summary Report ##############################
Platform | Linux
Release | Ubuntu 10.04.2 LTS (lucid)
Kernel | 2.6.32-31-server
Architecture | CPU = 64-bit, OS = 64-bit
# Processor …[Read more]
MySQL 5.5 and Percona Server 5.5 do not solve all scalability problems even for read only workloads. Workloads which got a lot of attention such as Sysbench and DBT2/TPC-C scale pretty well a they got a lot of attention, there can be other quite typical workloads however which do not scale that well. This is why it is important to test performance and scalability for your application on your hardware if you really want results most relevant for your situation.
In this example I spotted the query pattern responsible for large portion of the load in the application by aggregating query log with mk-query-digest. When I filtered out only queries of this pattern and got a simplified part of production workload which focuses only on one query but yet mimics real world values distribution.
The query looks something like this:
SELECT * FROM table WHERE deleted = 0 AND group_id IN (62715996, 62716592, 62717660, …[Read more]
InnoDB compression is getting some traction, and I see quite
contradictory opinions. Someone has successful deployments in
productions, and someone says that compression in current
implementation is useless.
To get some initial impression about performance I decided to run
some sysbench with multi-tables benchmarks.
I actually was preparing to do complex research, but even first
initial results are quite discouraging.
My setup: Dell PowerEdge R900, running
Percona-Server-5.1.57-rel12.8 (will be in public release soon),
storage is FusionIO 320GB MLC card, which does not matter a lot
in this case of CPU-bound benchmark.
First stage – load data. Scripts for multi-table sysbench allow to load data in …
[Read more]