Quote:
Originally Posted by mhogue
I'm using UDP multicast not TCP by the way...
|
Can you describe your architecture in more detail? Why are you using multicast instead of unicast?
Quote:
Originally Posted by mhogue
I have several threads that are send and several that are receiving.
|
Are all the threads running on the same machine? Is the machine sending multicast packets to itself? Do you have more than one machine? If so, how are the machines arranged?
Quote:
Originally Posted by mhogue
I discovered when the transmission rate was extremely high e.g. 60 Hz and 1024 packet sizes it would spike my cpu usage.
|
Assuming 10 senders, 60 * 10 * 1024 * Hz = 600 KB/s = 7.2 Mbps. If your Ethernet is only 10 Mbps and running in half-duplex mode, I see a potential problem.
Once again, assuming 10 senders, 60 * 10 * Hz = 600 packets per second.
I would not consider either number very large assuming you are using a Pentium 4 class machine with gigabit Ethernet to do the processing. What processing to you perform on each packet?