* Documentation for libiverbs? [not found] ` <S1752421Ab0AMJqp/20100113094645Z+1609-u79uwXL29TY76Z2rM5mHXA@public.gmane.org> @ 2010-01-13 10:06 ` Werther Pirani [not found] ` <4B4D9B1E.1020604-hv++7WL8WN4@public.gmane.org> 0 siblings, 1 reply; 5+ messages in thread From: Werther Pirani @ 2010-01-13 10:06 UTC (permalink / raw) To: linux-rdma-u79uwXL29TY76Z2rM5mHXA Hello, I've been redirected to this list from OpenFabrics' web site, so let me apologise right away if this is not the right place for this question. We are writing an application that requires high throughput and low latency. More specifically, we need to take advantage of features like RDMA, possibly through the ibv_ API in libiverbs, but the documentation available is really too sketchy to be of any help (and even the OpenFabrics' web site isn't of any use in this respect). At the moment all I have to go by is the RDMA_RC_example in the "RDMA Ware Network Programming User's Manual" from Mellanox, but it's really not quite enough. Since even searching the web isn't turning out any documentation, I was wondering if anyone here has any to share. Many thanks in advance, Werther Pirani -- 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
[parent not found: <4B4D9B1E.1020604-hv++7WL8WN4@public.gmane.org>]
* Re: Documentation for libiverbs? [not found] ` <4B4D9B1E.1020604-hv++7WL8WN4@public.gmane.org> @ 2010-01-13 11:44 ` Tziporet Koren [not found] ` <4B4DB219.2020406-VPRAkNaXOzVS1MOuV/RT9w@public.gmane.org> 2010-01-13 18:09 ` Bryan Green 1 sibling, 1 reply; 5+ messages in thread From: Tziporet Koren @ 2010-01-13 11:44 UTC (permalink / raw) To: Werther Pirani; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA On 1/13/2010 12:06 PM, Werther Pirani wrote: > Hello, > > I've been redirected to this list from OpenFabrics' web site, so let > me apologise right away if this is not the right place for this question. > > We are writing an application that requires high throughput and low > latency. More specifically, we need to take advantage of features like > RDMA, possibly through the ibv_ API in libiverbs, but the > documentation available is really too sketchy to be of any help (and > even the OpenFabrics' web site isn't of any use in this respect). > > At the moment all I have to go by is the RDMA_RC_example in the "RDMA > Ware Network Programming User's Manual" from Mellanox, but it's really > not quite enough. Since even searching the web isn't turning out any > documentation, I was wondering if anyone here has any to share. > > You can look at the ping-pong examples that come with libibverbs. http://www.openfabrics.org/downloads/libibverbs/ Also you can look at the performance tests (ib_write_lat, ib_write_bw, etc). http://www.openfabrics.org/downloads/perftest/ Tziporet -- 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
[parent not found: <4B4DB219.2020406-VPRAkNaXOzVS1MOuV/RT9w@public.gmane.org>]
* Re: Documentation for libiverbs? [not found] ` <4B4DB219.2020406-VPRAkNaXOzVS1MOuV/RT9w@public.gmane.org> @ 2010-01-14 9:59 ` Werther Pirani [not found] ` <4B4EEAFC.5040409-hv++7WL8WN4@public.gmane.org> 0 siblings, 1 reply; 5+ messages in thread From: Werther Pirani @ 2010-01-14 9:59 UTC (permalink / raw) To: linux-rdma-u79uwXL29TY76Z2rM5mHXA Tziporet Koren wrote: > You can look at the ping-pong examples that come with libibverbs. http://www.openfabrics.org/downloads/libibverbs/ > Also you can look at the performance tests (ib_write_lat, ib_write_bw, etc). http://www.openfabrics.org/downloads/perftest/ Thank you for the prompt reply! Not quite what I'm looking for (a proper programmer's guide) but better than nothing and probably enough to get started. However, I have a question: our application needs multicast which, if I understand things correctly, means the only option is Unreliable Datagrams. I'm experimenting with ud_pingpong.c and it works, but as soon as a try to exchange messages bigger than 2048 bytes I have the following error: Failed status local length error (1) for wr_id 2 A table in Mellanox' "RDMA Aware Networks Programming" shows that for UDs the max messages size is limited by the MTU. That really being the case, how can I check/change the it? Many thanks in advance, Werther Pirani -- 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
[parent not found: <4B4EEAFC.5040409-hv++7WL8WN4@public.gmane.org>]
* Re: Documentation for libiverbs? [not found] ` <4B4EEAFC.5040409-hv++7WL8WN4@public.gmane.org> @ 2010-01-14 17:23 ` Roland Dreier 0 siblings, 0 replies; 5+ messages in thread From: Roland Dreier @ 2010-01-14 17:23 UTC (permalink / raw) To: Werther Pirani; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA > I understand things correctly, means the only option is Unreliable > Datagrams. Yes. > I'm experimenting with ud_pingpong.c and it works, but as soon as a > try to exchange messages bigger than 2048 bytes I have the following > error: > > Failed status local length error (1) for wr_id 2 > > A table in Mellanox' "RDMA Aware Networks Programming" shows that for > UDs the max messages size is limited by the MTU. That really being the > case, how can I check/change the it? UD messages are limited to a single packet. The packet MTU is a hardware/fabric property, and it is quite likely that 2048 is the maximum for your fabric. - R. -- 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
* Re: Documentation for libiverbs? [not found] ` <4B4D9B1E.1020604-hv++7WL8WN4@public.gmane.org> 2010-01-13 11:44 ` Tziporet Koren @ 2010-01-13 18:09 ` Bryan Green 1 sibling, 0 replies; 5+ messages in thread From: Bryan Green @ 2010-01-13 18:09 UTC (permalink / raw) To: Werther Pirani; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Werther Pirani writes: > Hello, > > I've been redirected to this list from OpenFabrics' web site, so let me apo= > logise=20 > right away if this is not the right place for this question. > > We are writing an application that requires high throughput and low latency= > . More=20 > specifically, we need to take advantage of features like RDMA, possibly thr= > ough=20 > the ibv_ API in libiverbs, but the documentation available is really too sk= > etchy=20 > to be of any help (and even the OpenFabrics' web site isn't of any use in t= > his=20 > respect). > > At the moment all I have to go by is the RDMA_RC_example in the "RDMA Ware = > Network=20 > Programming User's Manual" from Mellanox, but it's really not quite enough.= > Since=20 > even searching the web isn't turning out any documentation, I was wondering= > if=20 > anyone here has any to share. You should read Chapters 10 (Software Transport Interface) and 11 (Software Transport Verbs) of the Infiniband Architecture Specification, Volume 1. Then, besides the example code such as ib_write_bw and ib_rdma_bw, there are the man pages for libibverbs and librdmacm. -Bryan -- 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:[~2010-01-14 17:23 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <S1752421Ab0AMJqp/20100113094645Z+1609@vger.kernel.org>
[not found] ` <S1752421Ab0AMJqp/20100113094645Z+1609-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
2010-01-13 10:06 ` Documentation for libiverbs? Werther Pirani
[not found] ` <4B4D9B1E.1020604-hv++7WL8WN4@public.gmane.org>
2010-01-13 11:44 ` Tziporet Koren
[not found] ` <4B4DB219.2020406-VPRAkNaXOzVS1MOuV/RT9w@public.gmane.org>
2010-01-14 9:59 ` Werther Pirani
[not found] ` <4B4EEAFC.5040409-hv++7WL8WN4@public.gmane.org>
2010-01-14 17:23 ` Roland Dreier
2010-01-13 18:09 ` Bryan Green
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox