Re: Poor disk IO on Xenserver 6.2

2014-09-08 Thread Marko Lerota
Roger Pau Monné  writes:

> FreeBSD was able to deliver >3iops in all cases, and the throughput
> was around 1000MB/s for all test cases also. On the other hand, Linux
> was only able to deliver around 1iops, with a throughput of
> ~400MB/s. This was tested using xen-unstable and a Linux v3.15 Dom0.
>
> Could you try to run this benchmark on both your FreeBSD and Linux
> guests? Please make sure guests are set to use the same amount of
> RAM/CPUs.

Sorry for late reply. 

I have installed today new beta version of Xenserver from 2014-09-05
XenServer release 6.4.96-88161c (xenenterprise)

uname -a
3.10.0+2 #1 SMP Thu Sep 4 12:04:32 EDT 2014 x86_64 x86_64 x86_64
GNU/Linux

Didn't have time to learn fio program so I did simple test with
copy-paste. Again on Debian 7.6.0 stable files have been copied 
at 300MB/s speed while FreeBSD 10 release had 25MB/s. 

I just did: 

cp some-big-file file1-test

and I measured the time from start to finish. Both hosts have the 
same amount of RAM, DISK and CPUs. I also tested this on 3 different
servers. HP ML330, HP DL160 and old Sun X2200. The results are the
same. 

-- 
Marko Lerota
Sent from my GNU Emacs/Gnus Mailer

___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"

Re: Poor disk IO on Xenserver 6.2

2014-09-02 Thread Roger Pau Monné
El 30/08/14 a les 2.13, Marko Lerota ha escrit:
> Roger Pau Monné  writes:
> 
>> El 29/08/14 a les 11.16, Marko Lerota ha escrit:
>>> I have installed FreeBSD 10 release, stable and current on 
>>> Xenserver 6.2 with latest patches. All of them have poor disk 
>>> write speed. Performance from 12MBps - 25MBps. I tried it on
>>> other servers but the performance is the same. Latest Debian
>>> stable on the same machine have 300MBps disk speed. Am I missing
>>> something after installation or this is the default speed?
>>>
>>
>> I've certainly seen higher speeds, around 25-35MB/s on my box, which is
>> the same speed I can get with a Linux guest. Could you describe how you
>> are running your tests?
> 
> You copy some *.tar.gz or *.iso file that have 600 MB. If it finish 
> in 2-3 seconds than it's fine. If it runs 40 seconds than it's very, 
> very bad. You can see current disk speed with 'iostat 1'. Today I have 
> installed FreeBSD 10-Release on KVM and it runs smooth. Files are
> copied at 150-300MB per second. That's how it should be. Suppose that 
> you need to copy or sync files with another disk/partition very often. 
> It would be very painful and long process. There is definitely something 
> wrong here. 

I've just did some _very_ simple disk benchmarks using fio on both Linux
and FreeBSD using a 1GB ramdisk as the backend:

'phy:/dev/ram0,hdd,w'

This was added to the guests, both have 1GB of RAM and 8vcpus. Then I've
used the following fio workload:

[global]
rw=write # or read for the read tests
size=900m
bs=32k
direct=1 # tested both 0 and 1

[job1]

FreeBSD was able to deliver >3iops in all cases, and the throughput
was around 1000MB/s for all test cases also. On the other hand, Linux
was only able to deliver around 1iops, with a throughput of
~400MB/s. This was tested using xen-unstable and a Linux v3.15 Dom0.

Could you try to run this benchmark on both your FreeBSD and Linux
guests? Please make sure guests are set to use the same amount of RAM/CPUs.

Roger.
___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"

Re: Poor disk IO on Xenserver 6.2

2014-08-29 Thread Marko Lerota
Roger Pau Monné  writes:

> El 29/08/14 a les 11.16, Marko Lerota ha escrit:
>> I have installed FreeBSD 10 release, stable and current on 
>> Xenserver 6.2 with latest patches. All of them have poor disk 
>> write speed. Performance from 12MBps - 25MBps. I tried it on
>> other servers but the performance is the same. Latest Debian
>> stable on the same machine have 300MBps disk speed. Am I missing
>> something after installation or this is the default speed?
>> 
>
> I've certainly seen higher speeds, around 25-35MB/s on my box, which is
> the same speed I can get with a Linux guest. Could you describe how you
> are running your tests?

You copy some *.tar.gz or *.iso file that have 600 MB. If it finish 
in 2-3 seconds than it's fine. If it runs 40 seconds than it's very, 
very bad. You can see current disk speed with 'iostat 1'. Today I have 
installed FreeBSD 10-Release on KVM and it runs smooth. Files are
copied at 150-300MB per second. That's how it should be. Suppose that 
you need to copy or sync files with another disk/partition very often. 
It would be very painful and long process. There is definitely something 
wrong here. 

-- 
Marko Lerota
Sent from my GNU Emacs/Gnus Mailer


___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"

Re: Poor disk IO on Xenserver 6.2

2014-08-29 Thread Roger Pau Monné
El 29/08/14 a les 11.16, Marko Lerota ha escrit:
> I have installed FreeBSD 10 release, stable and current on 
> Xenserver 6.2 with latest patches. All of them have poor disk 
> write speed. Performance from 12MBps - 25MBps. I tried it on
> other servers but the performance is the same. Latest Debian
> stable on the same machine have 300MBps disk speed. Am I missing
> something after installation or this is the default speed?
> 

I've certainly seen higher speeds, around 25-35MB/s on my box, which is
the same speed I can get with a Linux guest. Could you describe how you
are running your tests?

Roger.

___
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"