Howdy, I understand and agree with your considerations. The only thing I asked was very simple: how fast does the same call perform on a different platform. Not the overall application, not DB queries, just the exact same line of code (which has four function calls).
Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: Yonatan Goraly [mailto:[EMAIL PROTECTED] >Sent: Monday, November 24, 2003 2:55 PM >To: Tomcat Users List >Subject: Re: Slow on Linux > >The same application is deployed on multiple Windows boxes, with >excellent performance (unless there is a heavy DB query involved, with a >fast network and client machine the response seems to be instant with >servers that should be dwarfed by this one). >As we start to provide hosted services, the cost of the OS and DB become >significant, that is the reason for evaluating Linux. I have selected >AMD Opteron since I know that I can fall back to 32 bit OS if the 64 bit >is not stable, and that it performs very well in that scenario. I >started with Mandrake since it was possible to download ISO images, but >I have also ordered an AMD 64 version of SUSE LINUX, since they have >better support for that platform. >Just to be able to compare, I will install Windows 2000 on the server as >well. >IMHO, if the performance I see is within the expected range, Windows is >a much better OS for that purpose. >I have read about performance issues related to Java java using OS >threads in Linux, that should be resolved in the 2.6 version of the >kernel - might that be related? Red hat have published that they have a >solution implemented in their current products, the only problem is that >the price is high > >Shapira, Yoav wrote: > >>Howdy, >>First of all, how fast was the forward call on another platform? >> >>OTOH, 500ms for the line of code you gave below is not that atrocious. >>Both the getRequestDispatcher and forward calls are not lightweight. >> >>Yoav Shapira >>Millennium ChemInformatics >> >> >> >> >>>-----Original Message----- >>>From: Yonatan Goraly [mailto:[EMAIL PROTECTED] >>>Sent: Monday, November 24, 2003 2:17 AM >>>To: Tomcat Users List >>>Subject: Slow on Linux >>> >>>I am in the process of evaluating Linux as a server platform for my >>>application (this is my first Linux experience). >>>The environment is: >>>- Single AMD Opteron 1.8 GHz >>>- Tyan motherboard with 1 GB memory >>>- Mandrake Linux 9.2 AMD64 RC1 >>>- SUN JDK 1.4.2_02 >>>- Tomcat 4.29, without Apache web server >>> >>>The first impression is that the application is extremely slow. I found >>>out that calling >>>getServletConfig().getServletContext().getRequestDispatcher(url).forw ar >>> >>> >>d(re >> >> >>>quest, >>>response); can take about 500 ms (I put one log command before the >>> >>> >>call, >> >> >>>and the other at the beginning of the forwarded JSP page, so I know >>> >>> >>that >> >> >>>the only call my application does between the log commands is the >>>forward call) >>> >>>Please advise >>> >>> >>>--------------------------------------------------------------------- >>>To unsubscribe, e-mail: [EMAIL PROTECTED] >>>For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >> >> >> >> >>This e-mail, including any attachments, is a confidential business >communication, and may contain information that is confidential, >proprietary and/or privileged. This e-mail is intended only for the >individual(s) to whom it is addressed, and may not be saved, copied, >printed, disclosed or used by anyone else. If you are not the(an) intended >recipient, please immediately delete this e-mail from your computer system >and notify the sender. Thank you. >> >> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: [EMAIL PROTECTED] >>For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> >> > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
