Re: observation

Yuri Pudgorodsky (yur@mipt.ru)
Mon, 04 May 1998 22:57:12 +0400


This is a multi-part message in MIME format.
--------------52B96902793947B382C036BB
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Andi Kleen <ak@muc.de> writes:

> Try one thing. Get new nettools, install them and try (assuming your
ppp
> interface is ppp0)
>
> /sbin/ifconfig ppp0 tx_queue_len 4
>
> That should help. You can experiment with value between 3 and 10.
Please
> give feedback to the list about what values work well.

Two little issues to note:

- tx_queue_len should really be txqueuelen;
- with glibc (at least RedHat 2.0.7-7 version) you probably need the
following patch
for nettools in order to get "txqueuelen" option.

I wish one day this glibc "features" will be finally nailed down...

--Yuri

--------------52B96902793947B382C036BB
Content-Type: text/plain; charset=us-ascii; name="net-tools-1.45_glib.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="net-tools-1.45_glib.patch"

diff -ur net-tools-1.45/interface.h net-tools-1.45a/interface.h
--- net-tools-1.45/interface.h Thu Apr 16 16:48:57 1998
+++ net-tools-1.45a/interface.h Mon May 4 22:39:08 1998
@@ -64,6 +64,9 @@

/* Check for supported features */

-#if defined(SIOCSIFTXQLEN) && defined(ifr_qlen)
+#if defined(SIOCSIFTXQLEN)
+#ifndef ifr_qlen
+# define ifr_qlen ifr_ifru.ifru_ivalue /* Queue length */
+#endif
#define HAVE_TXQUEUELEN
#endif
diff -ur net-tools-1.45/lib/ax25.c net-tools-1.45a/lib/ax25.c
--- net-tools-1.45/lib/ax25.c Fri Feb 13 23:42:32 1998
+++ net-tools-1.45a/lib/ax25.c Mon May 4 22:43:20 1998
@@ -24,7 +24,8 @@
#include <sys/types.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
-#if __GLIBC__ == 2
+/* suddenly, with RedHat glib 2.0.7-7 netax25 does not exist */
+#if 0 && __GLIBC__ == 2
#include <netax25/ax25.h>
#else
#include <linux/ax25.h>

--------------52B96902793947B382C036BB--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu