[ofa-general] Re: Re: Is ibv_get_async_event() a blocking call ?

Michael S. Tsirkin mst at mellanox.co.il
Mon Mar 12 01:35:23 PDT 2007


> Quoting Roland Dreier <rdreier at cisco.com>:
> Subject: Re: Re: Is ibv_get_async_event() a blocking call ?
> 
>  > 	Back to my orignal question, if I don't call
>  > ibv_get_async_event() for a long time, and there are a lot of events
>  > generated during the time, do I loss any event when I eventually call
>  > ibv_get_async_event() ?
>  > 
>  > 	(another way, how many events can you queue ) ?
> 
> Actually this is not handled very well right now.  There is no limit
> on the length of the queue so you can eventually use up all the memory
> in the system if you never pick up asyc events.

Should we add a size parameter for event channels?
And, we might need to add "event channel overrun" flag as well.

If we want to address the problem in this way, we need to do this before
libibverbs 1.1 freezes I think.

-- 
MST



More information about the general mailing list