RE: deployed same TOMCAT 6.0.20 on Windows / Linux

2009-12-10 Thread Karthik Nanjangude
Hi

 Your previous posts indicated that you were doing some kind of test

Since Most of the Development happens on the WINDOWS 2000 machine,
Delay in dev lifecycles results in time lag for Production /Test cases and 
Deployment

For a  Dev company of 100 People

Tomcat request / Response may be one of these cases

Compared to JBOSS ( With Embedded Tomcat) server usage which we validated and 
found to be wastage of memory / App server usage compared to Web server like 
Tomcat 6.0.20 alone for usage


Also like to mention 1 more test case is we earlier used TOMCAT 5.5.23 on the 
same system's which was never any dev delay cause.



Regards
karthik



-Original Message-
From: André Warnier [mailto:a...@ice-sa.com]
Sent: Wednesday, December 09, 2009 9:38 PM
To: Tomcat Users List
Subject: Re: deployed same TOMCAT 6.0.20 on Windows / Linux

Karthik Nanjangude wrote:
...

 When something is in Production it really gets pickles to upgrade the Jdk /OS 
 , Realy worried   :(

Karthik,
generally speaking, the gurus on this list - of which I am not - tend to
be sceptical about benchmarks.  That is because, as Mark indicated in
another thread a couple of days ago, you can make a benchmark that will
tell you anything you want.
It is incredibly difficult to create a real benchmark that will really
tell you something worthwhile.
The best benchmark you can have, is to use your own application, in
conditions as close as possible to production, and see how it behaves.

Your previous posts indicated that you were doing some kind of test,
presumably to obtain some valid information that you can then use to
deploy an application on one server rather than another.
To get such valid information, you must take a number of precautions,
otherwise your results will be nonsense, and will ultimately lead you to
take the wrong decision.

What the various people answering you so far have tried to do, is to
tell you that, in their more or less expert opinion, the conditions in
which you are doing these tests now, according to the data you provide,
do not so far look as if you would get valid results out of them.

Tomcat runs inside of a Java JVM, which in the principle should isolate
the Java program (in this case Tomcat) from the underlying OS.
There is no reason /in principle/ why a Tomcat application would run
slower under a Windows OS than under a Linux OS.
But there are so many external dependencies, like : the hardware, the
memory available to Java, the Java version itself, your command-line
switches to start Java, the network, what else is running on the
machine, and so on, that this kind of comparison is bound to disappoint
you.  And testing with a HelloWorld JSP page, is in no way comparable to
what will happen to your real application and real server under load.

There exist tools that will issue automatically a number of requests
simultaneously and over a period of time, to a webserver, and that will
produce nice results, sorted in a table, easy to read.
You may be able to use them to issue real requests, to your real
application.  That would be a much better test.
But it will still not compensate from testing on two different servers
which, on the face of it, look like they are quite different, even
abstracting the OS.

And because you are using quite old versions of software, it is unlikely
that anyone of the few people on this list that would be willing to
help, would actually be able to do so.  That is because thay could not
check any result that you have, with a comparable system that they have.



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: [OT] deployed same TOMCAT 6.0.20 on Windows / Linux

2009-12-10 Thread Pid

On 09/12/2009 19:26, Christopher Schultz wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Pid,

On 12/9/2009 1:22 PM, Pid wrote:

On 09/12/2009 18:01, Christopher Schultz wrote:
Pid,

On 12/9/2009 9:15 AM, Pid wrote:

[r...@teleglb bin]# uname -a
Linux teleglb.xius.ltd 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17 EDT
2006
i686 i686 i386 GNU/Linux


So you appear to have 2 processors in the linux machine.


Or maybe three: two i686 and one i386. Sweet!

I've never seen 'uname' spit out multiple and/or different values for
the architecture.


uname -a does on various of my linux servers.  one for each processor
and one for the OS architecture.  a 64bit example:



Linux hostname 2.6.21.7-2.fc8xen #1 SMP Fri Feb 15 12:34:28 EST 2008
x86_64 x86_64 x86_64 GNU/Linux


Interesting. On a dual Xeon (under a VM, which may cloud the issue
somewhat), I only see the one notation from 'uname', while there are
clearly two logical (and probably two physical) processors:

$ uname -a
Linux [hostname] 2.6.26-2-openvz-686 #1 SMP Sun Jun 21 07:07:25 UTC 2009
i686 GNU/Linux

$ cat /proc/cpuinfo
processor   : 0
vendor_id   : GenuineIntel
cpu family  : 15
model   : 4
model name  : Intel(R) Xeon(TM) CPU 3.40GHz
stepping: 10
cpu MHz : 3400.371
cache size  : 2048 KB
physical id : 0
siblings: 2
core id : 0
cpu cores   : 1
apicid  : 0
initial apicid  : 0
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 5
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm
constant_tsc pebs bts pni monitor ds_cpl est cid cx16 xtpr lahf_lm
bogomips: 6807.98
clflush size: 64
power management:

processor   : 1
vendor_id   : GenuineIntel
cpu family  : 15
model   : 4
model name  : Intel(R) Xeon(TM) CPU 3.40GHz
stepping: 10
cpu MHz : 3400.371
cache size  : 2048 KB
physical id : 0
siblings: 2
core id : 0
cpu cores   : 1
apicid  : 1
initial apicid  : 1
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 5
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm
constant_tsc pebs bts pni monitor ds_cpl est cid cx16 xtpr lahf_lm
bogomips: 6800.62
clflush size: 64
power management:

$ uname -i
unknown

$ uname -p
unknown

$ uname -m
i686

I guess the output depends quite a bit on the environment.


Or perhaps, distro?
This is curious.  I think I'll keep an eye out next time I'm on 
different linux variants.



p


- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAksf+d8ACgkQ9CaO5/Lv0PBusgCgljPKF6Nu8Egty9aEcKvfJWIN
aXUAnjp3wKPey+n2wE8jJ405usiXKV22
=Zz2r
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



deployed same TOMCAT 6.0.20 on Windows / Linux

2009-12-09 Thread Karthik Nanjangude
Hi

We have deployed  same  TOMCAT  6.0.20on Windows /  Linux

1)   In case of Windows the Catalina. out is not generated  in  /log  
folder  while  on Linux the same is generated on every start
2)   Tomcat on windows is Slow compared to Linux  in request /response


Why is this ?



Os/  :  Windows 2000 / Linux
JDK   1.5
TOMCAT 6.0.20

With regards
Karthik


Re: deployed same TOMCAT 6.0.20 on Windows / Linux

2009-12-09 Thread Peter Crowther
2009/12/9 Karthik Nanjangude karthik.nanjang...@xius-bcgi.com

 We have deployed  same  TOMCAT  6.0.20on Windows /  Linux


Just to check: in both cases, you downloaded the same installation files
from http://tomcat.apache.org and installed them?

Exactly the same JVM revision on both machines?

Exactly the same hardware configuration on both machines?

Exactly the same amount of memory given to Tomcat on both machines?



 1)   In case of Windows the Catalina. out is not generated  in
  /log  folder  while  on Linux the same is generated on every start
 2)   Tomcat on windows is Slow compared to Linux  in request /response


I could crack jokes about Windows 2000 here, but I won't ;-).



 Why is this ?



 Os/  :  Windows 2000 / Linux
 JDK   1.5


Which revision on each machine?


 TOMCAT 6.0.20

 - Peter


Re: deployed same TOMCAT 6.0.20 on Windows / Linux

2009-12-09 Thread André Warnier

Karthik Nanjangude wrote:

Hi

We have deployed  same  TOMCAT  6.0.20on Windows /  Linux

1)   In case of Windows the Catalina. out is not generated  in  /log  
folder  while  on Linux the same is generated on every start
2)   Tomcat on windows is Slow compared to Linux  in request /response


Why is this ?



Os/  :  Windows 2000 / Linux
JDK   1.5
TOMCAT 6.0.20


Karthik,

You must understand that your second question (if it is a question) is 
impossible to answer : you do not define slow; we know nothing about 
the systems; we know nothing about the measurement system you use; etc.. 
(i could go on for a long time). But in addition, even if we knew all 
that, nobody here has the time to do your homework for you.


About your first question : you did not tell us which Linux you use, or 
where this Tomcat 6.0.20 comes from. You don't tell us which java 1.5 
you use.
You could look into the Tomcat startup scripts, and see where it 
mentions that file Catalina.out.
As for Windows, the same information is probably to find in the Windows 
Event logs (assuming you are running Tomcat as a Service, which you do 
not tell us either).


Also, both Windows 2000 and Java 1.5 are in the no longer supported 
category. So your chances of getting useful answers are limited.


For complementary information, read :
http://catb.org/~esr/faqs/smart-questions.html



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: deployed same TOMCAT 6.0.20 on Windows / Linux

2009-12-09 Thread Karthik Nanjangude
Hi

Os/  :  Windows 2000 / Linux
Same Tomcat 6.0.20 from

http://opensource.become.com/apache/tomcat/tomcat-6/v6.0.20/bin/apache-tomcat-6.0.20.zip



RAM is  2 GB on Linux   on  Windows is 1.5 GB
No extra applications are running when the same was executed

Machine details

Windows 2000
4 CPU 2.66GHz
Service Pack 4

Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode, sharing)


Linux
[r...@teleglb bin]# uname -o
GNU/Linux

[r...@teleglb bin]# uname -a
Linux teleglb.xius.ltd 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17 EDT 2006 i686 
i686 i386 GNU/Linux

[r...@teleglb bin]# uname -i
i386

[r...@teleglb bin]# uname -p
i686

[r...@teleglb bin]# java -version
java version 1.5.0_18
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_18-b02)
Java HotSpot(TM) Server VM (build 1.5.0_18-b02, mixed mode)



 Why is this ?
Need to deploy same  Application over  2 O/s for verifications / validation  of 
Tomcat


 Also, both Windows 2000 and Java 1.5 are in the no longer supported

Off the topic - Does this mean Every Hardware /S/w for 6 months needs 
replacement


With regards
karthik


-Original Message-
From: peter.crowth...@googlemail.com [mailto:peter.crowth...@googlemail.com] On 
Behalf Of Peter Crowther
Sent: Wednesday, December 09, 2009 7:04 PM
To: Tomcat Users List
Subject: Re: deployed same TOMCAT 6.0.20 on Windows / Linux

2009/12/9 Karthik Nanjangude karthik.nanjang...@xius-bcgi.com

 We have deployed  same  TOMCAT  6.0.20on Windows /  Linux


Just to check: in both cases, you downloaded the same installation files
from http://tomcat.apache.org and installed them?

Exactly the same JVM revision on both machines?

Exactly the same hardware configuration on both machines?

Exactly the same amount of memory given to Tomcat on both machines?



 1)   In case of Windows the Catalina. out is not generated  in
  /log  folder  while  on Linux the same is generated on every start
 2)   Tomcat on windows is Slow compared to Linux  in request /response


I could crack jokes about Windows 2000 here, but I won't ;-).



 Why is this ?



 Os/  :  Windows 2000 / Linux
 JDK   1.5


Which revision on each machine?


 TOMCAT 6.0.20

 - Peter

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: deployed same TOMCAT 6.0.20 on Windows / Linux

2009-12-09 Thread Peter Crowther
2009/12/9 Karthik Nanjangude karthik.nanjang...@xius-bcgi.com

 Same Tomcat 6.0.20 from


 http://opensource.become.com/apache/tomcat/tomcat-6/v6.0.20/bin/apache-tomcat-6.0.20.zip


OK.


 RAM is  2 GB on Linux   on  Windows is 1.5 GB
 No extra applications are running when the same was executed


How much of that RAM is given to Tomcat in each case?


 Machine details

 Windows 2000
 4 CPU 2.66GHz
 Service Pack 4


OK.  I can't compare that to the Linux box, as you don't give the same
details.


 Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
 Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode, sharing)


A couple of differences compared to the Linux box:

- A much older JVM, I think - this looks like the original 1.5 release,
compared to 1.5.0_18 on Linux.
- The client VM rather than the server VM is running.

I would expect both of these to slow down the Windows box.

Linux
 [r...@teleglb bin]# uname -o
 GNU/Linux

 [r...@teleglb bin]# uname -a
 Linux teleglb.xius.ltd 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17 EDT 2006
 i686 i686 i386 GNU/Linux

 [r...@teleglb bin]# uname -i
 i386

 [r...@teleglb bin]# uname -p
 i686

 [r...@teleglb bin]# java -version
 java version 1.5.0_18
 Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_18-b02)
 Java HotSpot(TM) Server VM (build 1.5.0_18-b02, mixed mode)


None of this gives any information on number of processors, speed of
processors etc.

As Andre points out, you also don't give any information on the tests you're
running, which makes it difficult to know what you're actually comparing.
For example, if your webapp accesses an external database, the version of
the database software will make a massive difference.

What are you testing?


  Also, both Windows 2000 and Java 1.5 are in the no longer supported

 Off the topic - Does this mean Every Hardware /S/w for 6 months needs
 replacement

 No, but it means you're on your own if something goes wrong.  As with all
businesses, yours needs to trade off the expected cost of upgrade (including
the disruption) with the expected cost of supporting the old versions.

I'm not arguing with you - I still see the odd NT 4.0 box, and several
Windows 98s ;-).

- Peter


Re: deployed same TOMCAT 6.0.20 on Windows / Linux

2009-12-09 Thread Pid

On 09/12/2009 14:12, Peter Crowther wrote:

2009/12/9 Karthik Nanjangudekarthik.nanjang...@xius-bcgi.com


Same Tomcat 6.0.20 from


http://opensource.become.com/apache/tomcat/tomcat-6/v6.0.20/bin/apache-tomcat-6.0.20.zip



OK.



RAM is  2 GB on Linux   on  Windows is 1.5 GB
No extra applications are running when the same was executed



How much of that RAM is given to Tomcat in each case?



Machine details

Windows 2000
4 CPU 2.66GHz
Service Pack 4



OK.  I can't compare that to the Linux box, as you don't give the same
details.



Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode, sharing)



A couple of differences compared to the Linux box:

- A much older JVM, I think - this looks like the original 1.5 release,
compared to 1.5.0_18 on Linux.
- The client VM rather than the server VM is running.

I would expect both of these to slow down the Windows box.

Linux

[r...@teleglb bin]# uname -o
GNU/Linux

[r...@teleglb bin]# uname -a
Linux teleglb.xius.ltd 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17 EDT 2006
i686 i686 i386 GNU/Linux


So you appear to have 2 processors in the linux machine.

p



[r...@teleglb bin]# uname -i
i386

[r...@teleglb bin]# uname -p
i686

[r...@teleglb bin]# java -version
java version 1.5.0_18
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_18-b02)
Java HotSpot(TM) Server VM (build 1.5.0_18-b02, mixed mode)



None of this gives any information on number of processors, speed of
processors etc.

As Andre points out, you also don't give any information on the tests you're
running, which makes it difficult to know what you're actually comparing.
For example, if your webapp accesses an external database, the version of
the database software will make a massive difference.

What are you testing?



Also, both Windows 2000 and Java 1.5 are in the no longer supported


Off the topic - Does this mean Every Hardware /S/w for 6 months needs
replacement

No, but it means you're on your own if something goes wrong.  As with all

businesses, yours needs to trade off the expected cost of upgrade (including
the disruption) with the expected cost of supporting the old versions.

I'm not arguing with you - I still see the odd NT 4.0 box, and several
Windows 98s ;-).

- Peter




-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: deployed same TOMCAT 6.0.20 on Windows / Linux

2009-12-09 Thread André Warnier

Karthik Nanjangude wrote:



Also, both Windows 2000 and Java 1.5 are in the no longer supported


Off the topic - Does this mean Every Hardware /S/w for 6 months needs 
replacement


Not really off the topic, if you are talking about comparisons and 
benchmarks.

http://java.sun.com/products/archive/eol.policy.html
This is a fast-moving technical area.
After 6 months, no. After 5+ years, probably yes.

I have heard that in terms of computers, it was like with dogs. If you 
want to compare this with a human timespan, you should multiply by 7.

So your Java is 35 years old, in internet-years terms.
Your Windows OS is even older.
Your Linux kernel, from the number, dates from about 2005, so it is 20 
internet years old.


One of your systems seems to be 64-bit, the other seems to be 32-bit.

My point was : if you are trying to measure things for comparative 
performance, and you want people here to help you figure out possible 
differences, you should not pick machines and OS's which not many people 
are using anymore.  That strongly reduces the number of people /able/ to 
help you.


You still did not tell us what you are measuring, or how you are 
measuring it.  And you did not tell us your definition of slow (or 
slower).  Like, is one system processing 100 similar transactions per 
second, and the other one only 98 ?


And you obviously did not read the link I referred you to.
The main point is : people here /donate/ their time to answer questions. 
 The least you can do is to make your questions attractive and answerable.




-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: deployed same TOMCAT 6.0.20 on Windows / Linux

2009-12-09 Thread David kerber

Peter Crowther wrote:

...


- A much older JVM, I think - this looks like the original 1.5 release,
compared to 1.5.0_18 on Linux.
- The client VM rather than the server VM is running.

I would expect both of these to slow down the Windows box.


Especially the client vs server vm, IME.

D

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: deployed same TOMCAT 6.0.20 on Windows / Linux

2009-12-09 Thread Karthik Nanjangude
Hi

As Andre points out, you also don't give any information on the tests you're 
running, which makes it difficult to know what you're actually comparing.
For example, if your webapp accesses an external database, the version of the 
database software will make a massive difference.


Most of the development happens on the Individual Dev's system
 Windows 2000

While the deployment is on the Linux Box for final product integration /Load 
test

Forget the web application with DB /Connection / 

A Single Simple JSP ( Hello world )
is taking longer on both browsers   IE 6 /FireFox 3



 both Windows 2000 and Java 1.5 are in the no longer supported

When something is in Production it really gets pickles to upgrade the Jdk /OS , 
Realy worried   :(


With regards
Karthik







-Original Message-
From: peter.crowth...@googlemail.com [mailto:peter.crowth...@googlemail.com] On 
Behalf Of Peter Crowther
Sent: Wednesday, December 09, 2009 7:43 PM
To: Tomcat Users List
Subject: Re: deployed same TOMCAT 6.0.20 on Windows / Linux

2009/12/9 Karthik Nanjangude karthik.nanjang...@xius-bcgi.com

 Same Tomcat 6.0.20 from


 http://opensource.become.com/apache/tomcat/tomcat-6/v6.0.20/bin/apache-tomcat-6.0.20.zip


OK.


 RAM is  2 GB on Linux   on  Windows is 1.5 GB
 No extra applications are running when the same was executed


How much of that RAM is given to Tomcat in each case?


 Machine details

 Windows 2000
 4 CPU 2.66GHz
 Service Pack 4


OK.  I can't compare that to the Linux box, as you don't give the same
details.


 Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
 Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode, sharing)


A couple of differences compared to the Linux box:

- A much older JVM, I think - this looks like the original 1.5 release,
compared to 1.5.0_18 on Linux.
- The client VM rather than the server VM is running.

I would expect both of these to slow down the Windows box.

Linux
 [r...@teleglb bin]# uname -o
 GNU/Linux

 [r...@teleglb bin]# uname -a
 Linux teleglb.xius.ltd 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17 EDT 2006
 i686 i686 i386 GNU/Linux

 [r...@teleglb bin]# uname -i
 i386

 [r...@teleglb bin]# uname -p
 i686

 [r...@teleglb bin]# java -version
 java version 1.5.0_18
 Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_18-b02)
 Java HotSpot(TM) Server VM (build 1.5.0_18-b02, mixed mode)


None of this gives any information on number of processors, speed of
processors etc.

As Andre points out, you also don't give any information on the tests you're
running, which makes it difficult to know what you're actually comparing.
For example, if your webapp accesses an external database, the version of
the database software will make a massive difference.

What are you testing?


  Also, both Windows 2000 and Java 1.5 are in the no longer supported

 Off the topic - Does this mean Every Hardware /S/w for 6 months needs
 replacement

 No, but it means you're on your own if something goes wrong.  As with all
businesses, yours needs to trade off the expected cost of upgrade (including
the disruption) with the expected cost of supporting the old versions.

I'm not arguing with you - I still see the odd NT 4.0 box, and several
Windows 98s ;-).

- Peter

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: deployed same TOMCAT 6.0.20 on Windows / Linux

2009-12-09 Thread David kerber

Karthik Nanjangude wrote:

Hi


As Andre points out, you also don't give any information on the tests you're 
running, which makes it difficult to know what you're actually comparing.

For example, if your webapp accesses an external database, the version of the 
database software will make a massive difference.


Most of the development happens on the Individual Dev's system
 Windows 2000

While the deployment is on the Linux Box for final product integration /Load 
test

Forget the web application with DB /Connection / 

A Single Simple JSP ( Hello world )
is taking longer on both browsers   IE 6 /FireFox 3




both Windows 2000 and Java 1.5 are in the no longer supported


When something is in Production it really gets pickles to upgrade the Jdk /OS , 
Realy worried   :(


You should be able to update to the last jre 5 version with no trouble 
at all, and 6 will have about a 95% chance of working with no issues. 
Those don't take long (only a few minutes), and you can wait a while 
before upgrading the OS.


D

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: deployed same TOMCAT 6.0.20 on Windows / Linux

2009-12-09 Thread André Warnier

Karthik Nanjangude wrote:
...


When something is in Production it really gets pickles to upgrade the Jdk /OS , 
Realy worried   :(


Karthik,
generally speaking, the gurus on this list - of which I am not - tend to 
be sceptical about benchmarks.  That is because, as Mark indicated in 
another thread a couple of days ago, you can make a benchmark that will 
tell you anything you want.
It is incredibly difficult to create a real benchmark that will really 
tell you something worthwhile.
The best benchmark you can have, is to use your own application, in 
conditions as close as possible to production, and see how it behaves.


Your previous posts indicated that you were doing some kind of test, 
presumably to obtain some valid information that you can then use to 
deploy an application on one server rather than another.
To get such valid information, you must take a number of precautions, 
otherwise your results will be nonsense, and will ultimately lead you to 
take the wrong decision.


What the various people answering you so far have tried to do, is to 
tell you that, in their more or less expert opinion, the conditions in 
which you are doing these tests now, according to the data you provide, 
do not so far look as if you would get valid results out of them.


Tomcat runs inside of a Java JVM, which in the principle should isolate 
the Java program (in this case Tomcat) from the underlying OS.
There is no reason /in principle/ why a Tomcat application would run 
slower under a Windows OS than under a Linux OS.
But there are so many external dependencies, like : the hardware, the 
memory available to Java, the Java version itself, your command-line 
switches to start Java, the network, what else is running on the 
machine, and so on, that this kind of comparison is bound to disappoint 
you.  And testing with a HelloWorld JSP page, is in no way comparable to 
what will happen to your real application and real server under load.


There exist tools that will issue automatically a number of requests 
simultaneously and over a period of time, to a webserver, and that will 
produce nice results, sorted in a table, easy to read.
You may be able to use them to issue real requests, to your real 
application.  That would be a much better test.
But it will still not compensate from testing on two different servers 
which, on the face of it, look like they are quite different, even 
abstracting the OS.


And because you are using quite old versions of software, it is unlikely 
that anyone of the few people on this list that would be willing to 
help, would actually be able to do so.  That is because thay could not 
check any result that you have, with a comparable system that they have.




-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: [OT] deployed same TOMCAT 6.0.20 on Windows / Linux

2009-12-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Pid,

On 12/9/2009 9:15 AM, Pid wrote:
 [r...@teleglb bin]# uname -a
 Linux teleglb.xius.ltd 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17 EDT
 2006
 i686 i686 i386 GNU/Linux
 
 So you appear to have 2 processors in the linux machine.

Or maybe three: two i686 and one i386. Sweet!

I've never seen 'uname' spit out multiple and/or different values for
the architecture.

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAksf5eoACgkQ9CaO5/Lv0PA7IgCeI+5oP0IZeWmyrUM48Cn3QpSL
RdwAnAhWVRHK0Wzw7OhuoOEXR4peddzH
=umvo
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: [OT] deployed same TOMCAT 6.0.20 on Windows / Linux

2009-12-09 Thread Pid

On 09/12/2009 18:01, Christopher Schultz wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Pid,

On 12/9/2009 9:15 AM, Pid wrote:

[r...@teleglb bin]# uname -a
Linux teleglb.xius.ltd 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17 EDT
2006
i686 i686 i386 GNU/Linux


So you appear to have 2 processors in the linux machine.


Or maybe three: two i686 and one i386. Sweet!

I've never seen 'uname' spit out multiple and/or different values for
the architecture.


uname -a does on various of my linux servers.  one for each processor 
and one for the OS architecture.  a 64bit example:


Linux hostname 2.6.21.7-2.fc8xen #1 SMP Fri Feb 15 12:34:28 EST 2008 
x86_64 x86_64 x86_64 GNU/Linux



p


- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAksf5eoACgkQ9CaO5/Lv0PA7IgCeI+5oP0IZeWmyrUM48Cn3QpSL
RdwAnAhWVRHK0Wzw7OhuoOEXR4peddzH
=umvo
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: [OT] deployed same TOMCAT 6.0.20 on Windows / Linux

2009-12-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Pid,

On 12/9/2009 1:22 PM, Pid wrote:
 On 09/12/2009 18:01, Christopher Schultz wrote:
 Pid,
 
 On 12/9/2009 9:15 AM, Pid wrote:
 [r...@teleglb bin]# uname -a
 Linux teleglb.xius.ltd 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17 EDT
 2006
 i686 i686 i386 GNU/Linux

 So you appear to have 2 processors in the linux machine.
 
 Or maybe three: two i686 and one i386. Sweet!
 
 I've never seen 'uname' spit out multiple and/or different values for
 the architecture.
 
 uname -a does on various of my linux servers.  one for each processor
 and one for the OS architecture.  a 64bit example:
 
 Linux hostname 2.6.21.7-2.fc8xen #1 SMP Fri Feb 15 12:34:28 EST 2008
 x86_64 x86_64 x86_64 GNU/Linux

Interesting. On a dual Xeon (under a VM, which may cloud the issue
somewhat), I only see the one notation from 'uname', while there are
clearly two logical (and probably two physical) processors:

$ uname -a
Linux [hostname] 2.6.26-2-openvz-686 #1 SMP Sun Jun 21 07:07:25 UTC 2009
i686 GNU/Linux

$ cat /proc/cpuinfo
processor   : 0
vendor_id   : GenuineIntel
cpu family  : 15
model   : 4
model name  : Intel(R) Xeon(TM) CPU 3.40GHz
stepping: 10
cpu MHz : 3400.371
cache size  : 2048 KB
physical id : 0
siblings: 2
core id : 0
cpu cores   : 1
apicid  : 0
initial apicid  : 0
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 5
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm
constant_tsc pebs bts pni monitor ds_cpl est cid cx16 xtpr lahf_lm
bogomips: 6807.98
clflush size: 64
power management:

processor   : 1
vendor_id   : GenuineIntel
cpu family  : 15
model   : 4
model name  : Intel(R) Xeon(TM) CPU 3.40GHz
stepping: 10
cpu MHz : 3400.371
cache size  : 2048 KB
physical id : 0
siblings: 2
core id : 0
cpu cores   : 1
apicid  : 1
initial apicid  : 1
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 5
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm
constant_tsc pebs bts pni monitor ds_cpl est cid cx16 xtpr lahf_lm
bogomips: 6800.62
clflush size: 64
power management:

$ uname -i
unknown

$ uname -p
unknown

$ uname -m
i686

I guess the output depends quite a bit on the environment.

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAksf+d8ACgkQ9CaO5/Lv0PBusgCgljPKF6Nu8Egty9aEcKvfJWIN
aXUAnjp3wKPey+n2wE8jJ405usiXKV22
=Zz2r
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org