[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Greate difference of disk I/O performance for guest on
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] Greate difference of disk I/O performance for guest on Qemu-2.30 of CentOS. |
Date: |
Fri, 19 Jun 2015 16:24:58 +0100 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Fri, Jun 19, 2015 at 08:40:11AM +0800, cauchy-love wrote:
>
> the iozone command line is:
> ./iozone -i 0 -i 1 -f ./iotmp -Rab ./iotmp.xls -g 8G -n 4G -c
>
> The problem is why the performance difference is so big for different linux
> kernels. The guest's io performance test is by both FTP tools and raw write,
> which demonstrate the much lower performance of Centos 7 (1/10 of that on
> Centos 6.5). And how can I debug this problem?
You are missing the -I command-line option for O_DIRECT.
When you run without -I you are not benchmarking just disk I/O but also
page cache performance, which varies depending on the amount of RAM
available. This means you cannot compare guest results with host
results.
Stefan
pgp_Qa8oQ01IB.pgp
Description: PGP signature
- [Qemu-devel] Greate difference of disk I/O performance for guest on Qemu-2.30 of CentOS., cauchy-love, 2015/06/15
- Re: [Qemu-devel] Greate difference of disk I/O performance for guest on Qemu-2.30 of CentOS., Stefan Hajnoczi, 2015/06/16
- Re: [Qemu-devel] Greate difference of disk I/O performance for guest on Qemu-2.30 of CentOS., cauchy-love, 2015/06/18
- Re: [Qemu-devel] Greate difference of disk I/O performance for guest on Qemu-2.30 of CentOS.,
Stefan Hajnoczi <=
- Re: [Qemu-devel] Greate difference of disk I/O performance for guest on Qemu-2.30 of CentOS., cauchy-love, 2015/06/18
- Re: [Qemu-devel] Greate difference of disk I/O performance for guest on Qemu-2.30 of CentOS., Paolo Bonzini, 2015/06/19
- Re: [Qemu-devel] Greate difference of disk I/O performance for guest on Qemu-2.30 of CentOS., cauchy-love, 2015/06/22
- Message not available
- Message not available
- Re: [Qemu-devel] Greate difference of disk I/O performance for guest on Qemu-2.30 of CentOS., cauchy-love, 2015/06/24
- Re: [Qemu-devel] Greate difference of disk I/O performance for guest on Qemu-2.30 of CentOS., Paolo Bonzini, 2015/06/24
- Re: [Qemu-devel] Greate difference of disk I/O performance for guest on Qemu-2.30 of CentOS., cauchy-love, 2015/06/24