Re: Much improved sosend_*() functions
- From: Randall Stewart <rrs@xxxxxxxxx>
- Date: Fri, 29 Sep 2006 16:55:43 -0400
Mike Silbersack wrote:
On Fri, 29 Sep 2006, Andre Oppermann wrote:
over it an copies the data into the mbufs by using uiomove(). sosend_dgram()
and sosend_generic() are change to use m_uiotombuf() instead of sosend_copyin().
Can you do some UDP testing with 512b, 1K, 2K, 4K, 8K, and 16K packets to
see if performance changes there as well?
Hmm.. I would think 512b and 1K will not show any
improvement.. since they would probably end up either
in an mbuf chain.. or a single 2k (or maybe 4k) cluster..
... quite a waste.. now if we had 512b and 1k clusters that
would be cool...
In fact I have always thought we should:
a) have no data portion in an mbuf.. just pointers i.e. always
an EXT
b) Have a 256/512 and 1k cluster too..
This would allow copy by reference no matter what size si
being sent...
But of course .. thats just me :-)
R
How about local sockets?
Impressive improvements for TCP, in any case!
Mike "Silby" Silbersack
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"
--
Randall Stewart
NSSTG - Cisco Systems Inc.
803-345-0369 <or> 815-342-5222 (cell)
_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: Much improved sosend_*() functions
- From: John-Mark Gurney
- Re: Much improved sosend_*() functions
- From: Mike Silbersack
- Re: Much improved sosend_*() functions
- From: Andre Oppermann
- Re: Much improved sosend_*() functions
- References:
- Much improved sosend_*() functions
- From: Andre Oppermann
- Re: Much improved sosend_*() functions
- From: Mike Silbersack
- Much improved sosend_*() functions
- Prev by Date: Re: kern/95665: [if_tun] "ping: sendto: No buffer space available" with TUN interface (easily reproducable with test program)
- Next by Date: Re: Much improved sosend_*() functions
- Previous by thread: Re: Much improved sosend_*() functions
- Next by thread: Re: Much improved sosend_*() functions
- Index(es):
Relevant Pages
|
|