Hi,

I have an openldap instance that I'd like to migrate to arm64, just loading a 
mdb from an amd64 instance results in all filtered queries returning empty 
results, which is resolved by running slapindex. I've managed to get this to 
complete in reasonable time using an arm64 mac and a tmpfs volume to hold a 
smaller test mdb in memory, but I can't replicate this performance in the cloud 
and I can't fit the prod mdb into tmpfs and have enough memory to work with 
left over. 

I've noticed that despite setting olcToolThreads high, it only ever pins one 
CPU, so I wonder if it's the difference in single threaded performance of my 
m1max mac vs a graviton2 instance?

Is there any way to get slapindexing to use more than one cpu, or are there any 
other performance improvements you can suggest? I need it to complete within 6 
hours maximum to fit into a change window. I'd prefer not to resort to running 
a parallel instance out of service and then swap the two over if it can be 
helped.

It doesn't go at a consistent rate, but right now it looks like it'd take 2-3 
days to complete. I'm passing -t and -q to slapindex.

I'd appreciate any advice you could give.

Reply via email to