
Some parts of this message have been removed.
Learn more about Nabble's
security policy.
Now I can provide actual top data as well to make it more clear. Below is the top output.
I would not expect the java process at 71 percent while the overall cpu utilization is only at 9 percent.
For me it looks like there is only one core occupied by the jvm and the remaining 3 cores remain unused.
top - 23:25:46 up 1 day, 2:23, 1 user, load average: 0.41, 0.53, 0.45
Tasks: 76 total, 1 running, 75 sleeping, 0 stopped, 0 zombie
Cpu(s): 9.1%us, 2.5%sy, 0.0%ni, 86.3%id, 0.2%wa, 0.7%hi, 1.3%si, 0.0%st
Mem: 4050392k total, 3899516k used, 150876k free, 17932k buffers
Swap: 3903752k total, 64k used, 3903688k free, 2672916k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
3886 root 20 0 1181m 1.0g 8536 S 71 26.8 736:01.41 java
Can anybody confirm my assumption? And how can I get the java process to utilize all 4 cpu cores? Or is there another way to check how many cores are in use?
Von: Alex Weiher <nabble_alex@...>
An: Red5@...
Gesendet: Mittwoch, den 8. Juli 2009, 11:56:49 Uhr
Betreff: [Red5] Red5 on multicore os
My system has a quadcore cpu and I am observing the following using top: A lot of processes are in the process list multiple times like events/0, events1, events/2, events/3. As far as I know this is one process for each core.
Now my red5-java process is in that list only once with name java. The CPU utilization of that single process is quite high, spiking up to 40 even 70 percent while the overall cpu utilization is low at about 6%-12%.
Now I wonder what does this mean? Is the java thread running only on one core with high utilization instead of using all cores?
How can I make sure that the jvm is using all multicore capabilities and utilizing each core?
I would love to see the process like java/0, java/1, java/2, java/3. Is there any setting withing red5, jvm or the os to do that or to make sure it uses all cores?
_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org