[Date Prev][Date Next]
Re: slapadd speed
Thank you for your reply.
Actually I have only one CPU. So I don't think I can use this option.
On Thu, Jun 11, 2009 at 10:18 PM, Bill MacAllister <email@example.com>
First, you should set shm_key. Setting it to any non-zero value disables memory mapped files and turns on shared memory.
--On Thursday, June 11, 2009 21:11:40 +0530 ashok kumar <firstname.lastname@example.org
I am new to openldap and I am trying to use it for 50 million
records. I am using slapadd to add this data but it is processing
around 1 million records in 5 hour. So this will take days to stage
properly. I will have to update database every 20 days with about 10
million records. I wish to know what enhancements I have to do in my
setup considering following configurations. I am using openldap
2.4.16 with Berkley DB 4.5.20 on CentOS linux OS 32 bit machine with
checkpoint 128 15
index objectClass eq
index attribute1 eq
index attribute2 eq
set_cachesize 1 268435456 1
Also, you will want to set the tool-threads to match the number of CPUs that you have available. In your case since you only have 3 indexes you won't see performance gains if you set it higher.
Bill MacAllister, System Software Programmer
Unix Systems Group, Stanford University