Re: UDP Packet Order

From: Nivedita Singhvi (niv@us.ibm.com)
Date: Thu Nov 21 2002 - 16:00:40 EST


> Thanks for your reply. This IS running on an SMP machine. Is there
> anyway to prevent the reordering from happening?

Well, if ditching that application is not an option :)..

You can bind interrupts to individual CPU's so that say your device
interrupt ( an eg eth0 IRQ20) will only go to one particular CPU,
which should almost eliminate the reordering windows..

If your device interrupt is your_irq_# you can tie that to cpu_# by
echo cpu_# >> /proc/irq/your_irq_#/smp_affinity

That assumes that all the packets from your remote app are coming in
over that network/device (if not, tie the others too)...

thanks,
Nivedita
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html



This archive was generated by hypermail 2b29 : Sat Nov 23 2002 - 22:00:01 EST