Hi bodies,
Has anyone any experience with DatagramAcceptor about my problem?

Murat

---------- Forwarded message ----------
From: Murat ÖZDEMiR <[EMAIL PROTECTED]>
Date: 23.Kas.2007 15:04
Subject: ! DatagramAcceptor message read throughput problem.
To: [email protected]



Dear friends,

i've a problem with DatagramAcceptor.

Clients send 70 bytes data in one UDP packet. Server sends ACK to them (25
bytes). If clients cannot get ACK message in 5 seconds after sending
message, they try to send messages again.
First messageReceived method is fired then server writes ACK message into
session. i've put logger in messageReceived and messageSent method in my
IoHandler. I took a look at log files saw that first 118 messages are
received and ACKs are sent after starting the server. But it seems MINA is
not able to handle incoming messages quickly and Windows 2003 Server UDP
buffer overflows. So, MINA can't get the whole packets. 118 messages x 70
bytes = 8260 bytes ~8kB (OS Default UDP 8 kB). Message read throughput of
MINA seems only 20-30 messages per second. When i increase the UDP buffer
size of OS, MINA cannot send ACK to the clients in time so clients send
messages again. So increasing buffer size didn't work.
*I need to improve message read throughput of MINA*.
What do you advice?

Any help will be appriciated.

NOTE - 1:
System Information:
Apache Mina version: 1.1.0
OS: Windows 2003 Server R2 Enterprise x64 Edition with SP2
HW: IBM xSeries 226 Type 8488 Intel(R) Xeon(TM) CPU 3.00 GHz 8.00 GB of RAM

NOTE - 2:
I've tried to use MINA 1.1.4 but nothing changed.

Murat OZDEMiR


-- 
Murat ÖZDEMİR
Elektronik Mühendisi

Reply via email to