Re: Losing UDP packets with MFC Sockets

Tech-Archive recommends: Fix windows errors by optimizing your registry



Vicent Soler,

1. You said, you are loosing UDP packets when the CPU utilization is 100%.
If any other application or any threads (if you use) in yoru application
takes 100% of the CPU time, obviously you will lose UDP packets. Becasue
nobody there to receive inputs from the network.

Why don't you try to find which process/application takes 100% of the CPU
time and justify is it required or not.

2. If you want to clear the packets from the network, use separate thread,
basically worker thread, to collect the packets from the network and store
them in to a queue. Later you can get the packets from the queue.

3. Setting your thread priority higher might help you

4. Setting your process priority higher might help you.

Wish you all the best.

Thanks & Regards,

Gopalakrishnan
.



Relevant Pages

  • Re[2]: Test on 10GBE Intel based network card
    ... First of all I didn't catch for what task you are tuning. ... IF> 64 byte packets? ... IF> 1/ the card's interrupts are probably attache dto aonly 1 cpu, ... IF> running at maximum capacity on this network? ...
    (freebsd-performance)
  • [RFC v2: Patch 1/3] net: hand off skb list to other cpu to submit to upper layer
    ... The 2nd receives the packets from one NIC and forwards them out ... Initial testing showed cpu cache sharing has impact on speed. ... way for receiving cpu is doing nothing than just collecting packets. ... 10G NICs other than IXGBE: I have no other 10G NICs now. ...
    (Linux-Kernel)
  • Re: Test on 10GBE Intel based network card
    ... Am I correct that the maximum you can reach is around 639,000 packets ... 1/ the card's interrupts are probably attache dto aonly 1 cpu, ... there ia a lock profiling tool that right now I can't remember the name ... This e-mail and any attachments is confidential and may contain privileged ...
    (freebsd-performance)
  • Possible Worm: UDP Source port 770
    ... locate any further information with regards to these strange packets - ... I was called in to analyse a customer's network. ... first burst would have destination ports as ... evidence of these strange UDP packets - they only started when the box was ...
    (Incidents)
  • Re: 6509 looks bad in traceroute
    ... respond to CPU packets like ping/traceroute probes like things did in the ... 'internet is slow', customer runs traceroute and sees this, "hey look at this ... two hops are 6509/Sup720Bs running 12.2SXH and 12.2SXF4 ... Regarding your issue - what is the CPU like on the ...
    (comp.dcom.sys.cisco)