Author: bugman Date: Thu Mar 8 12:15:15 2012 New Revision: 15461 URL: http://svn.gna.org/viewcvs/relax?rev=15461&view=rev Log: Added some documentation about master processors on Linux 2.6 eating 100% of one CPU core. Modified: 1.3/multi/test_implementation.py Modified: 1.3/multi/test_implementation.py URL: http://svn.gna.org/viewcvs/relax/1.3/multi/test_implementation.py?rev=15461&r1=15460&r2=15461&view=diff ============================================================================== --- 1.3/multi/test_implementation.py (original) +++ 1.3/multi/test_implementation.py Thu Mar 8 12:15:15 2012 @@ -22,6 +22,14 @@ - Uni-processor: 51.548 seconds (51.054+52.224+51.257+51.112+52.093) - Mpi4py-processor: 43.185 seconds (43.867+41.478+46.209+39.941+44.429) - Scaling efficiency: 1.194 + + +Linux +----- + +For multi-core systems and late 2.6 Linux kernels, the following as root might be required to prevent the master processor from taking 100% of one CPU core while waiting for the slaves. + +# echo "1" > /proc/sys/kernel/sched_compat_yield """ # Python module imports. @@ -43,7 +51,7 @@ # Module variables. PROFILE = True -MULTI = False +MULTI = True if MULTI: FABRIC = 'mpi4py' PROCESSOR_NUM = 2