In article <[EMAIL PROTECTED]>,
zhang jack <[EMAIL PROTECTED]> wrote:
> Hi,
> When I using netperf to test Intel Pro/1000 performance,
> I got strange netstat output:
>
> #./netperf -H 10.0.0.2
> TCP STREAM TEST to 10.0.0.2
>
> on 10.0.0.2, I start netstat -w 1 , but got strange output:
> it seems the link is dowm and up ceaselessly.
>
> input(Total) output
> packets errs bytespackets errs bytes colls
> 1 01212460 1 0 9462 0
> 553 01206100277 0 10458 0
> 1 01203800 1 0 9291 0
> 554 01214652278 0 10461 0
> 1 01203816 1 0 9291 0
> 553 01214636277 0 10461 0
> 1 01203888 1 0 9291 0
> 553 01214636277 0 10461 0
> 4 01203784 2 0 9291 0
> 555 01214692277 0 10465 0
> 1 01195140 1 0 9225 0
> 551 01214596276 0 10457 0
> 1 01203768 1 0 9291 0
> 553 01214652277 0 10461 0
That is just because the interface statistics are only updated once
per second, and your 1-second netstat delays are in sync with the
stats updates. If you do "netstat -w 2" or more, this artifact
vanishes.
John
--
John Polstra
John D. Polstra & Co., Inc.Seattle, Washington USA
"Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message