Date: Sun, 08 Mar 1998 22:21:09 -0700 From: "M. Warner Losh" <imp@village.org> To: Marc Slemko <marcs@znep.com> Cc: Julian Elischer <julian@whistle.com>, hackers@FreeBSD.ORG Subject: Re: kernel wishlist for web server performance Message-ID: <199803090521.WAA04154@pencil-box.village.org> In-Reply-To: Your message of "Sun, 08 Mar 1998 08:38:38 MST." <Pine.BSF.3.95.980308083137.2799W-100000@alive.znep.com> References: <Pine.BSF.3.95.980308083137.2799W-100000@alive.znep.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <Pine.BSF.3.95.980308083137.2799W-100000@alive.znep.com> Marc Slemko writes: : But the point is that you still have to copy it into the mbuf, you still : have to use the memory for the mbuf, etc. This uses more CPU and memory : bandwidth, increases memory use, and means you may have to chop things up : smaller to avoid using too much memory for mbufs. And how does sendfile() differ from this? It still has to insert protocol headers somehow. : Or, you can use sendfile() and code it so it doesn't have to copy into : mbufs. This is easier because of where the data is coming from. Then don't you lose performance setting up two DMA transfers for the packet? Or do most cards have scatter/gather operations for transmitting packets? Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803090521.WAA04154>