Quoting Greg 'groggy' Lehey <[EMAIL PROTECTED]> (Sun, 20 May 2007 14:24:28 +0930):
> On Saturday, 19 May 2007 at 21:43:35 -0700, Doug Barton wrote: > > In the past we've avoided adding entries to /etc/services that were > > not actually being used by something we care about since every extra > > entry increases response time for getservby*() calls. > > Understood. It's a factor I thought about. > > > Do we feel this is no longer a factor worth worrying about? > > It's certainly worth worrying about, and I thought about it before > committing. My thoughts: > > - Clearly a lot of this stuff was just corrections. > - We don't know in advance which IP ports are used by ports from the > Ports Collection. > - Maybe the performance issue isn't that serious after all. > > To quote from services(5): > > BUGS > A name server should be used instead of a static file. > > I was just thinking that it might be relatively simple to build a > "compiled" file in tabular format and then mmap it. That should be > relatively simple, and should greatly improve performance modulo mmap > overhead. How does the mmap overhead compare with querying a name > server? man cached Bye, Alexander. -- If everything is coming your way, you're in the wrong lane. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "[EMAIL PROTECTED]"