Re: [PATCHv4 08/13] Documentation/ABI: Add node performance attributes

From: Rafael J. Wysocki
Date: Thu Jan 17 2019 - 10:09:48 EST


On Wed, Jan 16, 2019 at 6:59 PM Keith Busch <keith.busch@xxxxxxxxx> wrote:
>
> Add descriptions for memory class initiator performance access attributes.

Again, I would combine this with the previous patch.

> Signed-off-by: Keith Busch <keith.busch@xxxxxxxxx>
> ---
> Documentation/ABI/stable/sysfs-devices-node | 28 ++++++++++++++++++++++++++++
> 1 file changed, 28 insertions(+)
>
> diff --git a/Documentation/ABI/stable/sysfs-devices-node b/Documentation/ABI/stable/sysfs-devices-node
> index a9c47b4b0eee..2217557f29d3 100644
> --- a/Documentation/ABI/stable/sysfs-devices-node
> +++ b/Documentation/ABI/stable/sysfs-devices-node
> @@ -114,3 +114,31 @@ Description:
> The node list of memory targets that this initiator node has
> class "Y" access. Memory accesses from this node to nodes not
> in this list may have differet performance.
> +
> +What: /sys/devices/system/node/nodeX/classY/read_bandwidth
> +Date: December 2018
> +Contact: Keith Busch <keith.busch@xxxxxxxxx>
> +Description:
> + This node's read bandwidth in MB/s available to memory
> + initiators in nodes found in this class's initiators_nodelist.
> +
> +What: /sys/devices/system/node/nodeX/classY/read_latency
> +Date: December 2018
> +Contact: Keith Busch <keith.busch@xxxxxxxxx>
> +Description:
> + This node's read latency in nanoseconds available to memory
> + initiators in nodes found in this class's initiators_nodelist.

I'm not sure if the term "read latency" is sufficient here. Is this
the latency between sending a request and getting a response or
between sending the request and when the data actually becomes
available?

Moreover, is it the worst-case latency or the average latency?

> +
> +What: /sys/devices/system/node/nodeX/classY/write_bandwidth
> +Date: December 2018
> +Contact: Keith Busch <keith.busch@xxxxxxxxx>
> +Description:
> + This node's write bandwidth in MB/s available to memory
> + initiators in nodes found in this class's initiators_nodelist.
> +
> +What: /sys/devices/system/node/nodeX/classY/write_latency
> +Date: December 2018
> +Contact: Keith Busch <keith.busch@xxxxxxxxx>
> +Description:
> + This node's write latency in nanoseconds available to memory
> + initiators in nodes found in this class's initiators_nodelist.
> --

Same questions as for the read latency apply here.