Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Jun 2005 11:21:04 +0800 (CST)
From:      jun lu <junlu_nudt@yahoo.com.cn>
To:        freebsd-net@freebsd.org
Subject:   some question about mbuf reuse
Message-ID:  <20050601032104.65888.qmail@web15502.mail.cnb.yahoo.com>

next in thread | raw e-mail | index | archive | help
   our project write a web server in freebsd kernel. we can receive and send data directly in kernel.Now i have some idea, i think  i can creat a mbuf with cluster buffer before i send some data,because the data i want to send are all in kernel,so i can  take thest data in cluster i create before,and transfer this mbuf to sosend(),then i make tcp/ip cann't release this mbuf after it received the ack.In this way, i can send data in kernel next time use the same mbuf with different cluster.i am not sure whether this way can enhance the performance.So,i hope some one can discuss with me

		
---------------------------------
DO YOU YAHOO!?
  欢迎使用雅虎超大容量免费邮箱 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050601032104.65888.qmail>