public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* libibverbs statistics
@ 2017-03-09 11:26 Amrani, Ram
       [not found] ` <SN1PR07MB220795B72FC9CB082CCDC384F8210-mikhvbZlbf8TSoR2DauN2+FPX92sqiQdvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Amrani, Ram @ 2017-03-09 11:26 UTC (permalink / raw)
  To: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org; +Cc: Elior, Ariel

Hi All,
I find it useful to have statistics in the user-space library.
For example -
1. Number of post_sends per WR type
2. Number of failed post_sends
3. Number of polled CQs
4. Number of polled CQ errors
5. Number of times other verbs was invoked, per verb
6. Number of currently opened QPs, perhaps  in each state
7. ...

I'm not sure what mechanism to use to minimize impact on
performance. In the kernel space, for example, the 'per CPU variables'
can be used, but I'm not aware of a similar mechanism in user space.
Any ideas?

Is this is of use and benefit to anyone?
If so, perhaps something like this can be added to libibverbs.

Also of interest is the scope of the statistics. Per my understanding
libibverbs works per context that will be destroyed after the application
terminates. So I'm asking myself, and you, if it is interesting to 
store statistics at a higher scope (aggregate contexts)?
Is it interesting to store statistics per-QP?
(note: currently libibverbs doesn't hold the context's QP list)

Thanks,
Ram

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-03-15 11:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-09 11:26 libibverbs statistics Amrani, Ram
     [not found] ` <SN1PR07MB220795B72FC9CB082CCDC384F8210-mikhvbZlbf8TSoR2DauN2+FPX92sqiQdvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2017-03-09 13:43   ` Guy Shattah
     [not found]     ` <AM5PR0502MB3057535C300A4176657E5FAFBD210-Z3o2H//EDN55ESpK+8MyGMDSnupUy6xnnBOFsp37pqbUKgpGm//BTAC/G2K4zDHf@public.gmane.org>
2017-03-14 14:20       ` Alex Rosenbaum
     [not found]         ` <CAFgAxU_rOB_xQptt-LqxKpMC=SbsGOL1FbSiK4eY_czu4zpwfA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-03-14 14:37           ` Leon Romanovsky
2017-03-15 11:58           ` Amrani, Ram

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox