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!?
  欢迎使用雅虎超大容量免费邮箱 
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to