Re: Antw: Re: Slapd running very slow

2015-04-28 Thread Geoff Swan
On 2015-04-28 7:51 PM, Andrew Findlay wrote: > Did you get to the bottom of this? Yes. > > On Thu, Apr 23, 2015 at 08:29:48PM +1000, Geoff Swan wrote: > >> On 2015-04-23 5:56 PM, Howard Chu wrote: >>> In normal (safe) operation, every transaction commit performs 2 >>> fsyncs. Your 140MB/s through

Re: Antw: Re: Slapd running very slow

2015-04-28 Thread Andrew Findlay
Did you get to the bottom of this? On Thu, Apr 23, 2015 at 08:29:48PM +1000, Geoff Swan wrote: > On 2015-04-23 5:56 PM, Howard Chu wrote: > > In normal (safe) operation, every transaction commit performs 2 > > fsyncs. Your 140MB/s throughput spec isn't relevant here, your disk's > > IOPS rate is

Re: Antw: Re: Slapd running very slow

2015-04-23 Thread Geoff Swan
On 2015-04-23 5:56 PM, Howard Chu wrote: > Geoff Swan wrote: >> >> >> On 2015-04-23 4:43 PM, Howard Chu wrote: >>> Geoff Swan wrote: On 2015-04-23 4:07 PM, Ulrich Windl wrote: Geoff Swan schrieb am 22.04.2015 um 23:18 in Nachricht > <5538100a.3060...@bigpond.

Re: Antw: Re: Slapd running very slow

2015-04-23 Thread Geoff Swan
On 2015-04-23 5:56 PM, Howard Chu wrote: > Geoff Swan wrote: >> >> >> On 2015-04-23 4:43 PM, Howard Chu wrote: >>> Geoff Swan wrote: On 2015-04-23 4:07 PM, Ulrich Windl wrote: Geoff Swan schrieb am 22.04.2015 um 23:18 in Nachricht > <5538100a.3060...@bigpond.

Re: Antw: Re: Slapd running very slow

2015-04-23 Thread Howard Chu
Geoff Swan wrote: On 2015-04-23 4:43 PM, Howard Chu wrote: Geoff Swan wrote: On 2015-04-23 4:07 PM, Ulrich Windl wrote: Geoff Swan schrieb am 22.04.2015 um 23:18 in Nachricht <5538100a.3060...@bigpond.net.au>: [...] Free stats look fine to me. No swap is being used, or has been used ye

Re: Antw: Re: Slapd running very slow

2015-04-23 Thread Geoff Swan
On 2015-04-23 4:43 PM, Howard Chu wrote: > Geoff Swan wrote: >> >> >> On 2015-04-23 4:07 PM, Ulrich Windl wrote: >> Geoff Swan schrieb am 22.04.2015 um 23:18 >> in Nachricht >>> <5538100a.3060...@bigpond.net.au>: >>> >>> [...] Free stats look fine to me. No swap is being used, or ha

Re: Antw: Re: Slapd running very slow

2015-04-23 Thread Geoff Swan
On 2015-04-23 4:43 PM, Howard Chu wrote: > Geoff Swan wrote: >> >> >> On 2015-04-23 4:07 PM, Ulrich Windl wrote: >> Geoff Swan schrieb am 22.04.2015 um 23:18 >> in Nachricht >>> <5538100a.3060...@bigpond.net.au>: >>> >>> [...] Free stats look fine to me. No swap is being used, or ha

Re: Antw: Re: Slapd running very slow

2015-04-22 Thread Howard Chu
Geoff Swan wrote: On 2015-04-23 4:07 PM, Ulrich Windl wrote: Geoff Swan schrieb am 22.04.2015 um 23:18 in Nachricht <5538100a.3060...@bigpond.net.au>: [...] Free stats look fine to me. No swap is being used, or has been used yet on this system. total used free

Re: Antw: Re: Slapd running very slow

2015-04-22 Thread Geoff Swan
On 2015-04-23 4:07 PM, Ulrich Windl wrote: Geoff Swan schrieb am 22.04.2015 um 23:18 in Nachricht > <5538100a.3060...@bigpond.net.au>: > > [...] >> Free stats look fine to me. No swap is being used, or has been used yet >> on this system. >> >> total used free

Re: Antw: Re: Slapd running very slow

2015-04-22 Thread Geoff Swan
On 2015-04-22 11:45 PM, Ulrich Windl wrote: Geoff Swan schrieb am 22.04.2015 um 14:06 in Nachricht > <55378ee0.40...@bigpond.net.au>: > >> On 2015-04-22 4:49 PM, Ulrich Windl wrote: > [...] Are there any clues about key factors affecting this? Linux, in this case, has vm.swa

Re: Antw: Re: Slapd running very slow

2015-04-22 Thread Howard Chu
Howard Chu wrote: Aside from that, the usual advice is to tune the dirty_ratio and dirty_background to flush frequently, to prevent each individual flush from getting too large and swamping the storage system. But in addition (and counter) to that, you want to tune the dirty_expire to be as slow

Re: Antw: Re: Slapd running very slow

2015-04-22 Thread Howard Chu
Geoff Swan wrote: On 2015-04-22 4:49 PM, Ulrich Windl wrote: Geoff Swan schrieb am 21.04.2015 um 23:19 in Nachricht <5536bec9.3040...@bigpond.net.au>: On 2015-04-22 6:04 AM, Howard Chu wrote: Brian Reichert wrote: On Tue, Apr 21, 2015 at 08:23:31AM -0700, Quanah Gibson-Mount wrote: --On

Re: Antw: Re: Slapd running very slow

2015-04-22 Thread Geoff Swan
On 2015-04-22 4:49 PM, Ulrich Windl wrote: Geoff Swan schrieb am 21.04.2015 um 23:19 in Nachricht > <5536bec9.3040...@bigpond.net.au>: > >> On 2015-04-22 6:04 AM, Howard Chu wrote: >>> Brian Reichert wrote: On Tue, Apr 21, 2015 at 08:23:31AM -0700, Quanah Gibson-Mount wrote:

Re: Slapd running very slow

2015-04-21 Thread Geoff Swan
On 2015-04-22 1:37 AM, Brian Reichert wrote: > On Tue, Apr 21, 2015 at 08:23:31AM -0700, Quanah Gibson-Mount wrote: >> --On Tuesday, April 21, 2015 11:54 AM -0400 Brian Reichert >> wrote: >>> What does your config file look like? >>> >>> In particular, what does this setting look like for you:

Re: Slapd running very slow

2015-04-21 Thread Geoff Swan
On 2015-04-22 6:04 AM, Howard Chu wrote: > Brian Reichert wrote: >> On Tue, Apr 21, 2015 at 08:23:31AM -0700, Quanah Gibson-Mount wrote: >>> --On Tuesday, April 21, 2015 11:54 AM -0400 Brian Reichert >>> wrote: What does your config file look like? In particular, what does this se

Re: Slapd running very slow

2015-04-21 Thread Howard Chu
Brian Reichert wrote: On Tue, Apr 21, 2015 at 08:23:31AM -0700, Quanah Gibson-Mount wrote: --On Tuesday, April 21, 2015 11:54 AM -0400 Brian Reichert wrote: What does your config file look like? In particular, what does this setting look like for you: # Threads - four per CPU threads 8

Re: Slapd running very slow

2015-04-21 Thread Quanah Gibson-Mount
--On Tuesday, April 21, 2015 12:37 PM -0400 Brian Reichert wrote: 4 per CPU/core was a good rule of thumb with bdb/hdb. So far in playing with back-mdb, it's seemed closer to 2 per CPU/core for me in benchmarking. Useful to note. Has this detail ended up in any docs yet? No, not so far.

Re: Slapd running very slow

2015-04-21 Thread Brian Reichert
On Tue, Apr 21, 2015 at 08:23:31AM -0700, Quanah Gibson-Mount wrote: > --On Tuesday, April 21, 2015 11:54 AM -0400 Brian Reichert > wrote: > >What does your config file look like? > > > >In particular, what does this setting look like for you: > > > > # Threads - four per CPU > > threads 8 > >

Re: Slapd running very slow

2015-04-21 Thread Quanah Gibson-Mount
--On Tuesday, April 21, 2015 11:54 AM -0400 Brian Reichert wrote: On Tue, Apr 21, 2015 at 08:52:29PM +1000, Geoff Swan wrote: I have an ldap server that appears to slow down significantly even under moderate load, and wondered if there were any suggestions as to where to look. Using openlda

Re: Slapd running very slow

2015-04-21 Thread Brian Reichert
On Tue, Apr 21, 2015 at 08:52:29PM +1000, Geoff Swan wrote: > > I have an ldap server that appears to slow down significantly even under > moderate load, and wondered if there were any suggestions as to where to > look. > > Using openldap-2.4.40 with mdb backend, on a dual Xeon (6 cores each) > s

Slapd running very slow

2015-04-21 Thread Geoff Swan
I have an ldap server that appears to slow down significantly even under moderate load, and wondered if there were any suggestions as to where to look. Using openldap-2.4.40 with mdb backend, on a dual Xeon (6 cores each) server with 128GB ram. Linux kernel 3.13, separate ext4 db volume (SAS). Sl