lkml.org 
[lkml]   [1996]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: RFC: New kernel proc interface

On 02-Nov-96 alan@lxorguk.ukuu.org.uk wrote:
>> Besides, the data is cached only while the file is held open.
>> When the file is closed, all that memory is freed. 3.2MB is
>> a pitance today. Anyone that is using 40K routes can afford
>> the US$12 for another 4MB.
>
>My gated monitor holds the file open continually.

For monitoring gated, would something on the order of
/proc/net/route_log work better? I could work out the
code to do logging to /proc. Would notification of
routing changes work better than scanning the kernel
routing tables? I'm not sure of what exactly your gated
monitor does....

I just think there might be another way of looking at the
problem.

>Its not even neccessarily compatibility thats an issue. We just need
>a way to say 'Dont cache me Im potentially big', or for the code to
>get a 32K block and then say "Stuff this Im not caching any more".

This should be easy to do, but does not solve the any
problems. Might as well stay with the current 4K buffer.
We might also try removing the need for huge proc files.

Are there any other potentially huge (>1MB) /proc/net
files?

Rob
(rriggs@tesser.com)

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