-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Gilbert,

Gilbert, Antoine wrote:
| My english is not very good, I'll try to explain again
|
| For example, my test outside of Tomcat
|
|   for(int i=0;i<8;i++){
|       Thread t = new Thread(new Runner());
|       t.setDaemon(true);
|       t.start();
|       if(i==7)
|         t.join();
|   }
|
| My Runner class do some image rendering test...
|
| If I run this directly using Java.exe all is fine, 100% of the 8 CPU are
| used and it run fast..
|
| If I create a JSP and put the Runner code in it, I open 8 browser
| windows to launch 8 process via Tomcat, it run slow and it's using like
| 30% of all CPU...

Er... if you run that code above 8 times, you're running 64 image
rendering operations, not 8. Is that what you meant to do?

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

iEYEARECAAYFAkgfEuYACgkQ9CaO5/Lv0PDBOgCePe1BSqxvMRdmK4Dik6kduhBY
uNYAniKp/nwyaInZYy3ptbHXINwLiJIk
=DyJ7
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to