Hi all! Im making some performance enhancement on PhaROS, i realised that one of my common scenarios is having several sockets that should receive exactly the same information, in order to do that, im using n calls to the vm, which does n system-calls. I was wondering if there something done in: - send the same data to all the sockets in just one primitive - send the same data to all the sockets in just one syscall. I checked around in google but i didn't found anything useful, but probably i have no knowledge about the proper words for such search :). Thanks!
Dig deeper: IP protocol supports broadcasting/multicasting. http://en.wikipedia.org/wiki/IP_multicast On 20 November 2013 08:49, Santiago Bragagnolo <santiagobragagnolo@gmail.com
wrote:
Hi all! Im making some performance enhancement on PhaROS, i realised that one of my common scenarios is having several sockets that should receive exactly the same information, in order to do that, im using n calls to the vm, which does n system-calls.
I was wondering if there something done in:
- send the same data to all the sockets in just one primitive - send the same data to all the sockets in just one syscall.
I checked around in google but i didn't found anything useful, but probably i have no knowledge about the proper words for such search :).
Thanks!
-- Best regards, Igor Stasenko.
Great info! Thanks! 2013/11/20 Igor Stasenko <siguctua@gmail.com>
Dig deeper: IP protocol supports broadcasting/multicasting.
http://en.wikipedia.org/wiki/IP_multicast
On 20 November 2013 08:49, Santiago Bragagnolo < santiagobragagnolo@gmail.com> wrote:
Hi all! Im making some performance enhancement on PhaROS, i realised that one of my common scenarios is having several sockets that should receive exactly the same information, in order to do that, im using n calls to the vm, which does n system-calls.
I was wondering if there something done in:
- send the same data to all the sockets in just one primitive - send the same data to all the sockets in just one syscall.
I checked around in google but i didn't found anything useful, but probably i have no knowledge about the proper words for such search :).
Thanks!
-- Best regards, Igor Stasenko.
If your sockets are connection oriented (it is. TCP) using IP Multicast won't be an option. Multicast was made with Datagrams in mind instead of Packets. Though there was a multicast solution that numbered the datagrams to request retransmission in case of packet loss. Regards, Esteban A. Maringolo 2013/11/20 Santiago Bragagnolo <santiagobragagnolo@gmail.com>:
Great info! Thanks!
2013/11/20 Igor Stasenko <siguctua@gmail.com>
Dig deeper: IP protocol supports broadcasting/multicasting.
http://en.wikipedia.org/wiki/IP_multicast
On 20 November 2013 08:49, Santiago Bragagnolo <santiagobragagnolo@gmail.com> wrote:
Hi all! Im making some performance enhancement on PhaROS, i realised that one of my common scenarios is having several sockets that should receive exactly the same information, in order to do that, im using n calls to the vm, which does n system-calls.
I was wondering if there something done in:
- send the same data to all the sockets in just one primitive - send the same data to all the sockets in just one syscall.
I checked around in google but i didn't found anything useful, but probably i have no knowledge about the proper words for such search :).
Thanks!
-- Best regards, Igor Stasenko.
On 20 November 2013 13:40, Esteban A. Maringolo <emaringolo@gmail.com>wrote:
If your sockets are connection oriented (it is. TCP) using IP Multicast won't be an option.
Multicast was made with Datagrams in mind instead of Packets. Though there was a multicast solution that numbered the datagrams to request retransmission in case of packet loss.
Yeah, but that's what you probably should do to avoid duplicating traffic in a first place: use proper technology for that.
Regards,
Esteban A. Maringolo
2013/11/20 Santiago Bragagnolo <santiagobragagnolo@gmail.com>:
Great info! Thanks!
2013/11/20 Igor Stasenko <siguctua@gmail.com>
Dig deeper: IP protocol supports broadcasting/multicasting.
http://en.wikipedia.org/wiki/IP_multicast
On 20 November 2013 08:49, Santiago Bragagnolo <santiagobragagnolo@gmail.com> wrote:
Hi all! Im making some performance enhancement on PhaROS, i realised
that
one of my common scenarios is having several sockets that should receive exactly the same information, in order to do that, im using n calls to the vm, which does n system-calls.
I was wondering if there something done in:
- send the same data to all the sockets in just one primitive - send the same data to all the sockets in just one syscall.
I checked around in google but i didn't found anything useful, but probably i have no knowledge about the proper words for such search :).
Thanks!
-- Best regards, Igor Stasenko.
-- Best regards, Igor Stasenko.
Thanks, i checked that out from some digging. Actually all my protocol run over TCP/IP so i cannot do most, but im taking in care move to UDP or maybe one of the Real time options. Thanks! 2013/11/20 Esteban A. Maringolo <emaringolo@gmail.com>
If your sockets are connection oriented (it is. TCP) using IP Multicast won't be an option.
Multicast was made with Datagrams in mind instead of Packets. Though there was a multicast solution that numbered the datagrams to request retransmission in case of packet loss.
Regards,
Esteban A. Maringolo
2013/11/20 Santiago Bragagnolo <santiagobragagnolo@gmail.com>:
Great info! Thanks!
2013/11/20 Igor Stasenko <siguctua@gmail.com>
Dig deeper: IP protocol supports broadcasting/multicasting.
http://en.wikipedia.org/wiki/IP_multicast
On 20 November 2013 08:49, Santiago Bragagnolo <santiagobragagnolo@gmail.com> wrote:
Hi all! Im making some performance enhancement on PhaROS, i realised
that
one of my common scenarios is having several sockets that should receive exactly the same information, in order to do that, im using n calls to the vm, which does n system-calls.
I was wondering if there something done in:
- send the same data to all the sockets in just one primitive - send the same data to all the sockets in just one syscall.
I checked around in google but i didn't found anything useful, but probably i have no knowledge about the proper words for such search :).
Thanks!
-- Best regards, Igor Stasenko.
participants (3)
-
Esteban A. Maringolo -
Igor Stasenko -
Santiago Bragagnolo