I'm not an expert but want to suggest you to do two things:
1. Study and apply indexes for your own use 2. Utilize 'cachesize' in your "slapd.conf" Again I think it would improve better performance. Best regards, João Ferreira On Fri, Oct 10, 2008 at 11:39 AM, ELCIN HAKTANIR < [EMAIL PROTECTED]> wrote: > > Question1: > --------------- > Is it rational that slapadd took 31 minutes for 100,000 entries(23Kbyte per > subscriber i guess) without index.? > I think it is so slow.isn't it? > What have i done wrong then?Could you please help to reduce this time ? > Question2: > -------------- > And when 15 million subscribers is considered what should be the time to > slapadd them? > > Question3: > ----------------- > i don't plan to make searches frequently,instead i will give exact DNs of > the entries while the system is being used with 15 million subscribers. > Do i have to define indexes? > Thank you in advance. > > > Configuration information about my Environment: > --------------------------------------------------------------------- > openldap-2.4.10-sol9-sparc-local.gz installed on a System with > Configuration: Sun Microsystems sun4u Sun Fire 280R (2 X UltraSPARC-III+) > System clock frequency: 150 MHz > Memory size: 2048 Megabytes > > My slapadd command: > ------------------------------------- > /usr/local/sbin/slapadd -l > /usr/local/etc/openldap/ldifs/subscribersPart100.ldif -f > /usr/local/etc/openldap/slapd.conf -b o=sdftest -d 256 -q > > my DB_CONFIG file is: > --------------------------------------- > set_cachesize 1 209715200 0 > set_flags DB_LOG_AUTOREMOVE > # > # Setting set_tas_spins reduces resource contention from multiple clients > on systems with multiple CPU's. > set_tas_spins 1 > set_flags DB_TXN_NOSYNC > set_lg_max 536870912 > set_lg_bsize 134217728 > set_lg_dir /usr/local/var/openldap-logs > set_shm_key 1 > > my slapd.conf file is: > --------------------------------- > database hdb > suffix "o=sdftest" > rootdn "cn=sdf,o=sdftest" > rootpw admin234 > directory /usr/local/var/sdftest > index default eq > index objectClass > checkpoint 512 30 > dirtyread > > > > > > > > * > > > ** > > -------------------------------------- > > Bu elektronik posta ve onunla iletilen bütün dosyalar gizlidir sadece > yukarıda isimleri belirtilen kişiler arasında özel haberleşme amacını > taşımaktadır. Size yanlışlıkla ulaşmıssa bu elektonik postanın içeriğini > açıklamanız , kopyalamanız, yönlendirmeniz ve kullanmanız kesinlikle > yasaktır. Lütfen mesajı geri gönderiniz ve sisteminizden siliniz. Vodafone > Teknoloji Hizmetleri A.Ş. bu mesajın içeriği ile ilgili olarak hiç bir > hukuksal sorumluluğu kabul etmez. > > This electonic mail and any files transmitted with it are intended for the > private use of the persons named above. If you received this message in > error, forwarding, copying or use of any of the information is strictly > prohibited. Please immediately notify the sender and delete it from your > system. Vodafone Teknoloji Hizmetleri A.S. does not accept legal > responsibility for the contents of this message. > --------------------------------------* > > >
