Subject: Re: named hostname-lookup rate on NetBSD?
To: Frank van der Linden <>
From: Michael Richardson <>
List: tech-net
Date: 04/10/2000 14:37:34
>>>>> "Frank" == Frank van der Linden <> writes:
    Frank> On Mon, Apr 10, 2000 at 11:32:15AM -0400, Michael Richardson
    Frank> wrote:
    >> As named is not (to my knowledge) multithreaded yet, I guess the
    >> second CPU capability of FreeBSD won't help much.

    Frank> Big lock SMP isn't going to help you much at all if you spend a
    Frank> considerable amount of time in the kernel (which I imagine you
    Frank> will in the named case).  Compile it on Solaris and compare the
    Frank> results :-)

  I would not expect named to spend much time in the kernel. I expect that it
spends most of its *CPU* cycles looking through its in-core database.
  Serving 60 requests/second involves some 180 system calls (assuming
select, read and write for each request). Not a huge deal.
  Still, I'm surprised that the number is so low.

]      Out and about in Ottawa.    hmmm... beer.                |  firewalls  [
]   Michael Richardson, Sandelman Software Works, Ottawa, ON    |net architect[
] |device driver[
] panic("Just another NetBSD/notebook using, kernel hacking, security guy");  [