Re: about tuntap & user space device driver

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

 



Yueting Shen <ritashen@xxxxxxxxxxxxxxx> wrote:
>
> But by looking at the packets captured by "ethereal", I found actually the 
> long respond time is spent by the network card to send the previous 
> packets(from ping flood), after finished all those packets, the card then 
> reply the second ping frames.

This means that there is queue somewhere in the tx path that's too long.
You can start by looking at the queue for your tuntap device.  If it's
a tap device, then you'll have a queue of 100 packets.  That may be too
long depending on your application.

You can adjust the queuelen using ifconfig(8)/ip(8).

If that's not the problem, then you should examine your application for
any hidden queues there.

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
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