A phenom 4 core problem


I have a problem, when i make root for sources i use make -j4 and in configure amd64 etc, it works fine all of 4 cores are loaded. After installation when i run some macros only 1 core i loaded, is there a way to fix this problem ?
I`m running on Debian, Phenom 2 4 cores.


Apparently your ROOT macro is “single threaded”.
This is normal/standard for the majority of ROOT macros.

In order to utilize all your available “cores”, you may need to write a “multi threaded” ROOT macro.
See, for example:
“Multi-Threading examples” http://root.cern.ch/root/html/tutorials/thread/index.html
"How to Use the ROOT Thread Classes ?" http://root.cern.ch/drupal/content/how-use-root-thread-classes
The “Threads” chapter in the “User’s Guide” http://root.cern.ch/drupal/content/users-guide

You may also run several (e.g. 4) instances of the “root” executable simultaneously, each of them executing the same “single threaded” ROOT macro, i.e. each of them conducting a “part” of the “full” job. Afterwards you need to “add” these “partial results” somehow.

Of course, you may also try to utilize “PROOF-Lite” (a version of PROOF optimized for multicore desktops and laptops).
See, for example:
“PROOF official web page” http://root.cern.ch/drupal/content/proof
"PROOF tutorials" http://root.cern.ch/root/html/tutorials/proof/index.html
The “PROOF: Parallel Processing” chapter in the “User’s Guide” http://root.cern.ch/drupal/content/users-guide

thank you for info!