1DAXCTL-ONLINE-MEMO(1) daxctl Manual DAXCTL-ONLINE-MEMO(1)
2
3
4
6 daxctl-online-memory - Online the memory for a device that is in
7 system-ram mode
8
10 daxctl online-memory <dax0.0> [<dax1.0>...<daxY.Z>] [<options>]
11
13 • Reconfigure dax0.0 to system-ram mode, don’t online the memory
14
15
16 .ft C
17 # daxctl reconfigure-device --mode=system-ram --no-online --human dax0.0
18 {
19 "chardev":"dax0.0",
20 "size":"7.87 GiB (8.45 GB)",
21 "target_node":2,
22 "mode":"system-ram"
23 }
24 .ft
25
26
27 • Online the memory separately
28
29
30 .ft C
31 # daxctl online-memory dax0.0
32 dax0.0: 62 new sections onlined
33 onlined memory for 1 device
34 .ft
35
36
37 • Onlining memory when some sections were already online
38
39
40 .ft C
41 # daxctl online-memory dax0.0
42 dax0.0: 1 section already online
43 dax0.0: 61 new sections onlined
44 onlined memory for 1 device
45 .ft
46
47
49 Online the memory sections associated with a device that has been
50 converted to the system-ram mode. If one or more blocks are already
51 online, print a message about them, and attempt to online the remaining
52 blocks.
53
54 This is complementary to the daxctl-reconfigure-device command, when
55 used with the --no-online option to skip onlining memory sections
56 immediately after the reconfigure. In these scenarios, the memory can
57 be onlined at a later time using daxctl-online-memory.
58
60 -r, --region=
61 Restrict the operation to devices belonging to the specified
62 region(s). A device-dax region is a contiguous range of memory that
63 hosts one or more /dev/daxX.Y devices, where X is the region id and
64 Y is the device instance id.
65
66 --no-movable
67 --movable is the default. This can be overridden to online new
68 memory such that it is not movable. This allows any allocation to
69 potentially be served from this memory. This may preclude
70 subsequent removal. With the --movable behavior (which is default),
71 kernel allocations will not consider this memory, and it will be
72 reserved for application use.
73
74 -u, --human
75 By default the command will output machine-friendly raw-integer
76 data. Instead, with this flag, numbers representing storage size
77 will be formatted as human readable strings with units, other
78 fields are converted to hexadecimal strings.
79
80 -v, --verbose
81 Emit more debug messages
82
84 Copyright © 2016 - 2020, Intel Corporation. License GPLv2: GNU GPL
85 version 2 http://gnu.org/licenses/gpl.html. This is free software: you
86 are free to change and redistribute it. There is NO WARRANTY, to the
87 extent permitted by law.
88
90 daxctl-reconfigure-device(1),daxctl-offline-memory[1]
91
92
93
94daxctl 71.1 07/22/2021 DAXCTL-ONLINE-MEMO(1)