On 10/25/2012 4:03 AM, Jakub Hrozek wrote:
There has also been many performance improvements done during the 1.9 development. I would suggest that you try the 1.9 packages to see if the performance is acceptable for you.
I compiled the latest 1.9.2 source release on a test RHEL6 system, and it does indeed have a dramatic performance improvement:
# time getent group members 1.8.0 -- 1m29.589s 1.9.2 -- 0m5.968s
# time getent group students 1.8.0 -- 0m44.735s 1.9.2 -- 0m4.543s
# time id -a cpcrudo 1.8.0 -- 2m14.719s 1.9.2 -- 0m12.508s
While still not as efficient as simply not processing the memberships, that's definitely a usable time; particularly as the delay is only incurred when it is not cached, once cached it returns in fractions of a second.
And I see in a different message I have not replied to yet that 1.9.2 is scheduled to be released with RHEL 6.4, so officially supported relief for this issue is coming...
Thanks much...