NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

RE: netbsd 5 and high speed internet



Well, it is much faster, but I have only their speed tester gadget to tell.

Here is the diff:

bash-4.2# diff before.txt after.txt
27c27
<       60485 total packets received
---
>       81267 total packets received
42c42
<       3220 packets for this host
---
>       3422 packets for this host
44c44
<       56039 packets forwarded (0 packets fast forwarded)
---
>       76594 packets forwarded (0 packets fast forwarded)
48c48
<       2889 packets sent from this host
---
>       3083 packets sent from this host
57,58c57,58
<       1612 packets sent
<               1557 data packets (136653 bytes)
---
>       1634 packets sent
>               1579 data packets (137813 bytes)
60c60
<               44 ack-only packets (614 delayed)
---
>               44 ack-only packets (635 delayed)
66,67c66,67
<       1346 packets received
<               1024 acks (for 136618 bytes)
---
>       1376 packets received
>               1045 acks (for 137778 bytes)
70c70
<               630 packets (38956 bytes) received in-sequence
---
>               651 packets (40048 bytes) received in-sequence
88c88
<       888 segments updated rtt (of 890 attempts)
---
>       909 segments updated rtt (of 911 attempts)
96c96
<       307 correct data packet header predictions
---
>       316 correct data packet header predictions
121c121
<       1853 datagrams received
---
>       2025 datagrams received
128,130c128,130
<       1813 delivered
<       788 PCB hash misses
<       1164 datagrams output
---
>       1985 delivered
>       860 PCB hash misses
>       1336 datagrams output
132c132
<       1165 total packets received
---
>       1202 total packets received
146c146
<       30 packets not forwardable
---
>       32 packets not forwardable
148c148
<       64 packets sent from this host
---
>       66 packets sent from this host
151c151
<       17 output packets discarded due to no route
---
>       18 output packets discarded due to no route
156c156
<       30 multicast packets which we don't join
---
>       32 multicast packets which we don't join
158,159c158,159
<               hop by hop: 26
<               ICMP6: 1139
---
>               hop by hop: 27
>               ICMP6: 1175
162c162
<               1165 one ext mbufs
---
>               1202 one ext mbufs
175c175
<               multicast listener report: 62
---
>               multicast listener report: 64
182,183c182,183
<               multicast listener query: 26
<               router advertisement: 1109
---
>               multicast listener query: 27
>               router advertisement: 1143
208,209c208,209
<       1612 packets sent
<               1557 data packets (136653 bytes)
---
>       1634 packets sent
>               1579 data packets (137813 bytes)
211c211
<               44 ack-only packets (614 delayed)
---
>               44 ack-only packets (635 delayed)
217,218c217,218
<       1346 packets received
<               1024 acks (for 136618 bytes)
---
>       1376 packets received
>               1045 acks (for 137778 bytes)
221c221
<               630 packets (38956 bytes) received in-sequence
---
>               651 packets (40048 bytes) received in-sequence
239c239
<       888 segments updated rtt (of 890 attempts)
---
>       909 segments updated rtt (of 911 attempts)
247c247
<       307 correct data packet header predictions
---
>       316 correct data packet header predictions
300,301c300,301
<       137 packets sent
<               133 reply packets
---
>       140 packets sent
>               136 reply packets
303c303
<       164 packets received
---
>       169 packets received
305,306c305,306
<               156 valid request packets
<               41 broadcast/multicast packets
---
>               161 valid request packets
>           
============================================================================
===============
Here is a diff of netstat -s after downloading a 22MB tar file:

bash-4.2# diff after.txt bigfile.txt
27c27
<       81267 total packets received
---
>       99116 total packets received
42c42
<       3422 packets for this host
---
>       19680 packets for this host
44,45c44,45
<       76594 packets forwarded (0 packets fast forwarded)
<       264 packets not forwardable
---
>       78065 packets forwarded (0 packets fast forwarded)
>       266 packets not forwardable
48c48
<       3083 packets sent from this host
---
>       14248 packets sent from this host
57,58c57,58
<       1634 packets sent
<               1579 data packets (137813 bytes)
---
>       12747 packets sent
>               2204 data packets (181041 bytes)
60c60
<               44 ack-only packets (635 delayed)
---
>               5840 ack-only packets (10829 delayed)
63,64c63,64
<               0 window update packets
<               8 control packets
---
>               4684 window update packets
>               16 control packets
66,67c66,67
<       1376 packets received
<               1045 acks (for 137778 bytes)
---
>       17561 packets received
>               1565 acks (for 181010 bytes)
70,71c70,71
<               651 packets (40048 bytes) received in-sequence
<               6 completely duplicate packets (0 bytes)
---
>               16509 packets (22609416 bytes) received in-sequence
>               10 completely duplicate packets (0 bytes)
74c74
<               2 out-of-order packets (0 bytes)
---
>               40 out-of-order packets (49232 bytes)
82c82
<       0 connection requests
---
>       4 connection requests
84,85c84,85
<       9 connections established (including accepts)
<       34 connections closed (including 0 drops)
---
>       13 connections established (including accepts)
>       39 connections closed (including 0 drops)
88c88
<       909 segments updated rtt (of 911 attempts)
---
>       1401 segments updated rtt (of 1402 attempts)
96c96
<       316 correct data packet header predictions
---
>       15723 correct data packet header predictions
121c121
<       2025 datagrams received
---
>       2098 datagrams received
128,130c128,130
<       1985 delivered
<       860 PCB hash misses
<       1336 datagrams output
---
>       2058 delivered
>       905 PCB hash misses
>       1388 datagrams output
132c132
<       1202 total packets received
---
>       1357 total packets received
146c146
<       32 packets not forwardable
---
>       39 packets not forwardable
148c148
<       66 packets sent from this host
---
>       72 packets sent from this host
151c151
<       18 output packets discarded due to no route
---
>       19 output packets discarded due to no route
156c156
<       32 multicast packets which we don't join
---
>       39 multicast packets which we don't join
158,159c158,159
<               hop by hop: 27
<               ICMP6: 1175
---
>               hop by hop: 30
>               ICMP6: 1327
162c162
<               1202 one ext mbufs
---
>               1357 one ext mbufs
175c175
<               multicast listener report: 64
---
>               multicast listener report: 70
182,183c182,183
<               multicast listener query: 27
<               router advertisement: 1143
---
>               multicast listener query: 30
>               router advertisement: 1288
208,209c208,209
<       1634 packets sent
<               1579 data packets (137813 bytes)
---
>       12747 packets sent
>               2204 data packets (181041 bytes)
211c211
<               44 ack-only packets (635 delayed)
---
>               5840 ack-only packets (10829 delayed)
214,215c214,215
<               0 window update packets
<               8 control packets
---
>               4684 window update packets
>               16 control packets
217,218c217,218
<       1376 packets received
<               1045 acks (for 137778 bytes)
---
>       17561 packets received
>               1565 acks (for 181010 bytes)
221,222c221,222
<               651 packets (40048 bytes) received in-sequence
<               6 completely duplicate packets (0 bytes)
---
>               16509 packets (22609416 bytes) received in-sequence
>               10 completely duplicate packets (0 bytes)
225c225
<               2 out-of-order packets (0 bytes)
---
>               40 out-of-order packets (49232 bytes)
233c233
<       0 connection requests
---
>       4 connection requests
235,236c235,236
<       9 connections established (including accepts)
<       34 connections closed (including 0 drops)
---
>       13 connections established (including accepts)
>       39 connections closed (including 0 drops)
239c239
<       909 segments updated rtt (of 911 attempts)
---
>       1401 segments updated rtt (of 1402 attempts)
247c247
<       316 correct data packet header predictions
---
>       15723 correct data packet header predictions
300,301c300,301
<       140 packets sent
<               136 reply packets
---
>       159 packets sent
>               155 reply packets
303c303
<       169 packets received
---
>       194 packets received
305,306c305,306
<               161 valid request packets
<               43 broadcast/multicast packets
---
>               186 valid request packets
>               50 broadcast/multicast packets
bash-4.2#

> -----Original Message-----
> From: netbsd-users-owner%NetBSD.org@localhost [mailto:netbsd-users-
> owner%NetBSD.org@localhost] On Behalf Of Greg Troxel
> Sent: Sunday, April 20, 2014 7:49 PM
> To: Michael D. Spence
> Cc: NetBSD
> Subject: Re: netbsd 5 and high speed internet
> 
> 
>  I have been using an old 1ghz 1 or 2Mb PC to run netbsd 5 and act as a
> firewall for a number of years.  It is not used for anything but this and
> 
> Probably your CPU is adequate, and either there's something wrong
> unexpected, or those interfaces are too crufty for 100 Mbps.  If you have
PCI
> slots and can try some other kinds, especially if you can find an intel
card that
> is fxp(4), or DEC that is tlp(4), it might help.
> 
> Run 'netstat -s' on the gw before and after the speed test, and diff the
> results.   Try running wget or something on the gateway itself to
> download a large file.
> 
> It's remarkable that you are getting 80-90 Mbps on a cable modem.



Home | Main Index | Thread Index | Old Index