Did you post a message earlier about using isprobableprime() stuff?
<SARCASM>
If so, this must be a JVM bug. You should be able to crack all known
encryption systems in a few seconds on a x386. Mail Lenstra for more
details.
</SARCASM>
Seriously, do you think it is possible that if you are doing some
computationally
intensive stuff you really are using CPU ? Are you doing crypto or
factoring
or something? Even if you are asking about your thread scheduler, there
still really
isn't enough info to make a useful statement. I think your problem is
that
you aren't running under Windoze... 


->-----Original Message-----
->From: Rasoul Hajikhani [mailto:[EMAIL PROTECTED]]
->Sent: Wednesday, September 19, 2001 4:09 PM
->To: [EMAIL PROTECTED]
->Subject: Threads and top
->
->
->Hello there,
->I have just written a java servlet using threads, with LOW_PRIORITY.
->However, here is what I get after I run top:
->
->      PID       PGRP USERNAME PRI  SIZE   RES STATE    TIME WCPU% CPU%
->COMMAND
->    161818     161406 root      20   82M   14M ready    0:56 
->39.3 95.15
->java
->
->
->Is this a normal behavior expected of threads in java. The number that
->concerns me is CPU%. And this was consistent until thread 
->died, hovering
->between 85 - 95. I may be doing something wrong!! but the problem is
->that I just made a single request and had most of my CPU resources
->consumed by the thread. Has anyone else observed the same 
->results? Am I
->paying attention to wrong numbers? can some one shed some 
->light on this
->matter?
->Thanks
->-r
->
->______________________________________________________________
->_____________
->To unsubscribe, send email to [EMAIL PROTECTED] and 
->include in the body
->of the message "signoff SERVLET-INTEREST".
->
->Archives: http://archives.java.sun.com/archives/servlet-interest.html
->Resources: 
->http://java.sun.com/products/servlet/external-resources.html
->LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
->
->

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to