ndctl
ndctl copied to clipboard
A "device memory" enabling project encompassing tools and libraries for CXL, NVDIMMs, DAX, memory tiering and other platform memory device topics.
https://github.com/pmem/ndctl/blob/dd58d43458943d20ff063850670bf54a5242c9c5/util/parse-configs.c#L7 Unable to find header. For now I've hacked it to be iniparser/iniparser.h Not chased this further.
### Environment - kernel version: 5.1.0 - cpu: Intel(R) Xeon(R) Gold 5218 CPU @ 2.30GHz - device information: **I have already created fsdax namespace in region 0 and region 1...
numa_node reported incorrectly (always zero) in ndctl list -v output (IceLake platform): ``` [jenkins@wolf-216 ~]$ sudo ndctl list -v [ { "dev":"namespace1.0", "mode":"fsdax", "map":"dev", "size":1065418227712, "uuid":"dc45a28b-c1f9-400f-8069-81222192f352", "raw_uuid":"af106459-315d-4184-a14c-d238b4404824", "sector_size":512, "align":2097152, "blockdev":"pmem1",...
In case of that the `libdir` contains more than one components, `rootlibdir` would point to an incorrect path. For example, if `libdir` is `lib/x86_64-linux-gnu`, `rootlibdir` should be `/usr/lib/x86_64-linux-gnu`, but it...
Previously, I create a namespace using `ndctl create-namespace -m devdax -r --region=region0 -s ` and reconfigure its mode to system-ram mode using daxctl ``` daxctl reconfigure-device -m system-ram ``` But...
I am not sure this option would make sense, so I 've opened an RFC/wip for discussion. The size option of the create-namespace command can now take a percentage of...
{ "regions":[ { "dev":"region1", "size":270582939648, "align":16777216, "available_size":270582939648, "max_available_extent":270582939648, "type":"pmem", "iset_id":4649103193157805124, "persistence_domain":"memory_controller" }, { "dev":"region0", "size":270582939648, "align":16777216, "available_size":270582939648, "max_available_extent":270582939648, "type":"pmem", "iset_id":4649103193157805124, "persistence_domain":"memory_controller" }, ] } **ndctl create-namespace**: I want to create...
//usr/lib64/libdaxctl.so.1: undefined reference to `uuid_copy@UUID_1.0' //usr/lib64/libndctl.so.6: undefined reference to `uuid_parse@UUID_1.0' //usr/lib64/libndctl.so.6: undefined reference to `uuid_unparse@UUID_1.0' collect2: error: ld returned 1 exit status When I compile the pmdk project, the above...
From virtual machine, we need to do the following on the namespaces exposed to it. 1. Detect the badblocks. Commands: ndctl start-srub, ndctl wait-scrub, ndctl list -NH -vvv 3. Clear...
On a host we can have multiple namespaces and each can be assigned to different virtual machines. If we want to scrub on a specific namespace, currently there is no...