[ofa-general] Re: [PATCH] rdma_cm: Add proc entry to monitor rdma_cm connections

Roland Dreier rdreier at cisco.com
Tue Mar 31 13:25:57 PDT 2009


 > You could populate a file or directory for each cm_id and reading the
 > file (or files under the directory) could display the various useful
 > state.

Having a sysfs file per connection is huge overhead, both in terms of
the number of syscalls to read it, and also the pinned kernel memory
just for the dentries etc.  I don't think it's a great idea.

 - R.



More information about the general mailing list