ng_mppc_decompress: too many (4094) packets dropped, disabling node

Alexander Motin mav at FreeBSD.org
Thu Jan 5 15:01:56 UTC 2012


On 05.01.2012 15:49, Gleb Smirnoff wrote:
> mpd has many open sockets, and each socket allocates that much recvspace
> and sendspace. Since there are a lot of them, it hits per-user resource
> limits, I suppose.
>
> We need to:
>
> 1) Change mpd to use one control socket with many hooks.

It is partially done. mpd uses common sockets to connect ppp, ccp and 
ecp nodes of all links. But some link types still could be improved.

>     This also requires improving ng_socket, to have a fast hook lookup
>     method.

Agree.

> 2) Implement SO_SNDBUF/SO_RCVBUF for AF_NETGRAPH socket, and utilize
>     it in ngctl, so there would be no need to bump global tunables.

It would be nice. The biggest consumer of socket buffers I remember is 
`ngctl list`. May be it could be reimplemented somehow to transfer 
information in smaller chunks.

By the way about features: there were request recently to allow PPPoE 
over ng_eiface interface. I think it should not be very difficult to add 
orphan hook and several control requests to it to behave alike to ng_ether.

-- 
Alexander Motin


More information about the freebsd-net mailing list