lkml.org 
[lkml]   [1996]   [Jun]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: route use?
Date
Jon Lewis (jlewis@inorganic5.fdt.net) wrote:
: I've recently noticed that the use column in /proc/net/route doesn't seem
: to update as often as it did in 1.2.x. i.e.
:
: Kernel routing table
: Destination Gateway Genmask Flags MSS Window Use Iface
: localnet * 255.255.255.0 U 1500 0 38 eth0
: loopback * 255.0.0.0 U 3584 0 2 lo
: default fdt-gw.fdt.net * UG 1500 0 1 eth0

This is due to the new route cache in the socket code. The usage count only
shows cache misses (i.e. connects). I guess this an be changed in the kernel
to update the field as one is used in 1.2.x, but this will of course slow
down the IP-layer a few ticks.. hmm.. You can look into rt_cache, there are
some usage numbers, too.

Greetings
Bernd
--
(OO) -- Bernd_Eckenfels@Wittumstrasse13.76646Bruchsal.de --
( .. ) ecki@lina.{inka.de,ka.sub.org} http://home.pages.de/~eckes/
o--o *plush* 2048/93600EFD eckes@irc +4972573817 *plush*
(O____O) If privacy is outlawed only Outlaws have privacy


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.041 / U:0.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site