Here are the stats results with Bonnie++, in HTML format (see attachment)
The first 4 tests are in VM.
The 2 last are just test on 2 workstations with similar options. An entry level 
one and a high end one, both with SSDs. DRBD is of course not used there.



Test command :
-------------------
bonnie++ -d ./scratchdir/ -c 2 -s 2G -n 64:4096:512 (Changed to -s 16G on my 
high end workstation )


Virtualization software and Hardware for the first 4 tests (localssd1, ssdvg1, 
localdir, satavg1) :
------------------------------------------------------------------------------------------------------------------------

- Virtulization : Proxmox VE 1.9 (KVM) + VirtIO network & disk drivers, 10GB 
Storage and 256MB Ram
- Hardware : 2 HP Pavilion G5415be workstation with QuadCore Athlon X4 645 
3.2GHz+ SSD Chronos SA3 MSK 240GB ( in SATA2 mode because of Mother board ) - 
Limited to 1GB of Ram with the mem=1024M boot option.
- Additional GBits PCIe 1X network adapters with a cross cable dedicated to 
DRBD replication (when used).




Test conditions (rest of Stack description ):
localssd1
=======
- VM OS : Ubuntu 11.10 Server with default options (ext4)
- VM Storage : LVM on (SSD PV of 40GB)




ssdvg1
=====

- VM OS : Ubuntu 11.10 Server with default options (ext4) with 256MB Ram
- VM Storage : LVM on DRBD Active-Active (Protocol C) (SSD PV of 200GB in each 
server)





localdir
=====

- VM OS : Ubuntu 11.10 Server with default options (ext4) with 256MB Ram
- VM Storage : RAW Image on a local SATA disk (2TB/7200RPM) formated in EXT3


satavg1
=====

- VM OS : Ubuntu 11.10 Server with default options (ext4) with 256MB Ram
- VM Storage : LVM on DRBD Active-Active (Protocol C) (SATA disk 2TB/7200RPM PV 
of 750GB in each server) - With Meta-Disk on a small partition of 128MB on the




skinner
=====
- Not a VM, just my workstation, a very light workstation with 2GB Ram, Dual 
Core ATOM 1.8GHz, and OCZ Vertex2 SSD.
- Kubuntu 11.10 on ext4


westvleteren
=========
- Not a VM, an other workstation, high end, with 8GB Ram, Quad Core intel 
Corei5, SSD 120GB SATA3 ( more than 500MB/s read/writes with 90000 IOPS )






Conclusions :
-----------------
- on the satavg1 test, using meta-disk on SSD did not fix my problem. Maybe 
it's better than meta-disk internal, but clearly unusable. Machine 
unresponsive, host with load of 10 during the test in the VM, ... So 
unfortunately, SSD meta-disk did not save my 750GB partitions from being far 
too slow to be used.


- on the ssdvg1, the performances, are really good. Strangely, it even competes 
to the results without DRBD (localssd1). The move to SSD for my VMs seems to 
fix my issue. My totally useless cluster on SATA Drives, becomes now really 
usable with SSD.


As all my VMs can keep into 200GB storage. My performance problem is fixed, 
it's even really good.


Regards,

François












I noticed I did not reply to the list. So, here is the copy :


Hi Eduardo,


When I had these horrible performances I was not in a good situations :
- One 2GB disk SSD 7200RPM per node.
- DRBD 8.3, Protocol C, Active-Active
- 2 Network interfaces on a 100Mbits network switch.


Now that I added the SSDs, I'll test again. I'm currently looking on how to 
test.
As I'm not interested in testing my OS cache, I'll reduce the memory to 1GB or 
less (with the mem=1024M kernel boot option), Install an ubuntu VM with 512MRam 
and PV disk drivers, and run either bonnie++ or iozone in these 4 conditions :
- Local SSD
- DRBD SSD in Active-Active
- Local SATA
- DRBD Sata in Active-Active (but with the meta-disk on SSD). (Where I was 
getting 30IOPS with bonnie++ in my VM before I moved meta-disk to SSD)


Regards,
François Delpierre
----- Mail original -----

De: "Eduardo Diaz - Gmail" <[email protected]>
À: "François Delpierre" <[email protected]>
Cc: [email protected]
Envoyé: Mardi 3 Janvier 2012 14:19:39
Objet: Re: [DRBD-user] drbd performance issue on SATA

I check the Network link too, because some times the network are the
real problem.

Did you test the network interface?.

Did you change the the protocol to A for example.. and make more test.

In my experience the SSD disk has problems for broken.

http://www.codinghorror.com/blog/2011/05/the-hot-crazy-solid-state-drive-scale.html

What configuration are you creating? Active/active, Active/passive?
What filesystem?

regards!

On Sun, Jan 1, 2012 at 6:04 PM, François Delpierre
<[email protected]> wrote:


Hi,

I'm building a very low cost virtualization server for a Non Profit
organization using 2 HP workstations (500€ each) (8GB Ram, 1.5TB, QuadCore
AMD), Software Proxmox and DRBD for the data replication with dedicated
gigabit & cross cable for the replication.

After setting up the replication (Protocol C), I had catastrophic
performances, ( dropping to 30 IOPS after 60s of random writes ).

I also found a lot of reading, not fully explaining my terrific 30 IOPS on 
7200RPM drives, but clearly pointing the necessity to have a battery backed
up cache controller to sustain random writes generated by the meta-disk.

As the hardware makrket did change quite a lot recently, especially towards
SSD, I immediately realized that 240GB SSD are half price than a small raid
controller, a battery for the cache, and 2 small disks with reasonable
performances (10rpm). So, I choose SSD.

I created 2 partitions on my SSD :
- 128MB for external meta-disk of my slow SATA partition (750GB)
- 240GB for a second DRBD resource, with internal meta-disk.

My questions :
- Is there some recommendations on a SSD setup ?
- Why is the external meta-disk that few documented ? I spent more than 1
hour to find the syntax of the directive :

meta-disk
/dev/disk/by-id/scsi-SATA_MKNSSDCR240GB_MKN1146A0000032XXX-part1[0];

And it's not clear to my what is the [0] at the end ?

Regards,

François Delpierre


_______________________________________________
drbd-user mailing list
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user



Title: Bonnie++ Benchmark results
Version 1.96Sequential OutputSequential InputRandom
Seeks
Sequential CreateRandom Create
ConcurrencySizePer CharBlockRewritePer CharBlockNum FilesMax SizeMin SizeCreateReadDeleteCreateReadDelete
K/sec% CPUK/sec% CPUK/sec% CPUK/sec% CPUK/sec% CPU/sec% CPU/sec% CPU/sec% CPU/sec% CPU/sec% CPU/sec% CPU/sec% CPU
localssd122G12309658189104822211486095940241639081606440965121483230244524484937114796271632233891264
Latency6439us4175ms196ms7219us12001us500msLatency125ms160ms5625us123ms155ms227ms
ssdvg122G12429886313105092494871951004761435251406440965121435028241623463696814962281637233855563
Latency6474us238ms202ms8873us8403us314msLatency127ms173ms6087us122ms167ms194ms
localdir22G127399639086200173416282607678122.766440965128504151601440766991842113814366175
Latency6411us597ms485ms31939us80564us1097msLatency507ms822ms63905us470ms593ms14710us
satavg122G11589118852365081210741118032105.956440965123355511412908442370869013268253
Latency6581us1409ms1227ms288ms198ms1460msLatency1123ms4182ms164ms1020ms2164ms34131us
skinner22G15899230966881065314262699260127441316056264409651294408835102971539292104378838199991510593
Latency85011us127ms69985us32114us26642us15884usLatency61986us4029us101ms101ms2100us102ms
westvleteren216G10319919144711100037940458729102614229089644096512491322937431301188506621930431228890
Latency11543us422ms423ms13569us216ms180msLatency910ms61910us5023us805ms252ms19067us
_______________________________________________
drbd-user mailing list
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user

Reply via email to