tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: mbuf cluster leak? (Edgar =?iso-8859-1?B?RnXf?=) writes:

>Another idea: can I get more details on what those mbuf clusters are used for?

An mbuf stores 256 bytes that is used for data and some metadata
of a network packet (some systems have 512 bytes instead of 256).

For network packets that are larger, only the metadata is kept
in the mbuf, but the data is stored externally in a cluster of 2048
bytes, so you need 1 mbuf + 1 cluster.

Input data packets are often stored in clusters to easily accomodate
arbitrary ethernet packets (usually 1514 bytes or a bit larger).

Home | Main Index | Thread Index | Old Index