The buffer model is designed to reduce the frequency of memory copying. At present, there are two famous Buffer models, mbuf (a 2 tires scheme, used in FreeBSD) and STREAMS (a 3 tires scheme). The Juphoon Dbuf (Data buffer) model is designed more efficient for protocol process, and it provides two different buffers for data and structure respectively.
The result of using Juphoon Dbuf is, there would be no real memory copy while data is passed between different protocol layers.
|