This is the mail archive of the glibc-bugs@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug nscd/292] nscd performance drop with case insensitive attributes


------- Additional Comments From muehlenhoff at univention dot de  2004-08-17 08:55 -------
Unfortunately this is not fixed with the changes. The patches slow down the process 
tremendously, but show no principal difference. I'm therefore reopening the bug. 
See attached results of the same system with 2,800 users in the group "Domain Users": 
 
Again the results with the disabled nscd: 
  
testing:~# time getent group "Domain Users"  
foo1, ... , foo2736 (output snipped for all examples) 
real    0m1.964s 
user    0m1.470s 
sys     0m0.020s 
testing:~# 
 
testing:~# time getent group "Domain users"  
real    0m1.965s 
user    0m1.440s 
sys     0m0.050s 
testing:~# 
 
And now the results with nscd enabled: 
 
testing:~# time getent group "Domain Users"  
real    0m4.969s 
user    0m0.010s 
sys     0m0.000s 
testing:~# 
 
testing:~# time getent group "Domain Users"  
real    0m0.006s 
user    0m0.000s 
sys     0m0.010s 
testing:~# 
 
So, likewise as without the patches nscd works fine for "Domain Users". Now the 
results for the request for "Domain users" (also with the enabled nscd): 
 
testing:~# time getent group "Domain Users" 
real    1m17.391s 
user    0m0.000s 
sys     0m0.000s 
testing:~# 
 
testing:~# time getent group "Domain Users" 
real    1m16.276s 
user    0m0.000s 
sys     0m0.020s 
 
So, as without the patches nscd does not speed up subsequent cache hits but with the 
patches it is even 7 times slower. 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |


http://sources.redhat.com/bugzilla/show_bug.cgi?id=292

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]