Subject: Re: 3.0 YP lookup latency
To: Christos Zoulas <christos@astron.com>
From: SODA Noriyuki <soda@sra.co.jp>
List: tech-net
Date: 06/21/2006 10:51:20
>>>>> On Tue, 20 Jun 2006 19:31:40 +0000 (UTC),
christos@astron.com (Christos Zoulas) said:
>> $ time id smj
>> load: 0.35 cmd: id 16846 [poll] 0.12u 0.20s 0% 1472k
>> load: 0.35 cmd: id 16846 [poll] 0.24u 0.41s 2% 1472k
>> load: 0.35 cmd: id 16846 [poll] 0.43u 0.69s 4% 1472k
>> load: 0.32 cmd: id 16846 [poll] 0.53u 0.84s 4% 1472k
>> load: 0.32 cmd: id 16846 [poll] 0.58u 0.93s 5% 1472k
>> uid=1001(smj) gid=0(wheel)
>> groups=0(wheel),500(arpa),800(instructor),600(MetaARPA)
>> 16.16s real 1.65s user 2.65s system
eww, 16 seconds.
> I think that this is an issue with the rpc library. I forget the exact
> bug report now. Do you have the same problem in current?
I'm using NetBSD 3.0/i386 as a NIS client without the problem.
% uname -a
NetBSD srapc765.sra.co.jp 3.0 NetBSD 3.0 (GENERIC) #0: Mon Dec 19 01:04:02 UTC 2005 builds@works.netbsd.org:/home/builds/ab/netbsd-3-0-RELEASE/i386/200512182024Z-obj/home/builds/ab/netbsd-3-0-RELEASE/src/sys/arch/i386/compile/GENERIC i386
% ps agxuw|grep ypbind
root 401 0.0 0.3 148 784 ? Ss Sat01PM 0:11.26 /usr/sbin/ypbind
% /usr/bin/time id soda
uid=2924(soda) gid=2000(mmb) groups=2000(mmb),0(wheel),5(operator),9(wsrc),31750(etl),70(pgsql),72(authpf)
0.14 real 0.05 user 0.03 sys
What's the difference?
--
soda