unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Dieter Wilhelm <dieter@duenenhof-wilhelm.de>
To: Peter Dyballa <Peter_Dyballa@Web.DE>
Cc: help-gnu-emacs@gnu.org, Nordlöw <per.nordlow@gmail.com>
Subject: Re: Getting Number of CPU(-core)s and giving it as the --jobs argument to GNU Make
Date: Tue, 11 Sep 2007 22:20:54 +0200	[thread overview]
Message-ID: <877imxc5sp.fsf@debby.local.net> (raw)
In-Reply-To: <7C10B24D-B158-4C58-97DE-82441E1358AE@Web.DE> (Peter Dyballa's message of "Tue\, 11 Sep 2007 19\:16\:23 +0200")

Peter Dyballa <Peter_Dyballa@Web.DE> writes:

> Am 11.09.2007 um 16:53 schrieb Nordlöw:
>
>> How can I, from within Emacs in a platform independent way, read out
>> the number of CPUs/cores my local machine has?
>
> Apropos cpu? And then checking the manual pages? Reading a file in /
> proc file system might work, too.

I checked the following:

dieter@debby:~$ cat /proc/cpuinfo|grep "proc\|cores\|model"
processor	: 0
model		: 15
model name	: Intel(R) Core(TM)2 CPU          6400  @ 2.13GHz
cpu cores	: 2
processor	: 1
model		: 15
model name	: Intel(R) Core(TM)2 CPU          6400  @ 2.13GHz
cpu cores	: 2

That's a bit confusing, I thought I had *one* processor with *two*
cores and the content in /proc/cpuinfo claims two processor, 0 and 1
with two cores, respectively, where am I wrong?

-- 
    Best wishes

    H. Dieter Wilhelm
    Darmstadt, Germany

  reply	other threads:[~2007-09-11 20:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-11 14:53 Getting Number of CPU(-core)s and giving it as the --jobs argument to GNU Make Nordlöw
2007-09-11 17:16 ` Peter Dyballa
2007-09-11 20:20   ` Dieter Wilhelm [this message]
2007-09-11 21:52     ` Peter Dyballa
2007-09-11 22:11       ` Dieter Wilhelm
2007-09-11 22:29         ` Peter Dyballa
     [not found]   ` <mailman.725.1189541941.18990.help-gnu-emacs@gnu.org>
2007-09-12  6:30     ` Unknown
2007-09-12  8:20       ` Nordlöw
2007-09-12  9:38         ` Peter Dyballa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877imxc5sp.fsf@debby.local.net \
    --to=dieter@duenenhof-wilhelm.de \
    --cc=Peter_Dyballa@Web.DE \
    --cc=help-gnu-emacs@gnu.org \
    --cc=per.nordlow@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).