From owner-freebsd-hackers Wed Sep 1 0:43:18 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from axl.noc.iafrica.com (axl.noc.iafrica.com [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id D205714E4E for ; Wed, 1 Sep 1999 00:43:01 -0700 (PDT) (envelope-from sheldonh@axl.noc.iafrica.com) Received: from sheldonh (helo=axl.noc.iafrica.com) by axl.noc.iafrica.com with local-esmtp (Exim 3.02 #1) id 11M519-0002UI-00; Wed, 01 Sep 1999 09:41:15 +0200 From: Sheldon Hearn To: Jaye Mathisen Cc: hackers@freebsd.org Subject: Re: Minor patches to pwd_mkdb In-reply-to: Your message of "Tue, 31 Aug 1999 18:29:58 MST." Date: Wed, 01 Sep 1999 09:41:15 +0200 Message-ID: <9565.936171675@axl.noc.iafrica.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 31 Aug 1999 18:29:58 MST, Jaye Mathisen wrote: > Got tired of the dinky cachesize for pwd_mkdb, especially since vipw > doesn't take advantage of the -u or -s options. Vipw doesn't take advantage of the -u option? I must have read through the code too fast. > Dramatically helps on those 10-15k line password files. What impact does your patch have on a loaded machine? Since vipw already knows how many lines there are in the file, surely we could get it to approximate an ideal cache size and pass it as the argument to pwd_mkdb's -s option? Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message