1
|
Customer complained on performance degradation when he changes media from auto to manual. We made RMA but the issue still exists.
|
2
|
|
3
|
My tests
|
4
|
|
5
|
|
6
|
tests were completed: copy/paste 200MB file via stupid cheap Dlink 100M switch
|
7
|
|
8
|
path download/upload MByte/sec
|
9
|
|
10
|
H1-->SW1--(auto)-->WAN (NAT1:1)--SG1K--LAN--SW1--(auto)-->H2 10/10MB/s
|
11
|
H1<--SW1--(auto)-->WAN (NAT1:1)--SG1K--LAN--SW1--(auto)<--H2 10/10MB/s
|
12
|
H1-->SW1--(100FULL)-->WAN (NAT1:1)--SG1K--LAN--SW1--(auto)-->H2 10/10MB/s
|
13
|
H1<--SW1--(100FULL)-->WAN (NAT1:1)--SG1K--LAN--SW1--(auto)<--H2 10/10MB/s
|
14
|
H1-->SW1--(auto)-->WAN (NAT1:1)--SG1K--LAN--SW1--(100FULL)-->H2 10/5MB/s
|
15
|
H1<--SW1--(auto)-->WAN (NAT1:1)--SG1K--LAN--SW1--(100FULL)<--H2 10/6MB/s
|
16
|
H1-->SW1--(100FULL)-->WAN (NAT1:1)--SG1K--LAN--SW1--(100FULL)-->H2 4/10MB/s
|
17
|
H1<--SW1--(100FULL)-->WAN (NAT1:1)--SG1K--LAN--SW1--(100FULL)<--H2 10/6MB/s
|
18
|
|
19
|
Again
|
20
|
|
21
|
H1-->SW1--(auto)-->WAN (NAT1:1)--SG1K--LAN--SW1--(auto)-->H2 10/4MB/s
|
22
|
|
23
|
Reboot SG1k
|
24
|
|
25
|
H1-->SW1--(auto)-->WAN (NAT1:1)--SG1K--LAN--SW1--(auto)-->H2 10/10MB/s
|
26
|
H1-->SW1--(100FULL)-->WAN (NAT1:1)--SG1K--LAN--SW1--(100FULL)-->H2 10/4MB/s
|
27
|
|
28
|
Reboot SG1k
|
29
|
|
30
|
H1-->SW1--(100FULL)-->WAN (NAT1:1)--SG1K--LAN--SW1--(100FULL)-->H2 4/10MB/s
|
31
|
|
32
|
Reboot SG1k
|
33
|
|
34
|
H1-->SW1--(100FULL)-->WAN (NAT1:1)--SG1K--LAN--SW1--(100FULL)-->H2 10/4MB/s
|
35
|
H1-->SW1--(auto)-->WAN (NAT1:1)--SG1K--LAN--SW1--(auto)-->H2 10/4MB/s
|
36
|
|
37
|
Reboot H2
|
38
|
|
39
|
H1-->SW1--(auto)-->WAN (NAT1:1)--SG1K--LAN--SW1--(auto)-->H2 10/6MB/s
|
40
|
|
41
|
Reboot SW1
|
42
|
|
43
|
H1-->SW1--(auto)-->WAN (NAT1:1)--SG1K--LAN--SW1--(auto)-->H2 4/6MB/s
|
44
|
H1<--SW1--(auto)-->WAN (NAT1:1)--SG1K--LAN--SW1--(auto)<--H2 6/6MB/s
|
45
|
|
46
|
Reboot SG1k
|
47
|
|
48
|
H1-->SW1--(auto)-->WAN (NAT1:1)--SG1K--LAN--SW1--(auto)-->H2 10/10MB/s
|
49
|
H1<--SW1--(auto)-->WAN (NAT1:1)--SG1K--LAN--SW1--(auto)<--H2 10/10MB/s
|
50
|
|
51
|
|
52
|
|
53
|
Hmmm... looks like something happens on sg1k and sw1 when I setup 100MFULL because only reboot both allowed to return to normal speed. Did not test manual 100MFULL and reboot will make tomorrow
|
54
|
|
55
|
|
56
|
New test after 12 hours break (did nothing during break)
|
57
|
|
58
|
H1-->SW1--(100FULL)-->WAN (NAT1:1)--SG1K--LAN--SW1--(100FULL)-->H2 10/10MB/s
|
59
|
H1<--SW1--(100FULL)-->WAN (NAT1:1)--SG1K--LAN--SW1--(100FULL)<--H2 10/10MB/s
|
60
|
H1-->SW1--(auto)-->WAN (NAT1:1)--SG1K--LAN--SW1--(100FULL)-->H2 10/10MB/s
|
61
|
H1<--SW1--(auto)-->WAN (NAT1:1)--SG1K--LAN--SW1--(100FULL)<--H2 10/10MB/s
|
62
|
H1-->SW1--(auto)-->WAN (NAT1:1)--SG1K--LAN--SW1--(auto)-->H2 10/10MB/s
|
63
|
H1<--SW1--(auto)-->WAN (NAT1:1)--SG1K--LAN--SW1--(auto)<--H2 10/10MB/s
|
64
|
|
65
|
Reboot sg1k
|
66
|
|
67
|
H1-->SW1--(auto)-->WAN (NAT1:1)--SG1K--LAN--SW1--(auto)-->H2 10/10MB/s
|
68
|
H1<--SW1--(auto)-->WAN (NAT1:1)--SG1K--LAN--SW1--(auto)<--H2 10/10MB/s
|
69
|
H1-->SW1--(100FULL)-->WAN (NAT1:1)--SG1K--LAN--SW1--(auto)-->H2 10/10MB/s
|
70
|
H1-->SW1--(100FULL)-->WAN (NAT1:1)--SG1K--LAN--SW1--(100FULL)-->H2 10/10MB/s
|
71
|
H1<--SW1--(100FULL)-->WAN (NAT1:1)--SG1K--LAN--SW1--(100FULL)<--H2 10/10MB/s
|
72
|
|
73
|
unplug/plug both cables
|
74
|
|
75
|
H1<--SW1--(100FULL)-->WAN (NAT1:1)--SG1K--LAN--SW1--(100FULL)<--H2 5/6MB/s
|
76
|
dev.cpswss.0.stats.RxCrcErrors: 131
|
77
|
dev.cpswss.0.stats.RxAlignErrors: 216
|
78
|
|
79
|
H1-->SW1--(100FULL)-->WAN (NAT1:1)--SG1K--LAN--SW1--(100FULL)-->H2 4/nMB/s
|
80
|
dev.cpswss.0.stats.RxCrcErrors: 215
|
81
|
dev.cpswss.0.stats.RxAlignErrors: 420
|
82
|
|
83
|
H1-->SW1--(100FULL)-->WAN (NAT1:1)--SG1K--LAN--SW1--(100FULL)-->H2 n/5MB/s
|
84
|
dev.cpswss.0.stats.RxCrcErrors: 271
|
85
|
dev.cpswss.0.stats.RxAlignErrors: 532
|
86
|
H1-->SW1--(auto)-->WAN (NAT1:1)--SG1K--LAN--SW1--(auto)-->H2 n/5MB/s
|
87
|
|
88
|
dev.cpswss.0.stats.RxCrcErrors: 311
|
89
|
dev.cpswss.0.stats.RxAlignErrors: 575
|
90
|
|
91
|
reboot sg1k and sw1
|
92
|
|
93
|
H1-->SW1--(auto)-->WAN (NAT1:1)--SG1K--LAN--SW1--(auto)-->H2 n/10MB/s
|
94
|
|
95
|
no err
|
96
|
|
97
|
H1-->SW1--(100FULL)-->WAN (NAT1:1)--SG1K--LAN--SW1--(auto)-->H2 n/10MB/s
|
98
|
|
99
|
no err
|
100
|
|
101
|
H1-->SW1--(100FULL)-->WAN (NAT1:1)--SG1K--LAN--SW1--(100FULL)-->H2 n/10MB/s
|
102
|
|
103
|
no err
|
104
|
|
105
|
unplug/plug WAN cable
|
106
|
|
107
|
H1-->SW1--(100FULL)-->WAN (NAT1:1)--SG1K--LAN--SW1--(100FULL)-->H2 n/9MB/s
|
108
|
|
109
|
dev.cpswss.0.stats.RxCrcErrors: 26
|
110
|
dev.cpswss.0.stats.RxAlignErrors: 31
|
111
|
|
112
|
H1-->SW1--(auto)-->WAN (NAT1:1)--SG1K--LAN--SW1--(auto)-->H2 n/9MB/s
|
113
|
|
114
|
dev.cpswss.0.stats.RxCrcErrors: 75
|
115
|
dev.cpswss.0.stats.RxAlignErrors: 57
|
116
|
|
117
|
reboot sw1
|
118
|
|
119
|
H1-->SW1--(auto)-->WAN (NAT1:1)--SG1K--LAN--SW1--(auto)-->H2 n/6MB/s
|
120
|
|
121
|
dev.cpswss.0.stats.RxCrcErrors: 116
|
122
|
dev.cpswss.0.stats.RxAlignErrors: 98
|
123
|
|
124
|
reboot sg1k and sw1
|
125
|
|
126
|
H1-->SW1--(auto)-->WAN (NAT1:1)--SG1K--LAN--SW1--(auto)-->H2 n/10MB/s
|
127
|
|
128
|
no err
|
129
|
|
130
|
unplug/plug WAN cable
|
131
|
|
132
|
H1-->SW1--(auto)-->WAN (NAT1:1)--SG1K--LAN--SW1--(auto)-->H2 n/10MB/s
|
133
|
|
134
|
no err
|
135
|
|
136
|
unplug/plug both cables
|
137
|
|
138
|
H1-->SW1--(auto)-->WAN (NAT1:1)--SG1K--LAN--SW1--(auto)-->H2 n/10MB/s
|
139
|
|
140
|
no err
|
141
|
|
142
|
set LAN to manual 100FULL
|
143
|
|
144
|
H1-->SW1--(auto)-->WAN (NAT1:1)--SG1K--LAN--SW1--(100FULL)-->H2 n/10MB/s
|
145
|
|
146
|
no err
|
147
|
|
148
|
unplug/plug LAN cable
|
149
|
|
150
|
H1-->SW1--(auto)-->WAN (NAT1:1)--SG1K--LAN--SW1--(100FULL)-->H2 n/6MB/s
|
151
|
|
152
|
dev.cpswss.0.stats.RxCrcErrors: 11
|
153
|
dev.cpswss.0.stats.RxAlignErrors: 37
|
154
|
|
155
|
|
156
|
Well, if port set to manual and cable is unpluged/pluged CRC and RXAlign errors start rising. Only both device sw and sg1k reboot helps.
|
157
|
|
158
|
|
159
|
|
160
|
Continue testing with Cisco 3560
|
161
|
|
162
|
1-->SW1--(auto)-->WAN (NAT1:1)--SG1K--LAN--SW1--(100FULL)-->H2 n/10MB/s
|
163
|
|
164
|
no err
|
165
|
|
166
|
H1-->SW1--(100FULL)-->WAN (NAT1:1)--SG1K--LAN--SW1--(100FULL)-->H2 n/10MB/s
|
167
|
|
168
|
no err
|
169
|
|
170
|
unplug/plug WAN cable
|
171
|
|
172
|
H1-->SW1--(100FULL)-->WAN (NAT1:1)--SG1K--LAN--SW1--(100FULL)-->H2 n/0.5MB/s
|
173
|
|
174
|
dev.cpswss.0.stats.RxCrcErrors: 1160
|
175
|
|
176
|
And Cisco shows
|
177
|
|
178
|
0 output errors, 36 collisions, 1 interface resets
|
179
|
0 babbles, 1163 late collision, 0 deferred
|
180
|
|
181
|
Tried to setup manual on cisco port sg1k (still manual) - status: no carrier
|
182
|
Changed to auto/auto on sg1k do not resolve issue
|
183
|
Reboot sg1k resolve issue
|
184
|
|
185
|
|
186
|
Looks like changing media to manual does not affect on real situation until cable is not upluged/pluged although ifconfig shows manual media selection. Anyway manual media selection does not work if device on another side uses manual too:
|
187
|
|
188
|
sh run int fa0/14
|
189
|
interface FastEthernet0/14
|
190
|
switchport access vlan 15
|
191
|
switchport mode access
|
192
|
speed 100
|
193
|
duplex full
|
194
|
end
|
195
|
|
196
|
sh int fa0/14
|
197
|
FastEthernet0/14 is down, line protocol is down (notconnect)
|
198
|
|
199
|
cpsw1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
|
200
|
options=8000b<RXCSUM,TXCSUM,VLAN_MTU,LINKSTATE>
|
201
|
ether 68:9e:19:9c:9f:49
|
202
|
hwaddr 68:9e:19:9c:9f:49
|
203
|
inet6 fe80::6a9e:19ff:fe9c:9f49%cpsw1 prefixlen 64 scopeid 0x2
|
204
|
inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255
|
205
|
media: Ethernet 100baseTX <full-duplex>
|
206
|
status: no carrier
|
207
|
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
|
208
|
|
209
|
And if another side device uses auto connection is negotiated as 100HALF
|
210
|
|
211
|
sh int fa0/14
|
212
|
FastEthernet0/14 is up, line protocol is up (connected)
|
213
|
|
214
|
Half-duplex, 100Mb/s, media type is 10/100BaseTX
|
215
|
|
216
|
cpsw1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
|
217
|
options=8000b<RXCSUM,TXCSUM,VLAN_MTU,LINKSTATE>
|
218
|
ether 68:9e:19:9c:9f:49
|
219
|
hwaddr 68:9e:19:9c:9f:49
|
220
|
inet6 fe80::6a9e:19ff:fe9c:9f49%cpsw1 prefixlen 64 scopeid 0x2
|
221
|
inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255
|
222
|
media: Ethernet 100baseTX <full-duplex>
|
223
|
status: active
|
224
|
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
|
225
|
|
226
|
looks like bug related to https://redmine.pfsense.org/issues/7532
|