[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openldap-technical
Subject:    Re: slapindex a 60GB mdb in reasonable time
From:       Howard Chu <hyc () symas ! com>
Date:       2023-07-22 19:25:43
Message-ID: 506a18d7-62a6-a9f2-8143-e8e4d457114d () symas ! com
[Download RAW message or body]

Maud Parratt wrote:
> I’ve configured my arm64 instance with:
> dn: cn=config
> olcIndexHash64: FALSE
> 
> 
> The indexes are still broken though, is this the configuration you’re referring to? \
> Given my mdb is from an amd64 box, it’ll be 32 bit, so I want to match the \
> configuration.

That is not what I wrote in my reply to you.
> 
> *From: *Howard Chu <hyc@symas.com>
> *Date: *Thursday, 20 July 2023 at 20:38
> *To: *Quanah Gibson-Mount <quanah@fast-mail.org>, Maud Parratt \
> <Maud.Parratt@bjss.com>, openldap-technical@openldap.org \
>                 <openldap-technical@openldap.org>
> *Subject: *Re: slapindex a 60GB mdb in reasonable time
> 
> Quanah Gibson-Mount wrote:
> > 
> > 
> > --On Thursday, July 20, 2023 7:13 PM +0100 Howard Chu <hyc@symas.com> wrote:
> > 
> > > > Pretty sure they're not compatible.  I.e., you must load from LDIF when
> > > > switching architectures.
> > > 
> > > There's no particular reason for arm64 and amd64 to be incompatible,
> > > they're both 64bit little-endian. arm64 and x86 (32bit) would most likely
> > > be incompatible though.
> > 
> > 
> > Hm, not different page sizes perhaps?  But if this is 64-bit on both ends, and \
> > the amd64 generated index databases don't work on ARM64, seems to indicate \
> > something's not compatible?
> 
> I just checked on a local box. My ARM64 build defaulted to 64bit index keys, the \
> AMD64 build used 32bit index keys. Not sure why the defaults are different, but \
> configuring 64bit index keys on the AMD64 box would fix this.

-- 
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic