Hi Hansan,

 

There is a setting in the Executor’s config file that governs the number of threads the Executor is running at the same time. This value defaults to 1. You should be able to get 2 threads to execute at the same time if you edit that value and then restart the Executor.

 

If you enable multiple threads then the computer will appear as multiple separate Executors to the Manager and in the Console. The way it does this is by starting multiple listener threads on the Executor.

 

AFAIK the current implementation of multiple threads on the same Executor is currently being reworked by Krishna so things might change a bit in the next version.

 

Regards,

Tibor

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hansan
Sent: Tuesday, August 15, 2006 6:30 AM
To: [email protected]
Subject: [Alchemi-developers] How do you consider hyperthreading ordual-core?

 

Hello,

 

To squeeze last resource out of each grid-node, two threads should be running on the HT/dual-core node. What is Alchemi logic? Does it start more than one executor on the same node? Or request more that one thread from manager? I prefer the second one and use Semaphore instead of ManualResetEvent to implement it. It works. How's your thinking?

 

Regards,

Hansan

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Alchemi-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alchemi-developers

Reply via email to