lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.1101131009420.17215@ask.diku.dk>
Date:	Thu, 13 Jan 2011 10:21:13 +0100 (CET)
From:	Jesper Dangaard Brouer <hawk@...u.dk>
To:	MK <stardust496@...il.com>
Cc:	netdev@...r.kernel.org
Subject: Re: what are txqueuelen and nic ring parameters exactly?

On Mon, 10 Jan 2011, MK wrote:

> I often come across two variables that can be tuned for networking -
>
> 1) txqueuelen (via ifconfig )
> 2) NIC ring parameters for tx and rx (via ethtool)
>
> Can someone please tell me where these queues are exactly? Are both
> the same (seems not since their current values are different on my
> computer) . Is txqueuelen somehow part of the linux networking
> subsystem whereas the other is purely a h/w device construct?

You are spot on.

The txqueuelen is a Linux network stack thing, and is related to the 
traffic control subsystem, BUT only when using the default qdisc 
(pfifo_fast or mq).
If you add another qdisc, then its that specific qdiscs limits which 
counts, not the device txqueuelen.

When tuning these queue lengths, you probably decrease these queue sizes, 
NOT increase!

See the bufferbloat debate:
   http://netoptimizer.blogspot.com/2010/12/buffer-bloat-calculations.html
   http://netoptimizer.blogspot.com/2011/01/bufferbloat-wireless-is-worse-than.html
   http://gettys.wordpress.com/bufferbloat-faq/

Cheers,
   Jesper Brouer

--
-------------------------------------------------------------------
MSc. Master of Computer Science
Dept. of Computer Science, University of Copenhagen
Author of http://www.adsl-optimizer.dk
-------------------------------------------------------------------
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ