Where the open source database community meets: Use code PERCONA75 and secure your spot for Percona Live.  Register

fsyncs on software raid on FusionIO

March 23, 2010
Author
Vadim Tkachenko
Share this Post:

As soon as we get couple FusionIO cards, there is question how to join them in single space for database. FusionIO does not provide any mirroring/stripping solutions and totally relies on OS tools there.

So for Linux we have software RAID and LVM, I tried to followup on my post
How many fsync / sec FusionIO can handle, and check what overhead we can expect using additional layers over FusionIO card.

The card I used is

, physically it is two cards on single board, and visible as two cards to OS.

By some reason I was not able to setup LVM on cards, so I’ve finished tests only for software RAID0 and RAID1.

I used XFS filesystem mounted with “-o nobarrier” option, and I’ve the test I used in previous post on next configurations:

  • Single card
  • RAID0 over two cards
  • RAID1 over two cards

There what I’ve got:

  • Single card: 14050.59 req/sec
  • RAID0: 13039.00 req/sec
  • RAID1: 324.71 req/sec

By single card I’ve results much better than in my previous test, probably
Duo card has better characteristics.

RAID0 shows some overhead 8%, but it is acceptable.

And something is terrible wrong with RAID1, I am getting 40x drops in amount of fsyncs.
So it seems we can’t use innodb transactional log files with

on software RAID1 over FusionIO.

For reference I used command:

And next steps is to check how RAID setup affects IO throughput.

0 0 votes
Article Rating
Subscribe
Notify of
guest

6 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Mrten
Mrten
16 years ago

Is that 40x RAID1 drop worth a posting on the linux kernel list perhaps?

Edgard Pineda
16 years ago

It is very important to mention which version of kernel you used for this analysis.

For example, see this article: http://www.phoronix.com/scan.php?page=article&item=linux_2624_2633&num=1 “Linux 2.6.24 Through Linux 2.6.33 Benchmarks”. There are remarkable performance variations between different versions of Linux kernels in several areas, and maybe in Software RAID too.

Marki
Marki
16 years ago

Was alignment on all levels (partition, md superblock) correctly set? In case of mis-alignment, the card has to do much more work on each request…

Marki
Marki
16 years ago

I don’t have personal experience with that, I have just read few articles about it (also recent discussion on lvm mailing list).
Check for example http://thunk.org/tytso/blog/2009/02/20/aligning-filesystems-to-an-ssds-erase-block-size/
and other articles which can google found for: ssd md align

Far
Enough.

Said no pioneer ever.
MySQL, PostgreSQL, InnoDB, MariaDB, MongoDB and Kubernetes are trademarks for their respective owners.
© 2026 Percona All Rights Reserved