From owner-freebsd-net Fri May 4 10:32:50 2001 Delivered-To: freebsd-net@freebsd.org Received: from shuttle.wide.toshiba.co.jp (shuttle.wide.toshiba.co.jp [202.249.10.124]) by hub.freebsd.org (Postfix) with ESMTP id E8B4E37B423 for ; Fri, 4 May 2001 10:32:47 -0700 (PDT) (envelope-from jinmei@isl.rdc.toshiba.co.jp) Received: from localhost ([3ffe:8050:201:1860:6dd7:f2d4:7fbf:feff]) by shuttle.wide.toshiba.co.jp (8.9.1+3.1W/8.9.1) with ESMTP id CAA25568; Sat, 5 May 2001 02:31:26 +0900 (JST) Date: Sat, 05 May 2001 02:31:32 +0900 Message-ID: From: JINMEI Tatuya / =?ISO-2022-JP?B?GyRCP0BMQEMjOkgbKEI=?= To: raviprasad20@netscape.net Cc: freebsd-net@FreeBSD.ORG Subject: Re: daemon rtsol In-Reply-To: <7D1E2D78.3A910939.9513E96F@netscape.net> References: <7D1E2D78.3A910939.9513E96F@netscape.net> User-Agent: Wanderlust/2.5.8 (Smooth) Emacs/21.0 Mule/5.0 (SAKAKI) Organization: Research & Development Center, Toshiba Corp., Kawasaki, Japan. MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=US-ASCII X-Dispatcher: imput version 980905(IM100) Lines: 30 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >>>>> On Fri, 04 May 2001 04:58:49 -0400, >>>>> raviprasad20@netscape.net said: > Sending router solicitations is implemented as a daemon. > Can't this daemon be implemented as a part of the kernel itself & called by the timeout() periodically to send the solicitations. It could be. At the first time rtsol was implemented, it was a single command, which issued only a (limited number of) RS(es). In other words, it was a command like ifconfig(8). The command was then rewritten so that it could also act as a daemon, mainly to support nomadic environments. That was the reason why the command (and daemon) was implemented in the user space. > Whether such an implementation is possible? It's of course possible. It is usually possible to implement any kind of kernel stuff which can be implemented in the user space (the opposite direction is not necessarily true), although it is not necessarily a good idea, of course. > Whether such an implementation effects the performance of freeBSD ip6 stack as a whole. I don't know, but at least I suspect that the kernel implementation would not improve the performance, since sending RSes are not so frequent operation. JINMEI, Tatuya Communication Platform Lab. Corporate R&D Center, Toshiba Corp. jinmei@isl.rdc.toshiba.co.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message