Subject: Re: Switching /etc/services to a .db file (was: CVS commit: src/etc)
To: None <tech-userlevel@NetBSD.org>
From: SODA Noriyuki <firstname.lastname@example.org>
Date: 08/17/2005 21:24:05
>>>>> On Wed, 17 Aug 2005 08:24:26 +0200,
Bernd Ernesti <email@example.com> said:
>> If we make our libc use a .db file for /etc/services, it should be
>> safe to import the entire IANA file -- and probably a good idea, too.
> As long as it it easy to add new local entries.
And if the machine has enough space in the root partition.
Since a DB file with 10,000 entries probaby use more than 4MB.
>>>>> On Wed, 17 Aug 2005 08:04:50 -0400,
Perry E. Metzger <firstname.lastname@example.org> said:
> > And how much overhead would that cause on busy servers?
> Much less, of course.
Have you measured?
It may be rather slower, because 4MB DB file may require disk seeks,
and today's 13KB file will be always completely cached in the page