Optimization

micsmc : fonts are not diplayed correctly on X11

Dear All,

I have currently an issue with micsmc that doesn't seems to display the font correctly.

Since this is static binary, I cannot find what kind of fonts it should use and I get some black cube instead (seem screen cap here).

Can someone help give me advice ?

(Notice I display on my X11 on my Mac using X forwarding with SSH, there is NO X11 on the server where the Phi is. The OS used it CentOS 7, the Phi works like a charm).

Kind regards,

Intel VTune can not collect information & cause core dump

Hello,
we are using Intel VTune 2015 for profiling our application which is  running under operating system:2.6.32-504.1.3.el6.x86_64 Red Hat Enterprise Linux Server release 6.6 (Santiago)
CPU: Intel(R) Xeon(R) E5/E7 v2 processor
Frequency          2800004679
Logical CPU Count  4
----------------------------------------------------------------
I started four ngss.elf which is our product.
# ps -ef|grep ngss
root       400 31483  0 07:34 pts/0    00:00:00 ./ngss.elf --iomn 294921

The application has no response,when using the Intel Inspector XE collecting Result datata

Hi all,

       I find our application becomes very slow, then always has no response,when Use the Intel Inspector XE to coolect  the memory leaks or thread errors.

    Who met this kind of phenomenon?how I should  Set the something?

thanks

Jesse

     

 

__builtin_expect() for switch() statement

Greetings,

I am using hints for ICC regarding branch prediction, i.e.:

#ifndef my_likely
#   if defined(__GNUC__) || defined(__INTEL_COMPILER)
#       define my_likely(x)     __builtin_expect(!!(x),1)
#       define my_unlikely(x)   __builtin_expect(!!(x),0)
#   else
#       define my_likely(x)     (x)
#       define my_unlikely(x)   (x)
#   endif
#endif

and it is used as e.g.:

Measuring Core Voltage

I am using an Atom N2600 processor. The intel software developer's manual says that a p-state can be requested by writing to MSR 0x199 and the locked p-state can be seen in MSR 0x198. The way to compute Core Voltage is given as MSR_PERF_STATUS[47:32] * (float) 1/(2^13).

The data that I see in MSR_PERF_STATUS (MSR 0x198) is 62d104306001045. Bits [47:32] is always 1043 irrespective of the value that I set in MSR 0x199.

When I use the formula: 0x1043 = 4163. Voltage = 4163/(2^13)=0.5 V, which is a really low voltage for the processor to operate stably at.

Subscribe to Optimization