Bonnie does not provide speed for Sequential Input / Block

Posted by Lqp1 on Server Fault See other posts from Server Fault or by Lqp1
Published on 2014-06-03T08:33:38Z Indexed on 2014/06/03 9:27 UTC
Read the original article Hit count: 238

Filed under:
|

I'm using ProxmoxVE and I would like to run some benchmarks regarding performances of this product. One of these benchmarks is bonnie++ ; it runs very well in a VM (qemu-kvm) but when I run it in a conainer (openVZ), it does not provide me reading speed (only writing).

I don't understand why... Does anyone know what's happenning ?

VMs ans Containers are Debian 7.4. Here's the output of bonnie in the container:

root@ct2:/# bonnie++ -u root
Using uid:0, gid:0.
Writing a byte at a time...done
Writing intelligently...done
Rewriting...done
Reading a byte at a time...done
Reading intelligently...done
start 'em...done...done...done...done...done...
Create files in sequential order...done.
Stat files in sequential order...done.
Delete files in sequential order...done.
Create files in random order...done.
Stat files in random order...done.
Delete files in random order...done.
Version  1.96       ------Sequential Output------ --Sequential Input- --Random-
Concurrency   1     -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine        Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP  /sec %CP
ct2              1G   843  99 59116   8 60351   4  4966  99 +++++ +++  2745   8
Latency              9558us    3582ms     527ms    1672us     936us    5248us
Version  1.96       ------Sequential Create------ --------Random Create--------
ct2                 -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
              files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP
                 16 +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++
Latency             19567us     358us     368us     107us      59us      25us
1.96,1.96,ct2,1,1401810323,1G,,843,99,59116,8,60351,4,4966,99,+++++,+++,2745,8,16,,,,,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++,9558us,3582ms,527ms,1672us,936us,5248us,19567us,358us,368us,107us,59us,25us

The filesystem for / is of type "simfs", which is a pseudo filesystem for openVZ. Maybe it's related to this issue but I can't find anyone with the same issue with bonnie and openVZ...

Thanks for your help.

Regards,

Thomas.

© Server Fault or respective owner

Related posts about openvz

Related posts about proxmox