[Bug 591100] Re: autofs5 eats the cpu if you have large groups
Found a link to the mailing list archive: https://www.spinics.net/lists/autofs/msg02115.html -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/591100 Title: autofs5 eats the cpu if you have large groups To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autofs5/+bug/591100/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 591100] Re: autofs5 eats the cpu if you have large groups
I just emailed the patch to the autofs mailing list, let's see what they say. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/591100 Title: autofs5 eats the cpu if you have large groups To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autofs5/+bug/591100/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 591100] Re: autofs5 eats the cpu if you have large groups
Did this patch get sent upstream? We're still having to maintain the Ubuntu delta here. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/591100 Title: autofs5 eats the cpu if you have large groups To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autofs5/+bug/591100/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 591100] Re: autofs5 eats the cpu if you have large groups
This bug was fixed in the package autofs5 - 5.0.4-3.1ubuntu5.1 --- autofs5 (5.0.4-3.1ubuntu5.1) lucid-proposed; urgency=low * Increase group buffer size geometrically rather than linearly when it is found to be too small (LP: #591100). -- Joel EbelTue, 17 Aug 2010 10:44:24 +0200 ** Changed in: autofs5 (Ubuntu Lucid) Status: Fix Committed => Fix Released -- autofs5 eats the cpu if you have large groups https://bugs.launchpad.net/bugs/591100 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 591100] Re: autofs5 eats the cpu if you have large groups
** Tags added: verification-done ** Tags removed: verification-needed -- autofs5 eats the cpu if you have large groups https://bugs.launchpad.net/bugs/591100 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 591100] Re: autofs5 eats the cpu if you have large groups
We have been testing this exact patch (with the exception of subtle changelog variations, verified by debdiff) for 2 months now on thousands of machines. It greatly improves autofs performance in a large group environment. I've briefly tested the package uploaded to proposed to verify that it still works and improves performance. -- autofs5 eats the cpu if you have large groups https://bugs.launchpad.net/bugs/591100 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 591100] Re: autofs5 eats the cpu if you have large groups
** Branch linked: lp:ubuntu/lucid-proposed/autofs5 -- autofs5 eats the cpu if you have large groups https://bugs.launchpad.net/bugs/591100 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 591100] Re: autofs5 eats the cpu if you have large groups
Accepted into lucid-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance! ** Tags added: verification-needed -- autofs5 eats the cpu if you have large groups https://bugs.launchpad.net/bugs/591100 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 591100] Re: autofs5 eats the cpu if you have large groups
uploaded the attached one to lucid-proposed ** Patch added: "autofs5_5.0.4-3.1ubuntu5.1.debdiff" https://bugs.launchpad.net/ubuntu/+source/autofs5/+bug/591100/+attachment/1494829/+files/autofs5_5.0.4-3.1ubuntu5.1.debdiff ** Changed in: autofs5 (Ubuntu Lucid) Status: New => Fix Committed -- autofs5 eats the cpu if you have large groups https://bugs.launchpad.net/bugs/591100 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 591100] Re: autofs5 eats the cpu if you have large groups
SRU ack, please upload. ** Also affects: autofs5 (Ubuntu Lucid) Importance: Undecided Status: New -- autofs5 eats the cpu if you have large groups https://bugs.launchpad.net/bugs/591100 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 591100] Re: autofs5 eats the cpu if you have large groups
SRU team, as mentioned, this bug causes significant delays in automounting when your primary group is large (thousands of users). The bug has been addressed by increasing the group buffer size geometrically rather than linearly. If the primary group is small, there will be no change. The patch I originally provided still applies to the version in Lucid. TEST CASE: Your primary group should have thousands of users, and you attempt access of something in an automount managed directory. Expected result: It succeeds or fails quickly. Prior to this fix it will take several seconds. There are no expected regressions from this patch. -- autofs5 eats the cpu if you have large groups https://bugs.launchpad.net/bugs/591100 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 591100] Re: autofs5 eats the cpu if you have large groups
The group size patch would be very helpful for us to have included in Lucid. -- autofs5 eats the cpu if you have large groups https://bugs.launchpad.net/bugs/591100 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 591100] Re: autofs5 eats the cpu if you have large groups
This bug was fixed in the package autofs5 - 5.0.5-0ubuntu2 --- autofs5 (5.0.5-0ubuntu2) maverick; urgency=low [Joel Ebel] * debian/patches/16group_buffer_size.patch: Increase group buffer size geometrically rather than linearly when its found to be small. (LP: #591100) [Chuck Short] * debian/control: Fix conflict resolution. (LP: #520601) -- Chuck ShortWed, 30 Jun 2010 08:06:45 -0400 ** Changed in: autofs5 (Ubuntu) Status: New => Fix Released -- autofs5 eats the cpu if you have large groups https://bugs.launchpad.net/bugs/591100 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 591100] Re: autofs5 eats the cpu if you have large groups
** Patch added: "autofs5 debdiff patch to increase group buffer size geometrically" http://launchpadlibrarian.net/50043759/autofs5_5.0.4-3.1ubuntu6.debdiff -- autofs5 eats the cpu if you have large groups https://bugs.launchpad.net/bugs/591100 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 591100] Re: autofs5 eats the cpu if you have large groups
One option would be to double tmplen each pass. That would make it take, in my case, 10 tries, rather than ~750. so: -tmplen += grplen; +tmplen *= 2; -- autofs5 eats the cpu if you have large groups https://bugs.launchpad.net/bugs/591100 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs