<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 11, 2016 at 9:18 PM, Paul Ruizendaal <span dir="ltr"><<a href="mailto:pnr@planet.nl" target="_blank">pnr@planet.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
I've checked the code again and at that time the CSRG mbuf code does<br>
not use external 2048 byte blocks yet; the page allocation algorithm<br>
appears to have changed from the BBN version, but as yet I don't know if<br>
this affected performance much.<br>
<br>
In any case, my earlier understanding that larger buffers were used at<br>
that time to boost speed on local nets appears incorrect.<br>
<div class="HOEnZb"><div class="h5"><br></div></div></blockquote><div><br></div><div>This is entirely recollections and probably foggy/wrong in some details.</div><div><br></div><div>My recollection is that mbufs were 128 bytes, because that was optimized for manipulating headers.</div><div>You could pull an entire TCP/IP header into the front mbuf and work with a contiguous block of memory.</div><div>I seem to recall a routine called mpullup() which was designed to ensure that the entire TCP/IP header</div><div>was in the first mbuf after the link layer (e.g. Ethernet) header was removed. Mbufs were created by</div><div>taking a 512 byte page and splitting it into 4 mbufs.</div><div><br></div><div>I think there may have been 512 byte mbufs too -- and that may be the larger size. I don't think 2048<br></div><div>byte buffers were feasible until BSD enhanced its memory management -- initially, mbufs were simply pages</div><div>taken from the page pool.</div><div><br></div><div>Thanks!<br><br>Craig</div><div><br></div></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">*****<br><div>Craig Partridge's email account for professional society activities and mailing lists.</div><div>For Raytheon business, please email: <a href="mailto:craig@bbn.com" target="_blank">craig@bbn.com</a></div></div></div>
</div></div>