[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: slapadd, 1 million entries, some numbers



On Tue, May 27, 2003 at 03:54:29PM -0700, Howard Chu wrote:
> > I noticed via top (and according to the time output above) that slapd
> > spends a considerable amount of time in the D state, that is,
> > waiting for
> > a system call to complete if I'm not mistaken.
> 
> slapd should not be running at all when you're using slapadd.

I'm sorry, that was a typo. I meant slapadd.

> D state is a device wait - most likely disk in this case.

Exactly.

> > Is cache relevant for bulk loading data?
> 
> Read this:
> http://www.openldap.org/faq/data/cache/893.html

I'll play with cache and buffer sizes and see how much it improves. I see
that the default buffer size is really too smal, thanks for the tip.