At this moment I am setting up LDAP in a test environment, for usermanagement. One of my collegues suggested to use nscd together with LDAP to increase performance. So I did a small test with nscd turned off and nsdc turned on:
# service nscd stop
Stopping nscd: [ OK ]
# time for x in `seq 1 10000`; do X=`id pieter`; done
real   1m39.024s
user   0m19.467s
sys    0m40.919s
# service nscd start
Starting nscd: [ OK ]
# time for x in `seq 1 10000`; do X=`id pieter`; done
real   0m23.735s
user   0m4.645s
sys    0m18.829s
As you can see... nscd speeds up 4.1 times the lookups. There might be some other issues pop up with the use of nscd, but that's what we will notice in the future.