Hi, I'm trying to make a little perf test with MINA (and grizzly) using the echo protocol.
I placed two things in my sandbox : an echoclient and a grizlly echo client. https://svn.apache.org/repos/asf/mina/sandbox/jvermillard/ The echoclient can be ran using few arguments : [number of connection] [hostname] [tcp port] [duration in seconds] It will use 1 Connector to connect X sessions to an echo client and send data waiting for the associated replies, looping for X seconds. I hope it can help you and it would be nice to see the result on your machine :) Julien On Wed, 30 Apr 2008 14:23:34 -0500 DS <[EMAIL PROTECTED]> wrote: > > Hello, > > I am evaluting MINA for a project and I need to evaluate scaling > on a multi-processor system. > > My MINA application is a simple proxy application: > > Machine A Machine B Machine C > > Test Driver <-----> MINA Application <-----> Echo Server > > A test driver establishes one or more connections to the MINA > application. > > The MINA application accepts the connections. Each IoSession > will receive a message and then forward it via a client > connection to the echo server. The echo server simply echos the > message back to the MINA application, which then responds back > to the test driver. > > MINA establishes 32 connections to the echo servers. To ensure > there is no contention in the echo server, we are starting 32 > instances of the echo server. So one connection to each of 32 > echo servers. > > MINA selects an echo server based upon which session received > the inbound message. This simple session selection ensures > there is no contention in the test application itself, as there > is no shared data between sessions. > > The test driver starts with one connection, then 2, 4, 8, 16, and > 32. > > For each set, it ramps up transactions until the rate at which > requests are received deviate from the rate at which requests > are being sent by 5%. > > Questions: > > o Does anyone know of existing test drivers that can be used > here? The test driver must scale and aggregate results with > up to 32 threads, and be capable of out-performing MINA. > > o Are there any things we need to do other than use out-of-the-box > MINA with NioSocketAcceptor and NioSocketConnector? We are > testing on a 32 core Solaris T1000 (Niagara architecture) with > Sun's JRE 1.6. > > Thanks in advance, > David Sundstrom > >
signature.asc
Description: PGP signature
