Le 28/11/2011 10:11, Fajar A. Nugraha a écrit :
On Mon, Nov 28, 2011 at 4:03 PM, Alexandre Chapellon
<a.chapellon@xxxxxxxxx> wrote:
disk =[ 'phy:/dev/xendata/postgresql-syslog:xvdb1:w']
What can be done to improve disk IO and throuput?
Well, for starters, are you sure this is a Xen issue?
No
Try something simple:
- mount the LV on dom0 (use "xm block-attach 0" or kpartx and
pvscan/vgchange if necessary)
- do a chroot, and start postgres
The partition is only holds postgres data, not a whole system, but I
guess so other bench tools can help...
Thank you
- give it some load (e.g. sysbench)
- cleanup (unmount, xm block-detach, etc)
- repeat sysbench on domU
--
Alexandre Chapellon
Ingénierie des systèmes open sources et
réseaux.
Follow me on twitter: @alxgomz
|