>On Mon, Jan 07, 2008 at 05:12:44AM -0800, patrick klos.com
wrote:
>> Hello,
>>
>> I'm working on a NIC driver for a 10 Gbps NIC and I
have the basics worki=
>ng,
>> but I clearly have a memory leak. The thing is, I
don't see the leak whe=
>n I
>> look at the output of 'vmstat -m'. I see the
memory climb in the output =
>of
>> 'top' - it indicates that the "File"
memory usage is continually climbing
>> when I have transfers happening.
>
>Are these transfers coming from or going to a file
system?
Neither. They're simple UDP sends and receives, or they're
8900 byte ICMP
pings (in jumbo packets).
>> So the basic question is "what memory usage
would be considered 'File' me=
>mory
>> by 'top' but wouldn't show up in 'vmstat
-m'?". Of course, it's possible=
> I'm
>> just not seeing it in the 'vmstat -m' output, but
I've looked pretty hard=
>!
>
>I'm pretty sure "File" is cached file
system/block device backing.
I was surprised to see the "File" memory being
used up during my network
I/O tests, but I'm still somewhat new to NetBSD kernel
development. I
figured someone would know what's going on or at least be
able to point
me in the right direction?
Thanks Jonathan.
Patrick
========= For LAN/WAN Protocol Analysis, check out
PacketView Pro! =========
Patrick Klos Email:
patrick klos.com
Network/Embedded Software Engineer Web: http://www.klos.com/
Klos Technologies, Inc. Phone:
603-714-0195
============================================================
================
|