From owner-freebsd-cluster@FreeBSD.ORG Mon Jun 6 00:45:37 2005 Return-Path: X-Original-To: freebsd-cluster@freebsd.org Delivered-To: freebsd-cluster@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0ED5916A41C for ; Mon, 6 Jun 2005 00:45:37 +0000 (GMT) (envelope-from shiner_chen@yahoo.com.cn) Received: from web15507.mail.cnb.yahoo.com (web15507.mail.cnb.yahoo.com [202.165.102.36]) by mx1.FreeBSD.org (Postfix) with SMTP id 3C71B43D53 for ; Mon, 6 Jun 2005 00:45:35 +0000 (GMT) (envelope-from shiner_chen@yahoo.com.cn) Received: (qmail 53419 invoked by uid 60001); 6 Jun 2005 00:45:35 -0000 Message-ID: <20050606004535.53417.qmail@web15507.mail.cnb.yahoo.com> Received: from [61.187.16.2] by web15507.mail.cnb.yahoo.com via HTTP; Mon, 06 Jun 2005 08:45:34 CST Date: Mon, 6 Jun 2005 08:45:34 +0800 (CST) From: shiner chen To: freebsd-cluster@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: how to active the received function when the data arrived the socket in kld X-BeenThere: freebsd-cluster@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Clustering FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jun 2005 00:45:37 -0000 Inorder to impliment the dynamic load freeback policy ,I wrote a kld on the front-end of cluster server for collecting the load of back nodes. I don't want the acceptive thread to detect the data arrived socket continuously,because ,which will affect the performance of the front-end.i want to know whether i can active the acceptive thread to receive the data when the data arrive the socket established. how shuld i do in the kernel ? thanks!! --------------------------------- DO YOU YAHOO!? 雅虎免费G邮箱-中国最强免费防毒反垃圾超大邮箱