Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 8402 invoked from network); 28 Mar 2005 11:24:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Mar 2005 11:24:26 -0000 Received: (qmail 19035 invoked by uid 500); 28 Mar 2005 11:24:26 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 18898 invoked by uid 500); 28 Mar 2005 11:24:26 -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 18884 invoked by uid 99); 28 Mar 2005 11:24:25 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE,RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of vinod.p@gmail.com designates 64.233.184.203 as permitted sender) Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (64.233.184.203) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 28 Mar 2005 03:24:25 -0800 Received: by wproxy.gmail.com with SMTP id 69so275563wri for ; Mon, 28 Mar 2005 03:24:23 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=DEc0BnhsJh65oSd+eE1LulktIesWLebEZs5TKM6eRkrRFqZHZJxncoy1NcZZ6chI8jUTRYyz5LFytHl4rCIKrhhOY5MR9LcRFA4cInZvdN+Sq2O8nX/03dRq4RhHxZSsvCOvDXOQL99jbDQ0gudWEevcNTU80txJJfnMSs+QVpk= Received: by 10.54.49.32 with SMTP id w32mr1368497wrw; Mon, 28 Mar 2005 03:24:23 -0800 (PST) Received: by 10.54.28.21 with HTTP; Mon, 28 Mar 2005 03:24:23 -0800 (PST) Message-ID: Date: Mon, 28 Mar 2005 16:54:23 +0530 From: Vinod Panicker Reply-To: Vinod Panicker To: Apache Directory Developers List Subject: Update on MINA test Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Just wanted to update you guys on the latest. 100K+ concurrent connections reached. Setup - - Commented notifyIdleSessions() - Using latest MINA release 159225 - MINA based single-threaded server - Blocking I/O based single-threaded client - Connections fired @ 40/sec - JVM options -Xmn500M -Xms1000M -Xmx1000M - Server on Windows 2003 Server - AthlonXP 2400+ (2 Ghz), 1 GB RAM - Clients on Windows 2003 Server, Windows 2000 Server and Linux 2.6.9-1.667 - Session read buffer size set to 8 bytes Results - - Total concurrent connections - 103432 - JVM mem usage - 541M - JVM VM size - 1.5G - JVM file handles used - 311,392 - CPU usage after reaching max connections - 30% (consistent) - CPU usage during test - 100% (after around 5000 connections) - Connections getting accepted per second degrade but not in a linear manner (around 100K they were going at around 20/sec but sometimes at around 2/sec) Total system wide file handles used - 421919 Total system wide mem usage - 2GB Current problems observed - CPU usage during test is consistently 100% - Memory usage still seems to be on the high side - Connector takes 100% CPU - blocking I/O based client uses around 4% - notifyIdleSessions() not being used Current plan - To try same test with non-MINA based NIO server and client - To try same test with non-MINA based Blocking I/O server and client Basically I want to put a finger on the CPU usage problem. Also, does any one know what the latest sun jdk (1.5.0_02) uses as the impl for select() on linux? Is it select(), poll() or epoll() ? Regards, Vinod.