Re: No schizophrenia

2012-01-11 Thread Peter Hunčár
Omg,  this one is still going on?

Please stop filling those Internet tubes with useless attempts to argument
with a troll. You'd never win. And this whole topic...  Waste of time...

Peter
On Jan 11, 2012 12:24 AM, John Tate j...@johntate.org wrote:

 Just an idiot, Jan Stary, who turned the sentence 7 years of
 FreeBSD/OpenBSD experience into OpenBSD Guru. I wish I had more time and
 less faith in minds like hers. What an embarrassment... oh dear. She should
 learn to read.

 I'm back, healthy as can be. I had a nice holiday.

 I NEVER SAID THE WORD GURU I NEVER SAID THE WORD GURU I NEVER SAID THE WORD
 GURU I NEVER SAID THE WORD GURU I NEVER SAID THE WORD GURU I NEVER SAID THE
 WORD GURU I NEVER SAID THE WORD GURU I NEVER SAID THE WORD GURU I NEVER
 SAID THE WORD GURU I NEVER SAID THE WORD GURU I NEVER SAID THE WORD GURU I
 NEVER SAID THE WORD GURU

 John Tate

 --
 www.johntate.org



more than 16 dma segs

2011-11-09 Thread Peter Hunčár
Hello

I'm using a ProLiant G3 as a router for quite a long without any issues.
(4.8-current snapshot, difficult to get this machine out of production)
Unfortunately for last few days I'm expecting strange behavior, (difficult
to describe, but this does not matter now)
I'm getting large amount of interrupts that weren't there before (from 23
to 77 %)
and I found a strange message in dmesg (and during boot, that I did not
notice before)

more than 16 dma segs

Could you please provide me a hint where to look?

Dmesg follows:

OpenBSD 4.8-current (DIRAC.MP) #0: Tue Oct 26 13:00:24 CEST 2010
r...@dirac.chemnet.sk:/usr/src/sys/arch/i386/compile/DIRAC.MP
cpu0: Intel(R) Xeon(TM) CPU 2.80GHz (GenuineIntel 686-class) 2.80 GHz
cpu0:
FPU,V86,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,SBF,CNXT-ID,xTPR
real mem  = 2147028992 (2047MB)
avail mem = 2107850752 (2010MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 12/31/99, BIOS32 rev. 0 @ 0xf,
SMBIOS rev. 2.3 @ 0xec000 (42 entries)
bios0: vendor HP version P31 date 03/03/2005
bios0: HP ProLiant DL360 G3
acpi0 at bios0: rev 0
acpi0: sleep states S0 S4 S5
acpi0: tables DSDT FACP APIC SPCR
acpi0: wakeup devices
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 133MHz
cpu1 at mainbus0: apid 6 (application processor)
cpu1: Intel(R) Xeon(TM) CPU 2.80GHz (GenuineIntel 686-class) 2.80 GHz
cpu1:
FPU,V86,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,SBF,CNXT-ID,xTPR
cpu2 at mainbus0: apid 1 (application processor)
cpu2: Intel(R) Xeon(TM) CPU 2.80GHz (GenuineIntel 686-class) 2.80 GHz
cpu2:
FPU,V86,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,SBF,CNXT-ID,xTPR
cpu3 at mainbus0: apid 7 (application processor)
cpu3: Intel(R) Xeon(TM) CPU 2.80GHz (GenuineIntel 686-class) 2.80 GHz
cpu3:
FPU,V86,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,SBF,CNXT-ID,xTPR
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 11, 16 pins
ioapic1 at mainbus0: apid 3 pa 0xfec01000, version 11, 16 pins
ioapic2 at mainbus0: apid 4 pa 0xfec02000, version 11, 16 pins
ioapic3 at mainbus0: apid 5 pa 0xfec03000, version 11, 16 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (PCI1)
acpiprt2 at acpi0: bus 4 (PCI2)
acpicpu0 at acpi0
acpicpu1 at acpi0
acpicpu2 at acpi0
acpicpu3 at acpi0
acpitz0 at acpi0: critical temperature 31 degC
bios0: ROM list: 0xc/0x8000 0xc8000/0x4000 0xcc000/0x1800
0xee000/0x2000!
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 ServerWorks CNB20-HE Host (GC-LE) rev 0x32
pchb1 at pci0 dev 0 function 1 ServerWorks CNB20-HE Host (GC-LE) rev 0x00
pchb2 at pci0 dev 0 function 2 ServerWorks CNB20-HE Host (GC-LE) rev 0x00
pci1 at pchb2 bus 1
em0 at pci1 dev 1 function 0 Intel PRO/1000MF (82545GM) rev 0x04: apic 3
int 12 (irq 15), address 00:1b:21:37:5d:e9
bge0 at pci1 dev 2 function 0 Broadcom BCM5703X rev 0x02, BCM5702/5703 A2
(0x1002): apic 3 int 14 (irq 11), address 00:0b:cd:ca:24:32
brgphy0 at bge0 phy 1: BCM5703 10/100/1000baseT PHY, rev. 2
vga0 at pci0 dev 3 function 0 ATI Rage XL rev 0x27
wsdisplay0 at vga0 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ciss0 at pci0 dev 4 function 0 Compaq Smart Array 5i/532 rev.2 rev 0x01:
apic 3 int 15 (irq 3)
ciss0: 1 LD, HW rev 1, FW 2.76/2.76
scsibus0 at ciss0: 1 targets
sd0 at scsibus0 targ 0 lun 0: COMPAQ, LOGICAL VOLUME, 2.76 SCSI2 0/direct
fixed
sd0: 69452MB, 512 bytes/sec, 142239510 sec total
Compaq iLO rev 0x01 at pci0 dev 5 function 0 not configured
Compaq iLO rev 0x01 at pci0 dev 5 function 2 not configured
piixpm0 at pci0 dev 15 function 0 ServerWorks CSB5 rev 0x93: polling
iic0 at piixpm0
spdmem0 at iic0 addr 0x54: 1GB DDR SDRAM registered ECC PC2100CL2.5
spdmem1 at iic0 addr 0x56: 1GB DDR SDRAM registered ECC PC2100CL2.5
pciide0 at pci0 dev 15 function 1 ServerWorks CSB5 IDE rev 0x93: DMA
atapiscsi0 at pciide0 channel 0 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: COMPAQ, CRN-8245B, 2.19 ATAPI 5/cdrom
removable
cd0(pciide0:0:0): using PIO mode 4, DMA mode 2
ServerWorks OSB4/CSB5 USB rev 0x05 at pci0 dev 15 function 2 not
configured
pchb3 at pci0 dev 15 function 3 ServerWorks CSB5 LPC rev 0x00
pchb4 at pci0 dev 17 function 0 ServerWorks CIOB-X2 PCIX rev 0x05
pchb5 at pci0 dev 17 function 2 ServerWorks CIOB-X2 PCIX rev 0x05
pci2 at pchb5 bus 4
bge1 at pci2 dev 2 function 0 Broadcom BCM5703X rev 0x02, BCM5702/5703 A2
(0x1002): apic 3 int 13 (irq 15), address 00:0b:cd:ca:24:72
brgphy1 at bge1 phy 1: BCM5703 10/100/1000baseT PHY, rev. 2
isa0 at mainbus0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 

Re: network bandwith with em(4)

2011-03-13 Thread Peter Hunčár
Hello

I have couple of old ProLiants with bxp/em interfaces with 4.8 stable.
If you provide me more info what to test extactly and what output to send,
I'd gladly help.

BR

Peter
On 13 Mar 2011 03:56, Ryan McBride mcbr...@openbsd.org wrote:
 On Sat, Mar 12, 2011 at 06:29:42PM -0800, Chris Cappuccio wrote:
  Are you suggesting that because you have a quad-port gig nic, your box
  should be able to do 6 *million* packets per second? By that logic my
  5-port Soekris net4801 should be able to handle 740kpps. (for
reference,
  the net4801 does about 3kpps with 4.9)

 are you sure? that seems low, the 4501 used to do 4kpps with openbsd 3.3
!

 Quite sure, though I certainly welcome someone else doing independent
 testing to prove me wrong. (FWIW: I tested 3.3 last month and got a
 maximum of 2400pps before packet loss exceeded 1%)

 The numbers above are for IP forwarding (not bridging), no PF, TCP syn
 packets with random ports, ISN, and source address, but fixed
 destination address. Measurements are on either side of the device
 using SNMP on the switch, and they match very closely what I'm seeing
 from the endpoints on either side of the firewall. The results are also
 stable across the more than 30,000 individual tests I've run to date
 against a variety of hardware and versions (automated, of course!)

 Note that If you measure on the box itself (i.e. the IPKTS/OPKTS) you
 will get lies when the system is livelocking. If you push harder you can
 get more packets through the soekris but it's meaningless as most of the
 packets are being dropped and the box is completely livelocked.