I use python to execute some algorithms and no matter which python i use, and i have tried many versions, the cpu usage goes to 25% max. Why isn't python take advantage of the rest of my cpu resources? I changed the priority of the service from normal to high and later to realtime, with restarts in between but nothing changed.
Is there a way to make python use 50% or even more of my cpu ?
I have an Arch Linux server that used to use Python 2.7.3 just fine with Apache and mod_wsgi-3.4-2. I have both Python 2.7.3 and 3.3.0 installed on the server, and both executables are located in /usr/bin. Recently it has started to use Python 3. I need Apache to go back to using Python 2.7.
I downloaded python 3.3.0 which is latest version and i finished installing
now I want to run it in my centOS linux but when i type it in console "python" , python 2.7.0 which is bundled with os installation runs.
how can i change it to run 3?
I vaguely feel that i have to change the code about path in bin folder or something