Linux Database Performance on SSD 910 with Filesystem

I recently blogged about configuring Oracle redo on SSD with ASM. For completeness if you are not using ASM and need a filesystem configuration, for example with TimesTen the following is the configuration that I have used

Firstly partition the disks exactly as done previously for Oracle:

fdisk -c -u /dev/sda.

Use Linux RAID to stripe accross the existing disks:
mdadm --create --verbose /dev/md1 --chunk=128 --level=stripe --raid-devices=4 /dev/sda1 /dev/sdb1 /dev/sdc1 /dev/sdd1

Create an XFS filesystem specifying same stripe and number of disks as RAID array:
mkfs -t xfs -f -d su=128k -d sw=4 /dev/md1

Mount with default options:
/dev/md1        /timesten       xfs  defaults,noatime,nodiratime     0 0

Make the configuration permament:
mdadm --examine --scan --config=mdadm.conf > /etc/mdadm.conf

To undo the configuration stop the RAID configuration and zero the superblock of all of the component disks and the remove the configuration from  /etc/mdadm.conf

mdadm -S /dev/md1

mdadm --zero-superblock /dev/sda1