Re: sendto syscall is slow

From: Martin Devera (devik@cdi.cz)
Date: Tue Oct 16 2001 - 12:11:08 EST


> 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/



This archive was generated by hypermail 2b29 : Tue Oct 23 2001 - 21:00:15 EST