Re: ypldap: reduce imsg traffic

2023-03-29 Thread A Tammy
On 3/27/23 01:45, Jonathan Matthew wrote: > On systems where we pull in around 100k users from ldap, ypldap uses a > fair bit of memory (over 300MB peak) moving data from the ldapclient process > to the main process. > > The ldapclient process sends each user and group record to the parent proces

ypldap: reduce imsg traffic

2023-03-26 Thread Jonathan Matthew
On systems where we pull in around 100k users from ldap, ypldap uses a fair bit of memory (over 300MB peak) moving data from the ldapclient process to the main process. The ldapclient process sends each user and group record to the parent process in instances of struct idm_req, which includes a 1k