glusterfs 2.0.x maxs out CPU

Bug #518029 reported by Dave Hall
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
glusterfs
Won't Fix
High
glusterfs (Ubuntu)
Fix Released
Medium
Andres Rodriguez

Bug Description

I tried using the official glusterfs 2.0.2 debs on karmic and I even packaged my own debs of 2.0.9 and found both versions max'd out CPU on my machines - sometimes even with no load. Upstream suggested using 3.0.0, which I did and now gluster hums along, rarely hitting anything above 10% CPU under load.

Given Lucid is a LTS release, I think that you should seriously consider pulling in version 3.0.0 of glusterfs from Debian experimental, it far more stable than 2.0.x.

Changed in glusterfs:
status: Unknown → Won't Fix
Revision history for this message
Andy Hauser (andy-ubuntu-bugzilla) wrote :

Actually reading the glusterfs mailing lists will give a different impression.
2.0.9 runs very fine for most people while the incompatible 3.0.x releases
still seem a bit rough.

Revision history for this message
Dave Hall (skwashd) wrote :

3.0.2 was released recently which seemed to fix some major issues some people have been experiencing. The relnotes are available at http://ftp.gluster.com/pub/gluster/glusterfs/3.0/LATEST/GlusterFS_3.0.2_Release_Notes.pdf

More details on the issues closed in 3.0.2 can be found at http://is.gd/8hUNy- (the full url is really long and ugly).

Based on a quick test here 3.0.2 works far better than 2.0.x ever did on ubuntu 9.10 amd64 servers. We are running 3.0.0 in production with no issues either.

Debian now has 3.0.2 in sid, so I think that is a good indicator of the quality of the release. http://packages.debian.org/search?keywords=glusterfs

I really don't want to have to maintain my own packages for 2-3 years because ubuntu ships a broken version in a LTS release.

Revision history for this message
frell (lee) wrote :

I agree with Dave on this one.

Had the same issue and 3.0.x fixed it.

Revision history for this message
Andres Rodriguez (andreserl) wrote :

Hello guys,

I agree with you. I'll prepare test packages to see if the problem is fixed and will require your testing. Once confirmed that the new upstream release fixes this bug, I'll personally oversee its inclusion in lucid.

Cheers

Changed in glusterfs (Ubuntu):
assignee: nobody → Andres Rodriguez (andreserl)
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Dave Hall (skwashd) wrote :

I have since upgraded to 3.0.2 debs based on the Debian packaging. They are working fine on my 9.10 AMD64 boxes. If the Lucid debs built by Andres are backwards compatible with 9.10, I can give them a try in our staging environment in the coming days. Thanks Andres for taking care f this one.

Revision history for this message
Dave Hall (skwashd) wrote :

Someone emailed me and asked where I got my 9.10 debs for gluster from. I used the debian unstable (or was it testing?) source and compiled it locally. Info on the testing source is available at http://packages.debian.org/source/squeeze/glusterfs

It _should_ be possible to grab the binary packages linked from that page for glusterfs-client, glusterfs-server and libglusterfs0 and install them using the following commands "sudo dpkg -i /path/to/my-glusterfs-debs-from-debian/*.deb && sudo apt-get install -f"

Revision history for this message
Andres Rodriguez (andreserl) wrote :

The debian packages as they are should be working fine in Ubuntu. However, I wan't to test if they build/install before requesting a Sync from debian so that we don't have an FTBFS in archive. But, due to the history of the package in Ubuntu, it should be fine witht a sync. i'll work on it today.

Revision history for this message
Dave Hall (skwashd) wrote :

Any update on this Andres? Let me know if there is anything I can do to help things along.

Revision history for this message
Andres Rodriguez (andreserl) wrote :

Dave,

The FFe is in process. Could you please test glusterfs that's on my ppa?

sudo add-apt-repository ppa:andreserl/other
sudo apt-get update

And then install glusterfs and test if it works as it should please. Thanks a lot.

Revision history for this message
Dave Hall (skwashd) wrote :

I will try to spin up a couple of VMs tomorrow and run it with bonnie++ and some other stuff to stress it and make sure it doesn't max cpu. I'll post a follow up here when done.

Revision history for this message
Dave Hall (skwashd) wrote :

Looks good here. I did my testing on a couple 256 slices from slicehost. glusterfs hit about 15% of CPU and glusterfsd never seemed to pass 35% with both nodes being hammered by bonnie++ at the same time.

Anything else I can do to help the process along?

Revision history for this message
Andres Rodriguez (andreserl) wrote :

This is good enough for me. This package is in the Feature Freeze Exception queue. Once it gets accepted, i will be uploading it to karmic.

Thanks for the testing.

Cheers,

Revision history for this message
Andres Rodriguez (andreserl) wrote :

I meant: it will be synced from debian into lucid :).

Changed in glusterfs (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
frell (lee) wrote :

Thanks for your work on this Andres.

3.0.3 is out, any chance of a update?

Dave Hall (skwashd)
summary: - glusterfs 2.0.x max's out CPU
+ FFE Please update glusterfs to 3.0.2
Revision history for this message
Dave Hall (skwashd) wrote : Re: FFE Please update glusterfs to 3.0.2

I have just realised that this isn't even on the Release Team's radar for a FFE.

GlusterFS 2.0.x has some serious issues such as maxing out CPU in certain (random yet reproducible) circumstances. The upgrade path from 2.0.x to 3.0.0 was a bit rough but it seems that most of the 3.0 issues were resolved in 3.0.2.

Upstream has mostly dropped support 2.0.x and encourage all users with bugs/issues to try 3.0.x. The referenced upstream bug report is one example of this.

I think it would be a shame for Ubuntu to ship a broken version of glusterfs in lucid, especially as it will be around for a long time.

As I noted in comment #11 the debs in Andres ppa worked ok when I tested them.

Changed in glusterfs (Ubuntu):
status: Fix Committed → New
Revision history for this message
Dave Hall (skwashd) wrote :

Sorry for the noise. I didn't realise that there was a separate bug report in for FFE. See bug #531545 for more info.

Changed in glusterfs (Ubuntu):
status: New → Fix Committed
summary: - FFE Please update glusterfs to 3.0.2
+ glusterfs 2.0.x maxs out CPU
Revision history for this message
Iulian Udrea (iulian) wrote :

No problem. The FFe has already been granted. I'm unsubscribing ubuntu-release from this bug.

Revision history for this message
Andres Rodriguez (andreserl) wrote :

Marking this bug as Fix Released due to this haves been fixed in new upstream version. Please see bug 531545.

Changed in glusterfs (Ubuntu):
status: Fix Committed → Fix Released
Changed in glusterfs:
importance: Unknown → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.