Re: UDP Packet Order

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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
-
: 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

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux