* Lucas Meneghel Rodrigues <[email protected]> [2010-06-08 11:53]:
> On Tue, 2010-06-08 at 11:44 -0500, Ryan Harper wrote:
> > The default image_size for linux guests is 10G which is plenty of
> > space
> > for all installs.  However, when you run autotest.bonnie in the guest,
> > it fails; this is due to a lack of storage space in the guest given
> > the invocation of bonnie.  Change the default to 30G allows
> > autotest.bonnie to pass for all of the guest I tried (RHEL5.5,
> > Fedora12,
> > SLES11).
> > 
> > Bonnie is invoked with -r 2048 -- it isn't clear to me how that
> > relates
> > to the amount of storage that bonnie needs;  it's probably simpler to
> > change the -r value to bonnie; so I'm open to either fix.
> > 
> > Thoughts?
> 
> I am a bit concerned about 30GB default, specially for raw image

raw is sparse by default so I don't think it's that big of a deal.  I'm
not sure what the peak file system impact of bonnie is ( haven't looked
at the disk using during the benchmark) ; but the files
are temporary and are cleaned up after the run.  After doing a bonnie
test, my RHEL5.5 guest is only consuming 5.6G of real space:

# qemu-img info /tmp/kvm_autotest_root/images/rhel55-64-30G.raw 
image: /tmp/kvm_autotest_root/images/rhel55-64-30G.raw
file format: raw
virtual size: 30G (32212254720 bytes)
disk size: 5.6G

> testing, it seems a better approach to tweak bonnie's parameters to not
> take up all the space on the VM's disk. Could you fiddle a little more
> with bonnie to check out how to adjust the space taken by it?

I'll take a look, but I was hoping someone was more familiar with bonnie
on the list might already know.

-- 
Ryan Harper
Software Engineer; Linux Technology Center
IBM Corp., Austin, Tx
[email protected]
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to