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

Soekris vpn1201 slowdown weirdness



I recently picked up one of the Soekris VPN1201 cards
for my 
3.3-release system.  The card seems to show up in the
dmesg (below), 
but when i run openssl timing tests I get rather
counter-intuitive
results:

bash-2.05b# ls -al /dev/crypto 
crw-rw-rw-  1 root  wheel   70,   0 May 17 14:04
/dev/crypto
bash-2.05b# openssl speed -elapsed -evp des3
You have chosen to measure elapsed time instead of
user CPU time.
To get the most accurate results, try to run this
program when this computer is idle.
Doing des-ede3-cbc for 3s on 16 size blocks: 949
des-ede3-cbc's in 3.01s
Doing des-ede3-cbc for 3s on 64 size blocks: 24720
des-ede3-cbc's in 3.02s
Doing des-ede3-cbc for 3s on 256 size blocks: 35399
des-ede3-cbc's in 3.01s
Doing des-ede3-cbc for 3s on 1024 size blocks: 19360
des-ede3-cbc's in 3.01s
Doing des-ede3-cbc for 3s on 8192 size blocks: 3491
des-ede3-cbc's in 3.01s
OpenSSL 0.9.7-beta3 30 Jul 2002
built on: date not available
options:bn(64,32) md2(int) rc4(idx,int)
des(ptr,risc1,16,long) aes(partial) blowfish(idx) 
compiler: information not available
available timing options: USE_TOD HZ=100 [sysconf
value]
timing function used: gettimeofday
The 'numbers' are in 1000s of bytes per second
processed.
type             16 bytes     64 bytes    256 bytes  
1024 bytes   8192 bytes
des-ede3-cbc      5047.79       524.71k     3013.25k  
  6591.81k     9509.31k
bash-2.05b# mv /dev/crypto /dev/crypto.disabled
bash-2.05b# openssl speed -elapsed -evp des3
You have chosen to measure elapsed time instead of
user CPU time.
To get the most accurate results, try to run this
program when this computer is idle.
Doing des-ede3-cbc for 3s on 16 size blocks: 675041
des-ede3-cbc's in 3.00s
Doing des-ede3-cbc for 3s on 64 size blocks: 172682
des-ede3-cbc's in 3.01s
Doing des-ede3-cbc for 3s on 256 size blocks: 43406
des-ede3-cbc's in 3.01s
Doing des-ede3-cbc for 3s on 1024 size blocks: 10867
des-ede3-cbc's in 3.01s
Doing des-ede3-cbc for 3s on 8192 size blocks: 1359
des-ede3-cbc's in 3.01s
OpenSSL 0.9.7-beta3 30 Jul 2002
built on: date not available
options:bn(64,32) md2(int) rc4(idx,int)
des(ptr,risc1,16,long) aes(partial) blowfish(idx) 
compiler: information not available
available timing options: USE_TOD HZ=100 [sysconf
value]
timing function used: gettimeofday
The 'numbers' are in 1000s of bytes per second
processed.
type             16 bytes     64 bytes    256 bytes  
1024 bytes   8192 bytes
des-ede3-cbc      3598.83k     3672.46k     3692.47k  
  3697.70k     3699.19k


It appears that the des3 tests work faster *w/out*
/dev/crypto.  I've 
tried moving the card to another slot, to no avail. 
Might it be an irq
problem?  I noticed the "unable to fix up PCI
interrupt routing" in the
dmesg, and booted w/ "disable pcibios" - to much the
same results. 

Anyone seen something like this before?

Thanks,
E

OpenBSD 3.3 (GENERIC) #44: Sat Mar 29 13:22:05 MST
2003
   
deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Athlon XP Model 6 (Palomino) ("AuthenticAMD"
686-class) 1.47 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SYS,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SIMD
real mem  = 536391680 (523820K)
avail mem = 491761664 (480236K)
using 4278 buffers containing 26923008 bytes (26292K)
of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(b5) BIOS, date 12/27/01,
BIOS32 rev. 0 @ 0xfb4a0
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev. 2.1 @ 0xf0000/0xdf94
pcibios0: PCI IRQ Routing Table rev. 1.0 @ 0xfdef0/160
(8 entries)
pcibios0: PCI Exclusive IRQs: 5 10 11 12
pcibios0: no compatible PCI ICU found
pcibios0: Warning, unable to fix up PCI interrupt
routing
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x6600
0xcf000/0x800
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "VIA VT8366 Host-PCI"
rev 0x00
ppb0 at pci0 dev 1 function 0 "VIA VT8366 PCI-AGP" rev
0x00
pci1 at ppb0 bus 1
xl0 at pci0 dev 9 function 0 "3Com 3c905B 100Base-TX"
rev 0x64: irq 12 address 00:50:04:a4:dc:e8
exphy0 at xl0 phy 24: Broadcom 3C905B internal PHY,
rev. 0
hifn0 at pci0 dev 11 function 0 "Hifn 7951" rev 0x01:
3DES, 128KB sram, irq 5
ahc1 at pci0 dev 13 function 0 "Adaptec AHA-29160
U160" rev 0x02: irq 11
ahc1: aic7892: Ultra160 Wide Channel A, SCSI Id=7,
32/255 SCBs
scsibus0 at ahc1: 16 targets
ahc1: target 0 synchronous at 80.0MHz DT, offset =
0x3f
ahc1: target 0 using tagged queuing
sd0 at scsibus0 targ 0 lun 0: <IBM, DDYS-T36950N,
S96H> SCSI3 0/direct fixed
sd0: 35003MB, 15110 cyl, 12 head, 395 sec, 512
bytes/sec, 71687340 sec total
ahc2 at pci0 dev 15 function 0 "Adaptec AHA-2930U2 U2"
rev 0x00: irq 11
ahc2: aic7890/91: Ultra2 Wide Channel A, SCSI Id=7,
32/255 SCBs
scsibus1 at ahc2: 16 targets
ahc2: target 2 synchronous at 10.0MHz, offset = 0xf
st0 at scsibus1 targ 2 lun 0: <QUANTUM, DLT7000, 141F>
SCSI2 1/sequential removable
st0: drive empty
vga1 at pci0 dev 16 function 0 unknown vendor 0xdeaf
product 0x9050 rev 0x47
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
unknown vendor 0xdeaf product 0x9051 (class
communications, subclass serial, rev 0x47) at pci0 dev
16 function 1 not configured
unknown vendor 0xdeaf product 0x9052 (class undefined,
unknown subclass 0x00, rev 0x47) at pci0 dev 16
function 2 not configured
pcib0 at pci0 dev 17 function 0 "VIA VT8366 PCI-ISA"
rev 0x00
pciide0 at pci0 dev 17 function 1 "VIA VT82C571 IDE"
rev 0x06: ATA100, channel 0 configured to
compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: <WDC
WD1000JB-00CRA0>
wd0: 16-sector PIO, LBA, 95396MB, 16383 cyl, 16 head,
63 sec, 195371568 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus2 at atapiscsi0: 2 targets
cd0 at scsibus2 targ 0 lun 0: <SONY, CD-ROM CDU5211,
YYS7> SCSI0 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
uhci0 at pci0 dev 17 function 2 "VIA VT83C572 USB" rev
0x1b: irq 5
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: vendor 0x0000 UHCI root hub, class 9/0, rev
1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 17 function 3 "VIA VT83C572 USB" rev
0x1b: irq 5
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: vendor 0x0000 UHCI root hub, class 9/0, rev
1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 17 function 4 "VIA VT83C572 USB" rev
0x1b: irq 5
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: vendor 0x0000 UHCI root hub, class 9/0, rev
1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte
fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte
fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask c860 netmask d860 ttymask d8e2
pctr: user-level cycle counter enabled
mtrr: Pentium Pro MTRR support
dkcsum: sd0 matched BIOS disk 80
dkcsum: wd0 matched BIOS disk 81
root on sd0a
rootdev=0x400 rrootdev=0xd00 rawdev=0xd02



__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com