Creating a glusterfs demo on a notebook and run bonnie++?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Zack.

Vm clients should use these arguments when mounting a client using the Gluster native client:

-O --disable-direct-io-mode

Hopefully this helps.

James Burnash, Unix Engineering

-----Original Message-----
From: gluster-users-bounces at gluster.org [mailto:gluster-users-bounces at gluster.org] On Behalf Of Zack Perry
Sent: Thursday, January 27, 2011 6:46 PM
To: gluster-users at gluster.org
Cc: zack.perry at sbcglobal.net
Subject: Creating a glusterfs demo on a notebook and run bonnie++?

Hi,

Since a few days ago, I have been trying to create a glusterfs demo to show my boss that this piece of software has potential to us.  I have been using the following hardware and software combination:
hardware: Dell Studio XPS 16, Intel i7 CPU (4 core), 8GB RAM, 128 GB Samsung PW80 SSDOS: Ubuntu 10.04LTS but running the backported 2.6.35-23 kernelglusterfs 3.1.2 deb package downloaded from the gluster Web site.
I created 3 KVM guests, all on a LVM volume. Each guest resides in its own logic volume (16GB each), has 512MB RAM, and 2 vcpus. All guests use virtio for both storage and networking.

Two of the guests are glusterfs servers in replicated configuration (replica=2), the 3rd guest acts as a client.  The glusterfs native protocol is used for mounting in the client guest.

I then try to run bonnie++ in the client machine.  When running directly, the following takes less than a minute wall time to finish:

/usr/sbin/bonnie++ -d /tmp/foo

But when pointing the -d to a subdirectory in the imported volume, even the first part:

Writing a byte at a time...

takes forever.

In the Virtual Machine Manager, the client shows a lot network traffic, but little is accomplished with such traffic.

Currently, the glusterfs configuration is default for everything.  I was hoping to use these defaults to generate a set of baseline data, and go from there.  But looks like the way it is, I will have to take a different approach.

Question:  How can I make bonnie++ run faster with my "demo" setup?  I would love to hear some tuning tips that can make my demo run faster!

Thanks,

-- Zack




DISCLAIMER:
This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this in error, please immediately notify me and permanently delete the original and any copy of any e-mail and any printout thereof. E-mail transmission cannot be guaranteed to be secure or error-free. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission.
NOTICE REGARDING PRIVACY AND CONFIDENTIALITY Knight Capital Group may, at its discretion, monitor and review the content of all e-mail communications. http://www.knight.com


[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux