[M3devel] defaulting to parallel backend?

Rodney M. Bates rodney_bates at lcwb.coop
Mon Jul 4 16:55:38 CEST 2016


I prefer to use one fewer than the number of processors, so I can
web browse, read email, review code, etc. while waiting for a
compile.  The compiler can saturate them all, making any other
stuff very slow.

On 07/04/2016 03:45 AM, Jay K wrote:
> I suggest we make parallel backend the default.
>
> You can turn it off with -pb 1.
>
> Turn it "up" with -pb <whatever>
>
> And the default is a thread per processor.
> This will be kernel specific code, but we can get far with
>
>   1) Win32 GetSystemInfo, if applicable (e.g. C backend)
>   2) sysconf(_SC_NPROCESSORS_ONLN)
>
>
> and I'll research the various OSes (Darwin, Linux, *BSD, Solaris, and possibly AIX, HP-UX, Irix, Mingw, Cygwin).
> ok?
>
> I could really use the speed boost and multi-processor machines are overwhelmingly common now (though easily avoided with VMs).
>
>
>   - Jay
>
>   		 	   		
> _______________________________________________
> M3devel mailing list
> M3devel at elegosoft.com
> https://m3lists.elegosoft.com/mailman/listinfo/m3devel
>

-- 
Rodney Bates
rodney.m.bates at acm.org



More information about the M3devel mailing list