1- Let's move this to JBoss Dev
2- If there is no sleep I know it eats up a lot, but frankly I trust simone,
and the container is SUPER fast at the moment, so I am waiting for Simone to
give us an introduction so we can peer-review this deeply

marc

|-----Original Message-----
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]]On Behalf Of Alexander
|Kogan
|Sent: Wednesday, March 21, 2001 10:07 AM
|To: [EMAIL PROTECTED]
|Subject: Re: [JBoss-user] LOCKING-WAITING
|
|
|marc fleury wrote:
|>
|> Just out of curiousity Simone...
|>
|> when we benched at SUN one of the big difference under load was
|the thread
|> management.
|>
|> The best in terms of resource usage was put the thread to sleep (with a 5
|> sec timeout) and notify (1) and that REALLY flew and scaled REALLY well
|> because the usage of CPU and sync was really low.
|
|This would be very good idea. For now, especially on Tru64 with JDK 1.3-1
|LOKING-WAITING stuff eats a lot CPU and much more slow than on Sun.
|
|And why do we need timeout there? Is it possible to implement a sort
|of queue for that? Than you can put a new thread to the waiting list and
|when the current thread is done with the transaction it can call
|notify to release the tread from the waiting list.
|Am I talking junk?
|
|>
|> Do you put the threads to sleep in the current code base? I
|couldn't go down
|> and look for myself, plus a little introduction on what you did
|with the new
|> structure of cache sync would be helpful.
|
|As far as I can see from the code - no. Again, sorry if I am mistaken.
|
|>
|> regards
|>
|> torquemada
|--
|__________________________________________________
|Alexander Kogan  PTC   www.ptc.com
|[EMAIL PROTECTED]    140 Kendrick St. Needham MA 02494
|
|_______________________________________________
|JBoss-user mailing list
|[EMAIL PROTECTED]
|http://lists.sourceforge.net/lists/listinfo/jboss-user


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to