[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJFZqHwASEOG-atD=yvygra=Ah5awF+9drmgGZm7L2OoGam0DQ@mail.gmail.com>
Date: Tue, 13 Oct 2015 20:46:49 +0800
From: Li RongQing <roy.qing.li@...il.com>
To: netdev <netdev@...r.kernel.org>
Subject: [bug report or not] ping6 will lost packets when ping6 lots of ipv6 address
1. in a machine, configure 3000 ipv6 address in one interface
for i in {1..3000}; do ip -6 addr add 4001:5013::$i/0 dev eth0; done
2. in other machine, ping6 the upper configured ipv6 address, then
lots of lost packets
ip -6 addr add 4001:5013::0/64 dev eth0
for i in {1..2000}; do ping6 -q -c1 4001:5013::$i; done;
3. increasing the gc thresh can handles these lost
sysctl -w net.ipv6.neigh.default.gc_thresh1=2000
sysctl -w net.ipv6.neigh.default.gc_thresh2=3000
sysctl -w net.ipv6.neigh.default.gc_thresh3=4000
sysctl -w net.ipv6.route.gc_thresh=3000
sysctl -w net.ipv6.route.max_size =3000
-Roy
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists