it's the output, not ack coalescing (Re: TSO and FreeBSD vs Linux)

Lev Serebryakov lev at FreeBSD.org
Wed Aug 14 11:47:23 UTC 2013


Hello, Luigi.
You wrote 14 августа 2013 г., 14:21:09:

LR> Then the problem remains that we should keep a copy of route and
LR> arp information in the socket instead of redoing the lookups on
LR> every single transmission, as they consume some 25% of the time of
LR> a sendto(), and probably even more when it comes to large tcp
LR> segments, sendfile() and the like.
  And we should invalidate this info on ARP/route changes, or connection
 will be lost in such cases, am I right?.. So, on each such event code
 should look into all sockets and check, if routing/ARP information is still
 valid for them. Or we should store lists of sockets in routing and ARP
 tables... I don't know, what is worse.


-- 
// Black Lion AKA Lev Serebryakov <lev at FreeBSD.org>



More information about the freebsd-net mailing list