* sdp and port 0
@ 2010-05-18 10:20 Stijn De Weirdt
[not found] ` <1274178031.6513.22.camel-qUgQvq5LSkOu2fxVTW3+XQ@public.gmane.org>
0 siblings, 1 reply; 6+ messages in thread
From: Stijn De Weirdt @ 2010-05-18 10:20 UTC (permalink / raw)
To: linux-rdma-u79uwXL29TY76Z2rM5mHXA
hi all,
(i'm not on the list, please keep me in cc)
i am trying SDP with some executable (i don't have the source), but i'm
getting errors with the bind step (output from strace):
bind(20, {sa_family=AF_INET, sin_port=htons(0),
sin_addr=inet_addr("1.2.3.4")}, 16) = -1 EADDRINUSE (Address already in
use)
is it possible that a bind to port 0 (ie ask system for free port) is
not supported with libsdp?
using 'both' as addressfamily in the configfile instead of 'sdp' works
but the tcp is used.
i also tried to add a portrange to avoid port 0 with sdp (ie tcp for
port 0, sdp for the rest), but this doesn't work either (which is not
that surprising).
thanks a lot,
stijn
--
http://hasthelhcdestroyedtheearth.com/
--
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] 6+ messages in thread[parent not found: <1274178031.6513.22.camel-qUgQvq5LSkOu2fxVTW3+XQ@public.gmane.org>]
* Re: sdp and port 0 [not found] ` <1274178031.6513.22.camel-qUgQvq5LSkOu2fxVTW3+XQ@public.gmane.org> @ 2010-05-25 8:34 ` Amir Vadai [not found] ` <4BFB8B8A.6080205-VPRAkNaXOzVS1MOuV/RT9w@public.gmane.org> 0 siblings, 1 reply; 6+ messages in thread From: Amir Vadai @ 2010-05-25 8:34 UTC (permalink / raw) To: Stijn De Weirdt; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA Stijn Hi, Listening to port 0 is supported and should work. Which OFED version do you use (issue ofed_info to know)? Does it work for you on a simple test application that only listen on a socket? - Amir On 05/18/2010 01:20 PM, Stijn De Weirdt wrote: > hi all, > > (i'm not on the list, please keep me in cc) > > i am trying SDP with some executable (i don't have the source), but i'm > getting errors with the bind step (output from strace): > > bind(20, {sa_family=AF_INET, sin_port=htons(0), > sin_addr=inet_addr("1.2.3.4")}, 16) = -1 EADDRINUSE (Address already in > use) > > is it possible that a bind to port 0 (ie ask system for free port) is > not supported with libsdp? > > using 'both' as addressfamily in the configfile instead of 'sdp' works > but the tcp is used. > i also tried to add a portrange to avoid port 0 with sdp (ie tcp for > port 0, sdp for the rest), but this doesn't work either (which is not > that surprising). > > > thanks a lot, > > stijn > -- 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] 6+ messages in thread
[parent not found: <4BFB8B8A.6080205-VPRAkNaXOzVS1MOuV/RT9w@public.gmane.org>]
* Re: sdp and port 0 [not found] ` <4BFB8B8A.6080205-VPRAkNaXOzVS1MOuV/RT9w@public.gmane.org> @ 2010-05-25 9:04 ` Andrea Gozzelino [not found] ` <803144.1274778246034.SLOX.WebMail.wwwrun-XDIR3SKYeFbgKi2NxijLtw@public.gmane.org> 2010-05-25 9:44 ` Stijn De Weirdt 1 sibling, 1 reply; 6+ messages in thread From: Andrea Gozzelino @ 2010-05-25 9:04 UTC (permalink / raw) To: Stijn De Weirdt; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA, Amir Vadai Hi all, Hi Stijn, I would like to integrate Amir's information about an old discussion. In April I have tested SDP with Neteffect cards with OFED 1.5.1 and OFED 1.5.2 without success. I have open two bug on Bugzilla (number 2027 and 2028 --> LINK:https://bugs.openfabrics.org/). The first is closed thanks to Amir. On the second one, Steve will work in July. Stijn, you can find our old discussion about SDP under the subject-title "Socket Direct Protocol: help(2)" and "BUG 2027 / 2028" (something like that). I have also posted some information on the blog link below: http://nixcraft.com/linux-software/14686-socket-direct-protocol-netperf.html#post25324 I don't know if those information help you, but I think it's important read and understand more about SDP. Can I ask you why do you use SDP in your activity? Thanks again to Amir. Regards, Andrea Andrea Gozzelino INFN - Laboratori Nazionali di Legnaro (LNL) Viale dell'Universita' 2 I-35020 - Legnaro (PD)- ITALIA Tel: +39 049 8068346 Fax: +39 049 641925 Mail: andrea.gozzelino-PK20h7lG/Rc1GQ1Ptb7lUw@public.gmane.org On May 25, 2010 10:34 AM, Amir Vadai <amirv-VPRAkNaXOzVS1MOuV/RT9w@public.gmane.org> wrote: > Stijn Hi, > > Listening to port 0 is supported and should work. > Which OFED version do you use (issue ofed_info to know)? > > Does it work for you on a simple test application that only listen on > a socket? > > - Amir > > > On 05/18/2010 01:20 PM, Stijn De Weirdt wrote: > > hi all, > > > > (i'm not on the list, please keep me in cc) > > > > i am trying SDP with some executable (i don't have the source), but > > i'm > > getting errors with the bind step (output from strace): > > > > bind(20, {sa_family=AF_INET, sin_port=htons(0), > > sin_addr=inet_addr("1.2.3.4")}, 16) = -1 EADDRINUSE (Address already > > in > > use) > > > > is it possible that a bind to port 0 (ie ask system for free port) > > is > > not supported with libsdp? > > > > using 'both' as addressfamily in the configfile instead of 'sdp' > > works > > but the tcp is used. > > i also tried to add a portrange to avoid port 0 with sdp (ie tcp for > > port 0, sdp for the rest), but this doesn't work either (which is > > not > > that surprising). > > > > > > thanks a lot, > > > > stijn > > > > -- > 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 > -- 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] 6+ messages in thread
[parent not found: <803144.1274778246034.SLOX.WebMail.wwwrun-XDIR3SKYeFbgKi2NxijLtw@public.gmane.org>]
* Re: sdp and port 0 [not found] ` <803144.1274778246034.SLOX.WebMail.wwwrun-XDIR3SKYeFbgKi2NxijLtw@public.gmane.org> @ 2010-05-25 9:49 ` Stijn De Weirdt 0 siblings, 0 replies; 6+ messages in thread From: Stijn De Weirdt @ 2010-05-25 9:49 UTC (permalink / raw) To: Andrea Gozzelino; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA, Amir Vadai hi andrea, > I would like to integrate Amir's information about an old discussion. > In April I have tested SDP with Neteffect cards with OFED 1.5.1 and OFED > 1.5.2 without success. I have open two bug on Bugzilla (number 2027 and > 2028 --> LINK:https://bugs.openfabrics.org/). > The first is closed thanks to Amir. > On the second one, Steve will work in July. > > Stijn, you can find our old discussion about SDP under the subject-title > "Socket Direct Protocol: help(2)" and "BUG 2027 / 2028" (something like > that). > I have also posted some information on the blog link below: > > http://nixcraft.com/linux-software/14686-socket-direct-protocol-netperf.html#post25324 > > I don't know if those information help you, but I think it's important > read and understand more about SDP. > i read the thread and both bug reports, but at first sight i seems unrelated. the hardware i'm trying it on is IB DDR ConnectX (mlx4) > Can I ask you why do you use SDP in your activity? we have some legacy binary-only code that we are trying to speedup. it uses TCP to exchange large amounts of data between processes, so we are trying sdp if it can help with this. thanks a lot, stijn > > Thanks again to Amir. > Regards, > Andrea > > Andrea Gozzelino > > INFN - Laboratori Nazionali di Legnaro (LNL) > Viale dell'Universita' 2 > I-35020 - Legnaro (PD)- ITALIA > Tel: +39 049 8068346 > Fax: +39 049 641925 > Mail: andrea.gozzelino-PK20h7lG/Rc1GQ1Ptb7lUw@public.gmane.org > > > > On May 25, 2010 10:34 AM, Amir Vadai <amirv-VPRAkNaXOzVS1MOuV/RT9w@public.gmane.org> wrote: > > > Stijn Hi, > > > > Listening to port 0 is supported and should work. > > Which OFED version do you use (issue ofed_info to know)? > > > > Does it work for you on a simple test application that only listen on > > a socket? > > > > - Amir > > > > > > On 05/18/2010 01:20 PM, Stijn De Weirdt wrote: > > > hi all, > > > > > > (i'm not on the list, please keep me in cc) > > > > > > i am trying SDP with some executable (i don't have the source), but > > > i'm > > > getting errors with the bind step (output from strace): > > > > > > bind(20, {sa_family=AF_INET, sin_port=htons(0), > > > sin_addr=inet_addr("1.2.3.4")}, 16) = -1 EADDRINUSE (Address already > > > in > > > use) > > > > > > is it possible that a bind to port 0 (ie ask system for free port) > > > is > > > not supported with libsdp? > > > > > > using 'both' as addressfamily in the configfile instead of 'sdp' > > > works > > > but the tcp is used. > > > i also tried to add a portrange to avoid port 0 with sdp (ie tcp for > > > port 0, sdp for the rest), but this doesn't work either (which is > > > not > > > that surprising). > > > > > > > > > thanks a lot, > > > > > > stijn > > > > > > > -- > > 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 > > > > > > -- http://hasthelhcdestroyedtheearth.com/ -- 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] 6+ messages in thread
* Re: sdp and port 0 [not found] ` <4BFB8B8A.6080205-VPRAkNaXOzVS1MOuV/RT9w@public.gmane.org> 2010-05-25 9:04 ` Andrea Gozzelino @ 2010-05-25 9:44 ` Stijn De Weirdt [not found] ` <1274780656.3097.16.camel-qUgQvq5LSkOu2fxVTW3+XQ@public.gmane.org> 1 sibling, 1 reply; 6+ messages in thread From: Stijn De Weirdt @ 2010-05-25 9:44 UTC (permalink / raw) To: Amir Vadai; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA hello amir, > Listening to port 0 is supported and should work. > Which OFED version do you use (issue ofed_info to know)? > OFED 1.5.1 on rhel5.3 clone. (so libsdp 1.1.100-0.1.g920ea31). i tried to compile the ost recent version of libsdp, but i couldn't build it separately, and i haen't tried any 1.5.2 prereleases > Does it work for you on a simple test application that only listen on a socket? > i'll try that asap thanks a lot, stijn > - Amir > > > On 05/18/2010 01:20 PM, Stijn De Weirdt wrote: > > hi all, > > > > (i'm not on the list, please keep me in cc) > > > > i am trying SDP with some executable (i don't have the source), but i'm > > getting errors with the bind step (output from strace): > > > > bind(20, {sa_family=AF_INET, sin_port=htons(0), > > sin_addr=inet_addr("1.2.3.4")}, 16) = -1 EADDRINUSE (Address already in > > use) > > > > is it possible that a bind to port 0 (ie ask system for free port) is > > not supported with libsdp? > > > > using 'both' as addressfamily in the configfile instead of 'sdp' works > > but the tcp is used. > > i also tried to add a portrange to avoid port 0 with sdp (ie tcp for > > port 0, sdp for the rest), but this doesn't work either (which is not > > that surprising). > > > > > > thanks a lot, > > > > stijn > > > -- http://hasthelhcdestroyedtheearth.com/ -- 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] 6+ messages in thread
[parent not found: <1274780656.3097.16.camel-qUgQvq5LSkOu2fxVTW3+XQ@public.gmane.org>]
* Re: sdp and port 0 [not found] ` <1274780656.3097.16.camel-qUgQvq5LSkOu2fxVTW3+XQ@public.gmane.org> @ 2010-05-25 10:08 ` Amir Vadai 0 siblings, 0 replies; 6+ messages in thread From: Amir Vadai @ 2010-05-25 10:08 UTC (permalink / raw) To: Stijn De Weirdt; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Stijn, If I am not mistaken It should work on 1.5.1. I tested it here on latest 1.5.2 and it works. - Amir On 05/25/2010 12:44 PM, Stijn De Weirdt wrote: > hello amir, > > >> Listening to port 0 is supported and should work. >> Which OFED version do you use (issue ofed_info to know)? >> >> > OFED 1.5.1 on rhel5.3 clone. (so libsdp 1.1.100-0.1.g920ea31). i tried > to compile the ost recent version of libsdp, but i couldn't build it > separately, and i haen't tried any 1.5.2 prereleases > > >> Does it work for you on a simple test application that only listen on a socket? >> >> > i'll try that asap > > > thanks a lot, > > stijn > > >> - Amir >> >> >> On 05/18/2010 01:20 PM, Stijn De Weirdt wrote: >> >>> hi all, >>> >>> (i'm not on the list, please keep me in cc) >>> >>> i am trying SDP with some executable (i don't have the source), but i'm >>> getting errors with the bind step (output from strace): >>> >>> bind(20, {sa_family=AF_INET, sin_port=htons(0), >>> sin_addr=inet_addr("1.2.3.4")}, 16) = -1 EADDRINUSE (Address already in >>> use) >>> >>> is it possible that a bind to port 0 (ie ask system for free port) is >>> not supported with libsdp? >>> >>> using 'both' as addressfamily in the configfile instead of 'sdp' works >>> but the tcp is used. >>> i also tried to add a portrange to avoid port 0 with sdp (ie tcp for >>> port 0, sdp for the rest), but this doesn't work either (which is not >>> that surprising). >>> >>> >>> thanks a lot, >>> >>> stijn >>> >>> >> > -- 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] 6+ messages in thread
end of thread, other threads:[~2010-05-25 10:08 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-18 10:20 sdp and port 0 Stijn De Weirdt
[not found] ` <1274178031.6513.22.camel-qUgQvq5LSkOu2fxVTW3+XQ@public.gmane.org>
2010-05-25 8:34 ` Amir Vadai
[not found] ` <4BFB8B8A.6080205-VPRAkNaXOzVS1MOuV/RT9w@public.gmane.org>
2010-05-25 9:04 ` Andrea Gozzelino
[not found] ` <803144.1274778246034.SLOX.WebMail.wwwrun-XDIR3SKYeFbgKi2NxijLtw@public.gmane.org>
2010-05-25 9:49 ` Stijn De Weirdt
2010-05-25 9:44 ` Stijn De Weirdt
[not found] ` <1274780656.3097.16.camel-qUgQvq5LSkOu2fxVTW3+XQ@public.gmane.org>
2010-05-25 10:08 ` Amir Vadai
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox