OpenMPDK / SMDK

SMDK, Scalable Memory Development Kit, is developed for Samsung CXL(Compute Express Link) Memory Expander to enable full-stack Software-Defined Memory system
271 stars 60 forks source link

CXL Specification version and Linux kernel version #22

Closed PeterDLUT closed 1 year ago

PeterDLUT commented 1 year ago

Hi, I' d like to ask which version of the CXL specification does SMDK support? Because wiki doesn' t mention supporting CXL 2.0 features such as switches and hot-plugging. Or SMDK doesn' t care about the version of CXL? Also, I noticed that the SMDK includes Linux 6.0 kernel. Is it compatible with other Linux versions with CXL drivers? Many thanks.

KyungsanKim commented 1 year ago

Hi, at the moment SMDK targets CXL spec v1.1 and v2.0. Along with progress of CXL products and infrastructures, we have plan to version up functionalities.

Right now, SMDK concerns logical memory on/offline of CXL memory. For physical hot-add/removal and data consistency, we will investigate more supports needed upon PCIe hot plug. Preparing CXL pooling stage, we have been enabling some memory tiering features such as using CXL memory as OS level swap and cache.

Right now, SMDK kernel is customized, and next release (v1.5) will use baseline v6.4 There are some gaps between vanilla kernel and SMDK kernel now. We are investigating migration and upstream plan to align with vanilla kernel eventually.