emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Script for compiling more quietly


From: Lars Ingebrigtsen
Subject: Re: Script for compiling more quietly
Date: Mon, 14 Dec 2020 15:35:58 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Gregory Heytings <ghe@sdf.org> writes:

>  I also replaced your "nproc" by "expr $(nproc) / 2 + 1", IME using
> nproc makes the computer unuseable, and is not much faster than
> nproc/2+1.

It depends on whether you have Hypertheading, I guess -- I don't (on
this laptop), so -j`nproc` is twice as fast as nproc / 2.

Absurdly enough, nproc doesn't have an option for "just say how many
cores there are, OK?"  But I guess one could parse /proc/cpuinfo to try
to figure that out.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

[Prev in Thread] Current Thread [Next in Thread]