Pyun YongHyeon writes:
> On Mon, Nov 10, 2008 at 01:58:54PM +0300, Boris Samorodov wrote:


> > you some additional info:
> > -----
> > uname -a ftp://ftp.bsam.ru/pub/tmp/EeePC/uname.2
> > netstat -w 1 ftp://ftp.bsam.ru/pub/tmp/EeePC/netstat.ale.2
> > sysctl dev.ale.0.stats ftp://ftp.bsam.ru/pub/tmp/EeePC/sysctl.ale.stats.2
> > iostat -w 1 ftp://ftp.bsam.ru/pub/tmp/EeePC/iostat.ale.2
> > -----
> >
> > The interesting one is a netstat one. I'm not sure what zeroes for
> > packets mean while trafic exists.
> >

>
> Hmm, I also have no idea why netstat(1) shows such a non-sense
> value while transfer is in progress. I guess you can easily write a
> script that extracts interesting MAC statistics of ale(4).
> For example,
> sysctl dev.ale.0.stats.rx.good_frames
> sysctl dev.ale.0.stats.tx.good_frames
>
> Use 'sysctl -d dev.ale.0.stats' to get complete descriptoin of each
> node.


Here is the diff of "sysctl dev.ale.0.stats" before and after fetching a
~300MB file:
-----
--- sysctl.ale.stats 2008-11-11 09:58:18.000000000 +0300
+++ sysctl.ale.stats.1 2008-11-11 09:59:00.000000000 +0300
@@ -1,39 +1,39 @@
-dev.ale.0.stats.rx.good_frames: 925908
-dev.ale.0.stats.rx.good_bcast_frames: 360
+dev.ale.0.stats.rx.good_frames: 1157295
+dev.ale.0.stats.rx.good_bcast_frames: 383
dev.ale.0.stats.rx.good_mcast_frames: 0
dev.ale.0.stats.rx.pause_frames: 0
dev.ale.0.stats.rx.control_frames: 0
dev.ale.0.stats.rx.crc_errs: 0
dev.ale.0.stats.rx.len_errs: 0
-dev.ale.0.stats.rx.good_octets: 1324666141
-dev.ale.0.stats.rx.good_bcast_octets: 33564
+dev.ale.0.stats.rx.good_octets: 1655816427
+dev.ale.0.stats.rx.good_bcast_octets: 35226
dev.ale.0.stats.rx.good_mcast_octets: 0
dev.ale.0.stats.rx.runts: 0
dev.ale.0.stats.rx.fragments: 0
-dev.ale.0.stats.rx.frames_64: 618
-dev.ale.0.stats.rx.frames_65_127: 97
-dev.ale.0.stats.rx.frames_128_255: 24
-dev.ale.0.stats.rx.frames_256_511: 73
-dev.ale.0.stats.rx.frames_512_1023: 8
-dev.ale.0.stats.rx.frames_1024_1518: 925419
+dev.ale.0.stats.rx.frames_64: 664
+dev.ale.0.stats.rx.frames_65_127: 104
+dev.ale.0.stats.rx.frames_128_255: 26
+dev.ale.0.stats.rx.frames_256_511: 78
+dev.ale.0.stats.rx.frames_512_1023: 13
+dev.ale.0.stats.rx.frames_1024_1518: 1156767
dev.ale.0.stats.rx.frames_1519_max: 0
dev.ale.0.stats.rx.trunc_errs: 0
dev.ale.0.stats.rx.fifo_oflows: 0
dev.ale.0.stats.rx.rrs_errs: 0
dev.ale.0.stats.rx.align_errs: 0
-dev.ale.0.stats.rx.filtered: 331
-dev.ale.0.stats.tx.good_frames: 613925
+dev.ale.0.stats.rx.filtered: 357
+dev.ale.0.stats.tx.good_frames: 766623
dev.ale.0.stats.tx.good_bcast_frames: 4
dev.ale.0.stats.tx.good_mcast_frames: 0
dev.ale.0.stats.tx.pause_frames: 0
dev.ale.0.stats.tx.control_frames: 0
dev.ale.0.stats.tx.excess_defers: 0
dev.ale.0.stats.tx.defers: 0
-dev.ale.0.stats.tx.good_octets: 40519928
+dev.ale.0.stats.tx.good_octets: 50598115
dev.ale.0.stats.tx.good_bcast_octets: 0
dev.ale.0.stats.tx.good_mcast_octets: 0
dev.ale.0.stats.tx.frames_64: 4
-dev.ale.0.stats.tx.frames_65_127: 613921
+dev.ale.0.stats.tx.frames_65_127: 766619
dev.ale.0.stats.tx.frames_128_255: 0
dev.ale.0.stats.tx.frames_256_511: 0
dev.ale.0.stats.tx.frames_512_1023: 0
-----

Do you see anything suspicious?


WBR
--
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/lis...reebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"