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