Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #167880

Re: Can Debian do multi-core "MY WAY"?

Path csiph.com!news.redatomik.org!aioe.org!bofh.it!news.nic.it!robomod
From <tomas@tuxteam.de>
Newsgroups linux.debian.user
Subject Re: Can Debian do multi-core "MY WAY"?
Date Sat, 14 May 2016 23:00:02 +0200
Message-ID <ryOPg-8ds-11@gated-at.bofh.it> (permalink)
References <ryLHJ-55X-9@gated-at.bofh.it>
X-Original-To debian-user@lists.debian.org
X-Mailbox-Line From debian-user-request@lists.debian.org Sat May 14 20:51:10 2016
Old-Return-Path <tomas@tuxteam.de>
X-Amavis-Spam-Status No, score=-11.876 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DIGITS_LETTERS=1, FOURLA=0.1, FVGT_m_MULTI_ODD=0.02, LDO_WHITELIST=-5, PGPSIGNATURE=-5, RP_MATCHES_RCVD=-0.996] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -6.1
MIME-Version 1.0
Content-Type text/plain; charset=utf-8; x-action=pgp-signed
User-Agent Mutt/1.5.21 (2010-09-15)
X-Mailing-List <debian-user@lists.debian.org> archive/latest/707381
List-ID <debian-user.lists.debian.org>
List-URL <https://lists.debian.org/debian-user/>
List-Archive https://lists.debian.org/msgid-search/20160514205044.GA5964@tuxteam.de
Approved robomod@news.nic.it
Lines 40
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Sat, 14 May 2016 22:50:44 +0200
X-Original-Message-ID <20160514205044.GA5964@tuxteam.de>
X-Original-References <573760F0.7080605@cloud85.net>
Xref csiph.com linux.debian.user:167880

Show key headers only | View raw


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, May 14, 2016 at 12:31:28PM -0500, Richard Owlett wrote:
> I date from era when when "memory banks" were switched via contents
> of a I/O port ;/
> Anyone remember era when 8085 was "state of the art" ;/
> 
> I envision
>   core A using memory range X
>   core B using memory range Z

What you are describing is called "non uniform memory access" aka
NUMA [1] these days and yes, the Linux kernel takes into account
that different parts of memory have different "distances" to each
processor (e.g. by assigning process "affinities" to each CPU.

To a lesser extent, CPU caches do this too.

This is'nt surprising, since CPU bandwidth has outrun memory
bandwith significantly across the last 20-30 years. If a CPU
had to wait for every byte to arrive from main memory, they'd
be slower by a huge amount [2].

So in some way the answer is; yes, your PC and your OS is probably
doing it already :-)

regards

[1] https://en.wikipedia.org/wiki/Non-Uniform_Memory_Access
[2] http://gameprogrammingpatterns.com/data-locality.html

- -- t
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlc3j6QACgkQBcgs9XrR2kYjngCZAe7J7DfWSa87aRlA1vmhNCN+
Nq4An1WjmIBDCmJvahR2j5ITl1965uLu
=/ElI
-----END PGP SIGNATURE-----

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Can Debian do multi-core "MY WAY"? Richard Owlett <rowlett@cloud85.net> - 2016-05-14 19:40 +0200
  Re: Can Debian do multi-core "MY WAY"? John Hasler <jhasler@newsguy.com> - 2016-05-14 19:50 +0200
    Re: Can Debian do multi-core "MY WAY"? Gene Heskett <gheskett@shentel.net> - 2016-05-14 20:50 +0200
  Re: Can Debian do multi-core "MY WAY"? Martin Read <zen75502@zen.co.uk> - 2016-05-14 20:20 +0200
  Re: Can Debian do multi-core "MY WAY"? Gene Heskett <gheskett@shentel.net> - 2016-05-14 20:30 +0200
    Re: Can Debian do multi-core "MY WAY"? John Hasler <jhasler@newsguy.com> - 2016-05-14 21:40 +0200
  Re: Can Debian do multi-core "MY WAY"? Joe <joe@jretrading.com> - 2016-05-14 20:30 +0200
  Re: Can Debian do multi-core "MY WAY"? <tomas@tuxteam.de> - 2016-05-14 23:00 +0200
    Re: Can Debian do multi-core "MY WAY"? Richard Owlett <rowlett@cloud85.net> - 2016-05-16 04:20 +0200
    Re: Can Debian do multi-core "MY WAY"? Richard Owlett <rowlett@cloud85.net> - 2016-05-16 04:20 +0200
      Re: Can Debian do multi-core "MY WAY"? Henrique de Moraes Holschuh <hmh@debian.org> - 2016-05-16 04:20 +0200

csiph-web