Re: sendto syscall is slow

Martin Devera (devik@cdi.cz)
Tue, 16 Oct 2001 19:11:08 +0200 (CEST)


> Martin Devera <devik@cdi.cz> :
> [...]
> > Are you speaking about rewriting nic driver ? Like try to drain
> > waiting packet from nic's memory while enqueuing new one ?
>
> Partly: simply disabling Rx/Tx interrupt and checking for ack
> in buffers descriptor during hard_start_xmit. The profile for
> loopback shows your problem is not here however. :o(

I just found that PF_SOCKET can be mmaped to improve reads.
Only I can't found docs how to use the functionality ..

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/