Re: Increasing InterFrame Gap

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

 



> Just wanted to know if IFG is configurable programatically.

There is a small chance that some model of ethernet card makes the IFG
programmable, but I've never seen a device driver making that configurable,
and there is no logic in the kernel to ask a driver to do so. You would
have to ask a card manufacturer for the exact programming sequence,
then adapt the driver to initialize it accordingly, and if you want
to make it settable from userspace, you have to invent a new downcall
in the device driver API, along with a new socket option for the user
to call down there.

> I am trying to send too many UDP Packets and so am having packet loss.

Then send less. UDP is lossy.

> I think if i increase the inter frame gap (which is 9.6 micro seconds by default), i can reduce the loss.

How would loss be reduced by _reducing_ the number of packets you _can_ send?

The packets are probably dropped right inside the sending machine's kernel,
due to a filled output queue. That's fine, UDP is lossy. Don't send so
many packets, if that is bad for you.

Forget the IFG. Now.

best regards
  Patrick
-
: 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