Thread (13 messages) 13 messages, 3 authors, 2017-08-17

Re: 100% CPU load when generating traffic to destination network that nexthop is not reachable

flat view

From: Julian Anastasov <ja@ssi.bg>
Date: 2017-08-15 22:11:29

	Hello,

On Wed, 16 Aug 2017, Julian Anastasov wrote:
	I thought about this, it is possible in
neigh_event_send:

        if (neigh->used != now)
                neigh->used = now;
	else if (neigh->nud_state == NUD_INCOMPLETE &&
		 neigh->arp_queue_len_bytes + skb->truesize >
		 NEIGH_VAR(neigh->parms, QUEUE_LEN_BYTES)
	With kfree_skb(skb) here, of course...
		return 1;

	But this is really in fast path and not sure it is
worth it. May be if we can move it somehow in __neigh_event_send
but as neigh->used is changed early we need a better idea
how to reduce the arp_queue hit rate...
Regards
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help