Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 31862 invoked from network); 28 Dec 2005 03:38:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Dec 2005 03:38:40 -0000 Received: (qmail 39848 invoked by uid 500); 28 Dec 2005 03:38:40 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 39702 invoked by uid 500); 28 Dec 2005 03:38:39 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 39691 invoked by uid 99); 28 Dec 2005 03:38:39 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Dec 2005 19:38:39 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of flyingbug@gmail.com designates 64.233.162.199 as permitted sender) Received: from [64.233.162.199] (HELO zproxy.gmail.com) (64.233.162.199) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Dec 2005 19:38:38 -0800 Received: by zproxy.gmail.com with SMTP id 13so1510441nzn for ; Tue, 27 Dec 2005 19:38:17 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Bp0mUpAqgW51gMJ2yPbHECIX4mKK8mb4FE36dAy6+Gbu/eHsTltIkIcZ4MBcsDR+miCLuJUyH4g3z7N94MYsJuaLiAxZbfKlif4yOmD1lvw4tPf4DZKa7J/4/1LQ3fOrsqHYKbNlw2GEVvOdTR/mnpt71uGxgKkq54Uf4lORr9o= Received: by 10.36.67.19 with SMTP id p19mr5023910nza; Tue, 27 Dec 2005 19:38:17 -0800 (PST) Received: by 10.36.177.13 with HTTP; Tue, 27 Dec 2005 19:38:17 -0800 (PST) Message-ID: <74a3b9360512271938k7543c339o@mail.gmail.com> Date: Wed, 28 Dec 2005 11:38:17 +0800 From: Donald To: dev@directory.apache.org Subject: [MINA] SocketSession take too long to write out a message MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N hi all I test my proxy server used mina-0.8.2 today,and i find the SocketSession from ProtocolConnector take long time to write out a message when i try to write a large number messages in short time to a single socket connection. When i try to write 1000 messages by speed of 30/s,I received sent(ProtocolSession,object) event 17 seconds after i invoke the session.write(object) method.And the IoLoggerFitler got the notification of sent message after 8 seconds after i invoke the write method. I try to modify the ThreadPool's size to 10-1000 ,but the performance hasn't any change. There is no any custom filter in the server . What should i do to improve the performance? -- Donald