All of lore.kernel.org
 help / color / mirror / Atom feed
* [LSF/MM TOPIC] CAPI/CCIX cache coherent device memory (NUMA too ?)
@ 2018-01-16 21:03 Jerome Glisse
  2018-01-17  1:32 ` Liubo(OS Lab)
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Jerome Glisse @ 2018-01-16 21:03 UTC (permalink / raw)
  To: lsf-pc
  Cc: linux-mm, Anshuman Khandual, Balbir Singh, Dan Williams,
	John Hubbard, Jonathan Masters, Ross Zwisler

CAPI (on IBM Power8 and 9) and CCIX are two new standard that
build on top of existing interconnect (like PCIE) and add the
possibility for cache coherent access both way (from CPU to
device memory and from device to main memory). This extend
what we are use to with PCIE (where only device to main memory
can be cache coherent but not CPU to device memory).

How is this memory gonna be expose to the kernel and how the
kernel gonna expose this to user space is the topic i want to
discuss. I believe this is highly device specific for instance
for GPU you want the device memory allocation and usage to be
under the control of the GPU device driver. Maybe other type
of device want different strategy.

The HMAT patchset is partialy related to all this as it is about
exposing different type of memory available in a system for CPU
(HBM, main memory, ...) and some of their properties (bandwidth,
latency, ...).


We can start by looking at how CAPI and CCIX plan to expose this
to the kernel and try to list some of the type of devices we
expect to see. Discussion can then happen on how to represent this
internaly to the kernel and how to expose this to userspace.

Note this might also trigger discussion on a NUMA like model or
on extending/replacing it by something more generic.


Peoples (alphabetical order on first name) sorry if i missed
anyone:
    "Anshuman Khandual" <khandual@linux.vnet.ibm.com>
    "Balbir Singh" <bsingharora@gmail.com>
    "Dan Williams" <dan.j.williams@intel.com>
    "John Hubbard" <jhubbard@nvidia.com>
    "Jonathan Masters" <jcm@redhat.com>
    "Ross Zwisler" <ross.zwisler@linux.intel.com>

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-01-26 18:47 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-16 21:03 [LSF/MM TOPIC] CAPI/CCIX cache coherent device memory (NUMA too ?) Jerome Glisse
2018-01-17  1:32 ` Liubo(OS Lab)
2018-01-17 16:43   ` Balbir Singh
2018-01-17  1:55 ` Figo.zhang
2018-01-17  2:30   ` Jerome Glisse
2018-01-17 16:29 ` Balbir Singh
2018-01-19  5:14   ` John Hubbard
2018-01-26 18:47 ` Ross Zwisler

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.