Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: High latency in Mina ?: msg#00448

apache.directory.mina.devel

Subject: Re: High latency in Mina ?

Csaba Endre Simon a écrit :

Hi Emmanuel,

Hi Csaba,


I'm a little bit puzzled but some of the results I get. First of all, we are
using MINA-1.0.1, with different JVM (JRockit, IBM, Sun) on different
platforms (Linux, Mac OSx).


The published results are on Linux? What kernel are you using?

It's on MacOSx (intel). It's BSD based. I have also tested it on Fedora Core 5, and on a Suse (2.6.18.2-34-xen #1 SMP, 8 CPU, 64 bits)


I also made some tests with MINA and on the *same* hardware with
*different* Operating Systems I got different results. Tested on Linux
kernel 2.4, Linux kernel 2.6 and Solaris. My server responds with a
lot of small packet to the client request. This approach on kernel 2.6
seems that is 4.5X slower than on kernel 2.4 or Solaris. Traced with
strace it seems that the kernels is descheduling my server
application: the same sized packet sometimes takes a *lot* more time
to send (time spent in system call "write") then normal.

This 4.5X seems like a constant :-) Does not mater if the application
is in C or C++ or Java using MINA. The only way to overcome the 2.6
kernel bad behavior is to buffer all the small packets and send it
onces.

The packet size is not big in my case (no more than 1 kb), and they are sent in one shot (no scattering). The received packets are even smaller (less than 100 bytes).

Thanks,
Emmanuel




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
version-control...    qnx.openqnx.dev...    redhat.rhn.user...    ietf.openpgp/20...    mail.mutt.user/...    web.microformat...    java.sync4j.use...    education.ezpro...    user-groups.blu...    solaris.manager...    org.fitug.debat...    technology.erps...    politics.activi...    linux.redhat.fe...    bug-tracking.ma...    xfce.user/2004-...    hams/2004-11/ms...    kde.users.pim/2...    culture.cooking...    freebsd.devel.x...    gnu.m4.adhoc/20...    ngpt.user/2002-...    apple.fink.deve...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation