W dniu 2010-11-16 16:14, Joel Sing pisze:


The default length for a queue is 50 packets - this only allows you to queue
around 75,000 bytes and the burstiness of TCP slow-start is likely to well
exceed this in your configuration (due to the BDP). I'd suggest increasing
the queue length - also run 'pfctl -vvs queue' or 'systat queue' and see
what's happening with regards to packets drops.


r...@router-test (/root)# systat queue

QUEUE BW SCH PRIO PKTS BYTES DROP_P DROP_B QLEN BORROW SUSPEN P/S B/S root_em0 1000M cbq 0 1947967 2879364K 0 0 0 0 0 29412 44525K q_lan 950M cbq 1947967 2879364K 0 0 0 0 0 29412 44525K



r...@router-test (/root)# pfctl -vvs queue

queue root_em0 on em0 bandwidth 1Gb priority 0 cbq( wrr root ) {q_lan}
[ pkts: 4793481 bytes: 7256036778 dropped pkts: 0 bytes: 0 ]
  [ qlength:   0/ 50  borrows:      0  suspends:      0 ]
  [ measured: 29385.4 packets/s, 355.86Mb/s ]
queue  q_lan on em0 bandwidth 950Mb cbq( default )
[ pkts: 4793481 bytes: 7256036778 dropped pkts: 0 bytes: 0 ]
  [ qlength:   0/ 50  borrows:      0  suspends:      0 ]
  [ measured: 29385.4 packets/s, 355.86Mb/s ]


best regards,
Robert Lewandowski

Reply via email to