May 24, 2012

Post: EC2/EBS single and RAID volumes IO benchmark

… steps: mdadm -v –create /dev/md0 –chunk=256 –level=raid1 –raid-devices=2 /… $size $mode $threads > sysbench-size-$size-mode-$mode-threads-$threads ./sysbench –test=fileio –file-total-size=$sizesnapshot, but on several volumes it may be tricky. But in this case you may consider LVM snapshots

Comment: LVM Configuration mistake to Avoid

In my experience, lvm snapshots have a serious performance impact for writes to the parent LVM. Just for kicks I tested unpacking a… tar xvfj linux.tar.bz2 ; time sync No snapshot: 17s Regular snapshot: 61s Snapshot with chunk size of 512k: 47s I unmount/mounted the filesystem…