yon 0 last edited by
i use remote network test my pfsense2.5 wan ip, mtr show it is has 10-35% packet loss.
use netstat -s show " 5636 packets not forwardable"
357619 total packets received
0 bad header checksums
0 with size smaller than minimum
0 with data size < data length
0 with ip length > max ip packet size
0 with header length < data size
0 with data length < header length
0 with bad options
1 with incorrect version number
0 fragments received
0 fragments dropped (dup or out of space)
0 fragments dropped after timeout
0 packets reassembled ok
188514 packets for this host
0 packets for unknown/unsupported protocol
107724 packets forwarded (0 packets fast forwarded)
5636 packets not forwardable
0 packets received for unknown multicast group
0 redirects sent
178832 packets sent from this host
0 packets sent with fabricated ip header
0 output packets dropped due to no bufs, etc.
4987 output packets discarded due to no route
0 output datagrams fragmented
0 fragments created
0 datagrams that can't be fragmented
0 tunneling packets that can't find gif
0 datagrams with bad address in header
how i do check and fix it?
and i search find http://m.landingbj.com/showtopic.jsp?rootid=254421 about enable net.inet.ip.fastforwarding=1, so it is packet loss?
and i see the netmap-fwd news from https://www.netgate.com/blog/pfsense-around-the-world-better-ipsec-tryforward-and-netmap-fwd.html
what's need i do it for speed?
There is nothing to change for those on current versions. The kernel only does tryforward which is the best possible performance.
"not forwardable" doesn't necessarily mean a performance problem. If it were a performance problem, they'd be in the drop counters, not that one.
I doubt the non-forwarded packets would be related to packet loss. More likely is that they were invalid in some way.
yon 0 last edited by yon 0
I want to know how to find the cause of packet loss?
i am remote vps use mtr test to my local wan ip show packet loss.
intel NIC 350 and 24g RAM.
yon 0 last edited by yon 0
netstat -ssp ip
178284 total packets received
150415 packets for this host
12639 packets forwarded
13480 packets not forwardable
166008 packets sent from this host
13248 output packets discarded due to no route
780113/8752/788865 mbufs in use (current/cache/total)
2850/7748/10598/1000000 mbuf clusters in use (current/cache/total/max)
33/7557 mbuf+clusters out of packet secondary zone in use (current/cache)
8198/3381/11579/524288 4k (page size) jumbo clusters in use (current/cache/total/max)
0/0/0/524288 9k jumbo clusters in use (current/cache/total/max)
0/0/0/124480 16k jumbo clusters in use (current/cache/total/max)
233528K/31208K/264736K bytes allocated to network (current/cache/total)
0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters)
0/0/0 requests for mbufs delayed (mbufs/clusters/mbuf+clusters)
0/0/0 requests for jumbo clusters delayed (4k/9k/16k)
0/0/0 requests for jumbo clusters denied (4k/9k/16k)
0 sendfile syscalls
0 sendfile syscalls completed without I/O request
0 requests for I/O initiated by sendfile
0 pages read by sendfile as part of a request
0 pages were valid at time of a sendfile request
0 pages were valid and substituted to bogus page
0 pages were requested for read ahead by applications
0 pages were read ahead by sendfile
0 times sendfile encountered an already busy page
0 requests for sfbufs denied
0 requests for sfbufs delayed