Date: Mon, 7 Oct 2024 18:33:51 +0300 From: Marek Zarychta <zarychtam@plan-b.pwste.edu.pl> To: David Cross <dcrosstech@gmail.com> Cc: freebsd-hackers@freebsd.org Subject: Re: Review D38047 ... and then there was one.... Message-ID: <a9b5e3e7-904f-46be-ab0e-068c6e6fef0a@plan-b.pwste.edu.pl> In-Reply-To: <DB1FFEBD-1FD4-43A5-9899-85C6DD292E3E@gmail.com> References: <1fd47603-0bf2-4fcf-a556-22335d99e203@plan-b.pwste.edu.pl> <DB1FFEBD-1FD4-43A5-9899-85C6DD292E3E@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
W dniu 7.10.2024 o 07:05, David Cross pisze:
> How many entries are in your ldap structure? I can attempt a replication here
Hello David,
I will rather not expose it publicly. Whole LDAP directory contains few
thousand entries - and it was was used for the tests mentioned in this
thread.
With the filters applied I see below 1k entries, and then lookup with
nsdc running takes: first lookup 0.16s, next lookups 0.09s, while
without nscd it varies from 0.12 to 0.08 - so nscd performs OK.
I have your patch applied and I am still testing it with
net/nss-pam-ldapd from ports with patch for login classes applied (it's
present in port but not enabled by default). So far it works without issues.
--
Marek Zarychta
[-- Attachment #2 --]
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>W dniu 7.10.2024 o 07:05, David Cross pisze: </p>
<blockquote type="cite"
cite="mid:DB1FFEBD-1FD4-43A5-9899-85C6DD292E3E@gmail.com">
<pre wrap="" class="moz-quote-pre">How many entries are in your ldap structure? I can attempt a replication here</pre>
</blockquote>
<p>Hello David, <br>
</p>
<p>I will rather not expose it publicly. Whole LDAP directory
contains few thousand entries - and it was was used for the tests
mentioned in this thread.</p>
<p>With the filters applied I see below 1k entries, and then lookup
with nsdc running takes: first lookup 0.16s, next lookups 0.09s,
while without nscd it varies from 0.12 to 0.08 - so nscd performs
OK. <br>
</p>
<p>I have your patch applied and I am still testing it with
net/nss-pam-ldapd from ports with patch for login classes applied
(it's present in port but not enabled by default). So far it works
without issues.<br>
</p>
<p><span style="white-space: pre-wrap">
</span></p>
<pre class="moz-signature" cols="72">--
Marek Zarychta</pre>
</body>
</html>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a9b5e3e7-904f-46be-ab0e-068c6e6fef0a>
