欢迎您访问 最编程 本站为您分享编程语言代码,编程技术文章!
您现在的位置是: 首页

使用 FIO 测试 PMEM 设备

最编程 2024-04-05 11:01:57
...
➜ examples sudo ndctl list -N -D -u --regions -i { "dimms":[ { "dev":"nmem1", "id":"8089-a2-1930-000008e9", "handle":"0x10", "phys_id":"0x45" }, { "dev":"nmem3", "id":"8089-a2-1930-000011fe", "handle":"0x1010", "phys_id":"0x51" }, { "dev":"nmem0", "id":"8089-a2-1930-00000b6f", "handle":"0", "phys_id":"0x43" }, { "dev":"nmem2", "id":"8089-a2-1930-00000fc8", "handle":"0x1000", "phys_id":"0x4f" } ], "regions":[ { "dev":"region1", "size":"252.00 GiB (270.58 GB)", "available_size":0, "type":"pmem", "numa_node":1, "iset_id":"0xc0f2eeb826532444", "mappings":[ { "dimm":"nmem3", "offset":"0x10000000", "length":"0x1f80000000", "position":1 }, { "dimm":"nmem2", "offset":"0x10000000", "length":"0x1f80000000", "position":0 } ], "persistence_domain":"memory_controller", "namespaces":[ { "dev":"namespace1.0", "mode":"fsdax", "map":"dev", "size":"248.06 GiB (266.35 GB)", "uuid":"a4ec89a0-0b3c-4455-9528-25c73b635a51", "raw_uuid":"f42aca99-c2fa-4d4d-af09-95ea3815324e", "sector_size":512, "blockdev":"pmem1", "numa_node":1 }, { "dev":"namespace1.1", "mode":"raw", "size":0, "uuid":"00000000-0000-0000-0000-000000000000", "sector_size":512, "state":"disabled", "numa_node":1 } ] }, { "dev":"region0", "size":"252.00 GiB (270.58 GB)", "available_size":"252.00 GiB (270.58 GB)", "type":"pmem", "numa_node":0, "iset_id":"0x4840eeb8b8462444", "mappings":[ { "dimm":"nmem1", "offset":"0x10000000", "length":"0x1f80000000", "position":1 }, { "dimm":"nmem0", "offset":"0x10000000", "length":"0x1f80000000", "position":0 } ], "persistence_domain":"memory_controller", "namespaces":[ { "dev":"namespace0.0", "mode":"raw", "size":0, "uuid":"00000000-0000-0000-0000-000000000000", "sector_size":512, "state":"disabled", "numa_node":0 } ] } ] }

推荐阅读