On 27.8.2015. 2:06, Hrvoje Popovski wrote:
Hi all,
i have configured bridge interface with em2 and em3. Generator is
connected on em3 and receiver is connected on em2.
I'm generating 1,48Mpps on em3 and getting around 400kpps on box
connected to em2 and that is fine but counters in netstat seems doubled
on total in packets and total out packets.
When traffic is routed over em2 and em3 counters seems fine.
Could someone please tell why i see lots of errors on em interface but
when i do same setups over ix inteface i can't see any errors?
OpenBSD is updated today from cvs.
pf disabled
kern.pool_debug=0
net.inet.ip.forwarding=1
net.inet.ip.ifq.maxlen=8192
net.inet.icmp.errppslimit=1000
# netstat -I bridge0 -w 1
bridg in bridg out total in total out
packets errs packets errs colls packets errs packets errs colls
4487180457 0 4487181625 0 0 8974402936 28010060078
8974377616 0 0
408667 0 408667 0 0817399 1114990 817455 0 0
414841 0 414841 0 0829686 1090365 829623 0 0
410705 0 410705 0 0821415 1110769 821471 0 0
418013 0 418013 0 0835967 1088200 836027 0 0
410321 0 410321 0 0820706 1110852 820583 0 0
# netstat -I em3 -w 1
em3 inem3 out total in total out
packets errs packets errs colls packets errs packets errs colls
4468797033 28013336610 24623020 0 0 8986879126 28027621153
8986853808 0 0
407393 10907801 0 0814730 1090780 814727 0 0
413971 10951471 0 0827946 1095147 827943 0 0
412976 10942261 0 0825956 1094226 825893 0 0
412837 1101 0 0825678 110 825735 0 0
411166 10912281 0 0822335 1091228 822270 0 0
# netstat -I em2 -w 1
em2 inem2 out total in total out
packets errs packets errs colls packets errs packets errs colls
24623417 14284543 4473277412 0 0 8995839701 28039662049
8995814274 0 0
3 0 412959 0 0825805 1110303 825861 0 0
4 0 407495 0 0815053 1093808 814990 0 0
3 0 414865 0 0829737 1090340 829733 0 0
3 0 414132 0 0828152 1112466 828207 0 0
3 0 415979 0 0832084 1108386 832021 0 0
dmesg:
OpenBSD 5.8-current (GENERIC.MP) #3: Wed Aug 26 15:49:43 CEST 2015
r...@tst.srce.hr:/usr/src/sys/arch/amd64/compile/GENERIC.MP
RTC BIOS diagnostic error 80clock_battery
real mem = 34314588160 (32724MB)
avail mem = 33270726656 (31729MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0x7e67c000 (84 entries)
bios0: vendor IBM version -[D7E140YUS-1.70]- date 06/09/2014
bios0: IBM IBM System x3550 M4 Server -[7914T91]-
acpi0 at bios0: rev 2
acpi0: sleep states S0 S5
acpi0: tables DSDT FACP TCPA ERST HEST HPET APIC MCFG OEM0 OEM1 SLIT
SRAT SLIC SSDT SSDT SSDT SSDT DMAR
acpi0: wakeup devices MRP1(S4) DCC0(S4) MRP3(S4) MRP5(S4) EHC2(S5)
PEX0(S5) PEX7(S5) EHC1(S5) IP2P(S3) MRPB(S4) MRPC(S4) MRPD(S4) MRPF(S4)
MRPG(S4) MRPH(S4) MRPI(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz, 2400.36 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,SENSOR,ARAT
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 100MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.1, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz, 2400.00 MHz
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,SENSOR,ARAT
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 4 (application processor)
cpu2: Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz, 2400.00 MHz
cpu2: