On 1/28/15, 2:09 AM, Prasant Jalan wrote:
Few more questions about your Boundary Devices iMX6 Quad:
- Amount of RAM/memory in your iMX6 system?
- iMX6 Single Core Clock speed (0.8 GHz, 1 GHz or 1.2 GHz)
- Which javaFX version did you use to get the above measurements (if you 
recollect)?

I am using: http://boundarydevices.com/product/sabre-lite-imx6-sbc/

Specs are on the page. It is a Quad, so 4 cores @ 1GHz, 1GB memory.

OS is a Ubuntu base distro, provided by BoundaryDevices, though I have a 
similar setup using Yocto that I have not been able to see any FX differences.

ubuntu@oracle:~$ cat /proc/cpuinfo
processor    : 0
model name    : ARMv7 Processor rev 10 (v7l)
BogoMIPS    : 790.52

My monitor is connected with HDMI, 720P. Note that 1080p will likely be slower 
- more data to move even with a GPU.

Using JDK 8u6 + OpenJFX build (which is my development setup). There are some 
improvements that are present in OpenJFX that are not in 8u6, and that certainly 
might affect performance. The process to build OpenJFX is here. 
<https://wiki.openjdk.java.net/display/OpenJFX/Building+OpenJFX>

For a simple JFX command, it is unlikely that we will require more than 2 CPU 
cores. One thread for the application, and another for the repainter. A more 
complex application with worker thread might light up more cores.

Using the top command (then hitting "1" to enable the Core usage display), I 
see my Industrial app using one to two cores like this:

%Cpu0  : 22.4 us,  2.0 sy,  0.0 ni, 75.5 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu1  :  0.0 us,  0.0 sy,  0.0 ni,100.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu2  :  0.3 us,  0.3 sy,  0.0 ni, 99.3 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu3  : 66.8 us,  4.3 sy,  0.0 ni, 28.9 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st

Occasionally just one core like this, probably when we are computing a change 
in the Scene.

%Cpu0  :  8.0 us,  1.3 sy,  0.0 ni, 90.6 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu1  :  0.0 us,  0.0 sy,  0.0 ni,100.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu2  : 83.8 us,  2.6 sy,  0.0 ni, 13.5 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu3  :  0.7 us,  0.0 sy,  0.0 ni, 99.3 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st

and of course occasionally 3 cores - I expect that is when top is running :-)

Dave


--
David Hill<david.h...@oracle.com>
Java Embedded Development

"A man's feet should be planted in his country, but his eyes should survey the 
world."
-- George Santayana (1863 - 1952)

Reply via email to