Lines Matching full:rdma
2 RDMA Controller
8 1-1. What is RDMA controller?
9 1-2. Why RDMA controller needed?
10 1-3. How is RDMA controller implemented?
16 1-1. What is RDMA controller?
19 RDMA controller allows user to limit RDMA/IB specific resources that a given
20 set of processes can use. These processes are grouped using RDMA controller.
22 RDMA controller defines two resources which can be limited for processes of a
25 1-2. Why RDMA controller needed?
28 Currently user space applications can easily take away all the rdma verb
31 rdma resources. This can lead to service unavailability.
33 Therefore RDMA controller is needed through which resource consumption
34 of processes can be limited. Through this controller different rdma
37 1-3. How is RDMA controller implemented?
40 RDMA cgroup allows limit configuration of resources. Rdma cgroup maintains
43 by rdma cgroup, which can be extended later if required.
47 But nothing limits to have it more. At present hundreds of RDMA devices per
51 Since RDMA resources can be allocated from any process and can be freed by any
52 of the child processes which shares the address space, rdma resources are
56 rdma resources. Linking resources around css also ensures that cgroups can be
60 Whenever RDMA resource charging occurs, owner rdma cgroup is returned to
61 the caller. Same rdma cgroup should be passed while uncharging the resource.
62 This also allows process migrated with active RDMA resource to charge
70 (b) No resource limits were configured, but IB/RDMA stack tries to
81 IB stack honors limits enforced by the rdma controller. When application
86 Following resources can be accounted by rdma controller.
98 echo mlx4_0 hca_handle=2 hca_object=2000 > /sys/fs/cgroup/rdma/1/rdma.max
99 echo ocrdma1 hca_handle=3 > /sys/fs/cgroup/rdma/2/rdma.max
103 cat /sys/fs/cgroup/rdma/2/rdma.max
110 cat /sys/fs/cgroup/rdma/2/rdma.current
117 echo mlx4_0 hca_handle=max hca_object=max > /sys/fs/cgroup/rdma/1/rdma.max