Hi,
On Mon, 09 Nov 1998, Keith T. Garner wrote:
>I've been experimenting with the new native threading code, beating on it
>to see how it holds up, doing that sort of beta test that people dream of.
>(I've found a memory bug, but that's for a different piece of mail...)
>
>Anyway, while watching the process table, I noticed that most of the
>threads that are created are niced to at least 5, with one or two being at
>10, and another one or two (my threads?) are at 0. I figured the thread
>that was niced at 10 is the garbage collectiong thread, and a few of the
>other threads at 5 are created by the VM at start-up for various VM tasks.
>
>This got me curios as to what determines the niceness. By the java spec,
>thread priorities can be ignored, but I'm wondering that if in this case,
>are thread priorities being mapped to a niceness level?
>
>Any comments?
I did a lot of the port. I mapped Java priority 10 to Linux priority 0 and
Java Priority 0 to Linux priority 10. It give the right sort of scheduling
between threads ... unfortunately .. only a superuser can increase a
priority. The nice stuff is rather out of user control as it is dependent
upon CPU usage.
Phill
--
__________________________________________________
Phill Edwards [EMAIL PROTECTED]
Tel: 01395 515131 Mobile: 0802 402 195
"One has to keep building higher and higher fences
to see just how far one can really jump"