Benchmarking guidelines for NAS/Samba

2011-08-06 Thread Henrique António Evaristo
Hi everyone.

Just recently installed obsd 4.9 and setup samba to run on it for use at home.
I am getting currently transfer rates of 8,9 MB/second on a 100 Mbit
connection. I would like maybe in the future to upgrade it into a
better machine with a Gb connection, maybe throw it in some RAID
controller into it, but first I am interesting in learning on how to
benchmark it and figure where the bottlenecks are on the current
machine.
The current machine contains a VIA C3 1GHz processor, 512 MB RAM, 100
Mbit Ethernet and a SATA HDD. (old mini-itx form factor board I had at
home unnused)

Can anyone give me some directions, point me to the right tools to use, etc ?

Regards,
Henrique



Re: status of ACPI suspend/resume on Thinkpad T60 w/ T7200 processor?

2011-08-06 Thread Pedro la Peu
On Saturday 06 August 2011 02:24:42 Benny Lofgren wrote:

> I've got a Z61p with what I assume is similar hardware (haven't got
> mine handy right now so can't get a dmesg) and exactly the same
> symptoms. The resume would indeed be useful even with the blank text
> console if only the network got back online, but alas no. If memory
> serves, not even the wpi wifi survives a suspend/resume cycle.

To clarify, with vga repost disabled, everything else including wireless 
(wpi) resumes just fine. As I don't use text consoles or ethernet very 
often I suspend and resume a lot and have no issues.

I have a diff somewhere that adds a machdep.vgarepost sysctl, I should 
dig it out after tree unlock to see if it's of any interest.



OpenBSD 5.0 (GENERIC.MP) #37: Thu Aug  4 17:02:30 MDT 2011
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Genuine Intel(R) CPU T2500 @ 2.00GHz ("GenuineIntel" 686-class) 2 
GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM
real mem  = 2145775616 (2046MB)
avail mem = 2100596736 (2003MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 08/26/09, BIOS32 rev. 0 @ 0xfd6b0, 
SMBIOS rev. 2.4 @ 0xe0010 (68 entries)
bios0: vendor LENOVO version "7FETA9WW (2.27 )" date 08/26/2009
bios0: LENOVO 94503HG
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET BOOT SSDT SSDT 
SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) UART(S3) EXP0(S4) EXP1(S4) EXP2
(S4) EXP3(S4) PCI1(S4) USB0(S3) USB1(S3) USB3(S3) USB7(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiec0 at acpi0
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 166MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Genuine Intel(R) CPU T2500 @ 2.00GHz ("GenuineIntel" 686-class) 2 
GHz
cpu1: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR,PDCM
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 2, remapped to apid 1
acpimcfg0 at acpi0 addr 0xf000, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (AGP_)
acpiprt2 at acpi0: bus 2 (EXP0)
acpiprt3 at acpi0: bus 3 (EXP1)
acpiprt4 at acpi0: bus 4 (EXP2)
acpiprt5 at acpi0: bus 12 (EXP3)
acpiprt6 at acpi0: bus 21 (PCI1)
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpipwrres0 at acpi0: PUBS
acpitz0 at acpi0: critical temperature is 127 degC
acpitz1 at acpi0: critical temperature is 99 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model "92P1129" serial   177 type LION 
oem "Panasonic"
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
acpidock0 at acpi0: GDCK not docked (0)
bios0: ROM list: 0xc/0xfc00 0xd/0x1600 0xd1800/0x1000 
0xdc000/0x4000! 0xe/0x1!
cpu0: Enhanced SpeedStep 1996 MHz: speeds: 2000, 1667, 1333, 1000 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82945GM Host" rev 0x03
ppb0 at pci0 dev 1 function 0 "Intel 82945GM PCIE" rev 0x03: apic 1 int 
16
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "ATI Radeon Mobility X1400" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
radeondrm0 at vga1: apic 1 int 16
drm0 at radeondrm0
azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02: msi
azalia0: codecs: Analog Devices AD1981HD, Conexant/0x2bfa, using Analog 
Devices AD1981HD
audio0 at azalia0
ppb1 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02: apic 1 int 
20
pci2 at ppb1 bus 2
bge0 at pci2 dev 0 function 0 "Broadcom BCM5752M" rev 0x02, BCM5752 A2 
(0x6002): apic 1 int 16, address 00:16:36:69:5f:6c
brgphy0 at bge0 phy 1: BCM5752 10/100/1000baseT PHY, rev. 0
ppb2 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x02: apic 1 int 
21
pci3 at ppb2 bus 3
wpi0 at pci3 dev 0 function 0 "Intel PRO/Wireless 3945ABG" rev 0x02: 
msi, MoW2, address 00:13:02:99:92:4c
ppb3 at pci0 dev 28 function 2 "Intel 82801GB PCIE" rev 0x02: apic 1 int 
22
pci4 at ppb3 bus 4
ppb4 at pci0 dev 28 function 3 "Intel 82801GB PCIE" rev 0x02: apic 1 int 
23
pci5 at ppb4 bus 12
uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x02: apic 1 int 
16
uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x02: apic 1 int 
17
uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x02: apic 1 int 
18
uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x02: apic 1 int 
19
ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x02: apic 1 int 
19
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb5 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xe2
pci6 at ppb

Re: i386 or amd64?

2011-08-06 Thread Daniel B.
On Fri, Aug 05, 2011 at 05:43:07PM -0400, System Administrator wrote:
> Looking to build a firewall for a fairly busy (25+mb) site. Hardware is 
> Dell PE2850, 2 Xeon 64-bit CPUs, 4GB RAM, 6 em(4) interfaces. Software 
> is primarily pf(4) and relayd(8).
> 
> Not so long ago the recommendation was to use the i386 build for a 
> slight perfomance and stability benefit. Is that still the case? What 
> are the advantages and shortcomings of amd64?

I don't know why people still bother with anything different than
i386. I use amd64 in everything that supports it, without a single
problem related with the architecture itself.



Taller Cambio de Actitud en el Trabajo (13 de Agosto)

2011-08-06 Thread Corporativo Fiscal Decada SC
Politicas de Privacidad Si no puede ver esta informacisn haga click aqum

[IMAGE]

POLMTICAS DE CANCELACISN

[IMAGE]

Corporativo Fiscal Dicada, S.C. posee una rmgida polmtica contra el
SPAMming, por lo que respetamos su privacidad. Por favor, si usted no
desea recibir mas informacisn y comunicados sobre Corporativo Fiscal
Dicada, S.C. o considera que recibis por error este e-mail, le suplicamos
haga click aqum, escriba su nombre y lo daremos de baja inmediatamente de
nuestra base de datos.
PROGRAMACION AGOSTO 2011

COFIDE



(1) VIERNES 05 Y SABADO 06

IMPUESTOS DIRECTOS PERSONAS MORALES (ISR y IETU: Ingresos, Deducciones y Base) 

Duracisn:   13 Hrs.

Viernes

De: 10:00 A 19:00 Hrs.

COMIDA: 08:00 A 09:00 Hrs.

Sabado

De: 09:00 A 14:00 Hrs.

DESAYUNO:   08:00 A 09:00 Hrs

Expositor:  C.P.C. y E.F. LUIS RAZL RAMMREZ GARCMA

Inversisn:  $3,600.00 mas IVA 





(2) MIERCOLES 10 

NIF D-4 IMPUESTOS A LA UTILIDAD (Efectos Fiscales de los Impuestos Diferidos)

Duracisn:   9 Hrs.

De: 09:00 A 19:00 Hrs.

COMIDA DE:  14:00 A 15:00 Hrs.

Expositor:  L.C.P. Y MTRO. JORGE ZUQIGA CARRASCO

Inversisn:  $2,520.00 mas IVA 





(3) MIERCOLES 10 

NUEVA RESOLUCISN MISCELANEA 2011 - 2012

Duracisn:   6 Hrs.

De: 09:00 A 15:00 Hrs.

DESAYUNO:   08:00 A 09:00 Hrs.

Expositor:  C.P.C.  Y  E.F. LUIS GUILLERMO DELGADO  PEDROZA

Inversisn:  $1,680.00 mas IVA





(4) JUEVES 11

NUEVOS SISTEMAS AUTOMATIZADOS DE DEVOLUCIONES Y COMPENSACIONES

Duracisn:   5 Hrs.

De: 09:00 A 14:00 Hrs.

DESAYUNO:   08:00 A 09:00 Hrs.

Expositor:  C.P.C Y E.F GADIEL ARAGON PERALTA

Inversisn:  $1,680.00 mas IVA



(5) VIERNES 12

ADMINISTRACIRN DE CREDITO Y COBRANZAS

Duracisn:   8 Hrs.

De: 09:00 A 18:00 Hrs.

COMIDA DE:  14:00 A 15:00 Hrs.

Expositor:  DR. NORMAN JONATHAN WOLF DEL VALLE

Inversisn:  $2,240.00 mas IVA



(6) VIERNES 12

CREDITOS INFONAVIT (Solicitud, Otorgamientos y Pago)

Duracisn:   5 Hrs.

De: 15:00 A 20:00 Hrs.

COMIDA: 14:00 A 15:00 Hrs.

Expositor:  LIC. HILDA SILVA GAXIOLA

Inversisn:  $1,400.00 mas IVA 





(7) SABADO 13

CREDITOS FISCALES IMSS E INFONAVIT (Multas, Sanciones, Adeudos y Medios de 
Defensa)

Duracisn:   5 Hrs.

De: 09:00 A 14:00 Hrs.

DESAYUNO  DE:   08:00 a 09:00 Hrs

Expositor:  LIC. RAFAEL RIVERA PRADO

Inversisn:  $1,400.00 mas IVA 





(8) SABADO 13

TALLER CAMBIO DE ACTITUD EN EL TRABAJO

Duracisn:   5 Hrs.

De: 09:00 A 14:00 Hrs.

DESAYUNO  DE:   08:00 a 09:00 Hrs

Expositor:  ING. MARTIN A. ORTIZ MITRE

Inversisn:  $1,400.00 mas IVA 





(9) JUEVES 18

TRATAMIENTO JURIDICO FISCAL DE ARRENDAMIENTO FINANCIERO

Duracisn:   5 Hrs. 

De: 15:00 A 20:00 Hrs.

COMIDA  DE: 14:00 a 15:00 Hrs

Expositor:  C.P.C. Y  E.F. GADIEL ARAGON PERALTA

Inversisn:  $1,650.00  mas IVA





(10) VIENRES 19 Y SABADO 20

IMPUESTOS DIRECTOS PERSONAS MORALES (PAGOS PROVISIONALES)

Duracisn:   10 Hrs.

Viernes

De: 15:00 A 20:00 Hrs.

COMIDA  DE: 14:00 a 15:00 Hrs.

Sabado

De: 09:00 A 14:00 Hrs.

DESAYUNO  DE:   08:00 a 09:00 Hrs.

Expositor:  C.P.C.  Y  E.F. LUIS GUILLERMO DELGADO  PEDROZA

Inversisn:  $ 2,800.00 mas IVA





(11) MIERCOLES 24

MANEJO DE TABLAS DINAMICAS EN EXCEL PARA RESUMIR Y ANALIZAR INFORMACISN

Duracisn:   8 Hrs.

De: 09:00 A 18:00 Hrs.

COMIDA DE:  14:00 a 15:00 Hrs.

Expositor:  ING. HUGO RODOLFO GONZALEZ MALDONADO

Inversisn:  $2,400.00 mas IVA 





(12) JUEVES 25

TRATAMIENTO FISCAL DE FUSISN ESCISISN Y TRANSFORMACISN DE SOCIEDADES

Duracisn:   5 Hrs.

De: 15:00 A 20:00 Hrs.

COMIDA DE:  14:00 A 15:00 Hrs.

Expositor:  C.P.C. Y E.F. GADIEL ARAGON PERALTA

Inversisn:  $1,400.00 mas IVA 





(13) VIERNES 26

TRATAMIENTO FISCAL INTEGRAL DE FEDATARIOS PUBLICOS. ISR, IETU, IVA E IDE

Duracisn:   5 Hrs.

De: 09:00 A 14:00 Hrs.

DESAYUNO DE:08:00 a 09:00 Hrs.

Expositor:  C.P.C. Y E.F. GADIEL ARAGON PERALTA

Inversisn:  $1,600.00.00 mas IVA 





(14) SABADO 27

IMSS LA MEJOR OPCISN PARA PENSIONARSE (Ley del  Seguro Social 1973) 

Duracisn:   5 Hrs.

De: 09:00 A 14:00 Hrs.

DESAYUNO DE:08:00 a 09:00 Hrs.

Expositor:  C.P.C. CECILIA BRAVO NAVARRO

Inversisn:  $1,400.00.00 mas IVA 



* CERTIFICACISN DE LA ASOCIACION MEXICANA DE CONTADORES PUBLICOS, A.C. 
(AMCP/CE/033)



* CERTIFICACISN DEL COLEGIO DE CONTADORES PUBLICOS (CCPM-E112-1203)



* NUESTRA PAGINA WEB:  www.cofide.org



* UBICACISN: HOTEL XI En Alvaro Obregsn 38. Col. Roma



* DEPOSITOS EN HSBC A LA CUENTA: 04023512213 o IXE BANCO S.A., CUENTA DE 
CHEQUES: 0001224900-9



* TRANSFERENCIA EN HSBC A LA CLABE BANCARIA: 021180040235122133 o IXE BANCO 
S.A., A LA CLABE BANCARIA: 03218122490091

 

* ACEPTAMOS TO

Panic on OpenBSD 5.0 -current 6 Aug 2011 GENERIC.MP

2011-08-06 Thread Insan Praja SW

Hello,
This panic occurs when one of our border router with BGP is panicking, and  
when the traffic (and bgp routes) failover to this router, it panics. The  
router kernel and userland are sync from source repository, build from  
source last night.


I haven't had the opportunity to follow the source code debugging  
procedure. These are the data which I able to pull by taking pictures of  
the panic.


DMESG
-
OpenBSD 5.0 (GENERIC.MP) #5: Sat Aug  6 00:19:38 WIT 2011
r...@border-lf.mygreenlinks.net:/usr/src/sys/arch/i386/compile/GENERIC.MP
RTC BIOS diagnostic error e
cpu0: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz ("GenuineIntel" 686-class) 2.41  
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,S

SE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM
real mem  = 2142711808 (2043MB)
avail mem = 2097582080 (2000MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 03/26/07, SMBIOS rev. 2.4 @  
0x7fbe4000 (43 entries)
bios0: vendor Intel Corporation version  
"S3000.86B.02.00.0054.061120091710" date 06/11/2009

bios0: Intel S3000AH
acpi0 at bios0: rev 2
acpi0: sleep states S0 S1 S4 S5
acpi0: tables DSDT SLIC FACP APIC WDDT HPET MCFG ASF! SSDT SSDT SSDT SSDT  
SSDT HEST BERT ERST EINJ
acpi0: wakeup devices SLPB(S4) P32_(S4) UAR1(S1) PEX4(S4) PEX5(S4)  
UHC1(S1) UHC2(S1) UHC3(S1) UHC4(S1) EHCI(S1) AC9M(S4) AZAL(

S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 266MHz
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz ("GenuineIntel" 686-class) 2.41  
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,S

SE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM
cpu2 at mainbus0: apid 1 (application processor)
cpu2: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz ("GenuineIntel" 686-class) 2.41  
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,S

SE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz ("GenuineIntel" 686-class) 2.41  
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,S

SE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM
ioapic0 at mainbus0: apid 5 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 5
acpihpet0 at acpi0: 14318179 Hz
acpimcfg0 at acpi0 addr 0xf000, bus 0-127
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 4 (P32_)
acpiprt2 at acpi0: bus 1 (PEX0)
acpiprt3 at acpi0: bus -1 (PEX1)
acpiprt4 at acpi0: bus -1 (PEX2)
acpiprt5 at acpi0: bus -1 (PEX3)
acpiprt6 at acpi0: bus 2 (PEX4)
acpiprt7 at acpi0: bus 3 (PEX5)
acpicpu0 at acpi0: PSS
acpicpu1 at acpi0: PSS
acpicpu2 at acpi0: PSS
acpicpu3 at acpi0: PSS
acpibtn0 at acpi0: SLPB
bios0: ROM list: 0xc/0x9000 0xc9000/0x1000 0xca000/0x1000
cpu0: Enhanced SpeedStep 2401 MHz: speeds: 2394, 1596 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel E7230 Host" rev 0x00
ppb0 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x01: apic 5 int 17
pci1 at ppb0 bus 1
ppb1 at pci0 dev 28 function 4 "Intel 82801G PCIE" rev 0x01: apic 5 int 17
pci2 at ppb1 bus 2
em0 at pci2 dev 0 function 0 "Intel PRO/1000 PT (82571EB)" rev 0x06: msi,  
address 00:15:17:86:54:08
em1 at pci2 dev 0 function 1 "Intel PRO/1000 PT (82571EB)" rev 0x06: msi,  
address 00:15:17:86:54:09

ppb2 at pci0 dev 28 function 5 "Intel 82801G PCIE" rev 0x01: apic 5 int 16
pci3 at ppb2 bus 3
em2 at pci3 dev 0 function 0 "Intel PRO/1000MT (82573E)" rev 0x03: msi,  
address 00:15:17:25:0a:9d

"Intel 82573E Serial" rev 0x03 at pci3 dev 0 function 3 not configured
"Intel 82573E KCS" rev 0x03 at pci3 dev 0 function 4 not configured
uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x01: apic 5 int 23
uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x01: apic 5 int 19
uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x01: apic 5 int 18
uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x01: apic 5 int 16
ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x01: apic 5 int 23
ehci0: timed out waiting for BIOS
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb3 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xe1
pci4 at ppb3 bus 4
skc0 at pci4 dev 0 function 0 "D-Link DGE-530T B1" rev 0x11, Yukon Lite  
(0x9): apic 5 int 21

sk0 at skc0 port A: address 00:1b:11:10:07:26
eephy0 at sk0 phy 0: 88E1011 Gigabit PHY, rev. 5
skc1 at pci4 dev 1 function 0 "D-Link DGE-530T B1" rev 0x11, Yukon Lite  
(0x9): apic 5 int 22

sk1 at skc1 port A: address 00:1c:f0:d1:a3:77
eephy1 at sk1 phy 0: 88

Re: Benchmarking guidelines for NAS/Samba

2011-08-06 Thread James A. Peltier
- Original Message -
| Hi everyone.
| 
| Just recently installed obsd 4.9 and setup samba to run on it for use
| at home.
| I am getting currently transfer rates of 8,9 MB/second on a 100 Mbit
| connection. I would like maybe in the future to upgrade it into a
| better machine with a Gb connection, maybe throw it in some RAID
| controller into it, but first I am interesting in learning on how to
| benchmark it and figure where the bottlenecks are on the current
| machine.
| The current machine contains a VIA C3 1GHz processor, 512 MB RAM, 100
| Mbit Ethernet and a SATA HDD. (old mini-itx form factor board I had at
| home unnused)
| 
| Can anyone give me some directions, point me to the right tools to
| use, etc ?
| 
| Regards,
| Henrique

The samba documentation is rather good.  You could read through it paying 
particular attention to things like tcp_nodelay, oplocks, etc.  For a small 
home network your not likely to see any substantial improvements but these 
little tweaks can help.  It seems like you're already getting pretty decent 
performance out of your existing box now.

-- 
James A. Peltier
IT Services - Research Computing Group
Simon Fraser University - Burnaby Campus
Phone   : 778-782-6573
Fax : 778-782-3045
E-Mail  : jpelt...@sfu.ca
Website : http://www.sfu.ca/itservices
  http://blogs.sfu.ca/people/jpeltier



Re: i386 or amd64?

2011-08-06 Thread Tom Murphy
On 2011-08-06, Stuart Henderson wrote:
>> On 2011-08-05, System Administrator wrote:
>> Looking to build a firewall for a fairly busy (25+mb) site. Hardware is 
>> Dell PE2850, 2 Xeon 64-bit CPUs, 4GB RAM, 6 em(4) interfaces. Software 
>> is primarily pf(4) and relayd(8).
>>
>> Not so long ago the recommendation was to use the i386 build for a 
>> slight perfomance and stability benefit. Is that still the case? What 
>> are the advantages and shortcomings of amd64?
>>
>> Thanks in advance.
>>
>>
>
>25Mb/s isn't much for the hardware you have. If you're really bothered
>then benchmark/test it *in your setup* but either will probably work fine.

We run sustained 30 MBits/sec (with spikes up to 80-100 Mbits/sec) on a pair
of Dell R200s with no problems.

em0 at pci2 dev 0 function 0 "Intel PRO/1000 PT (82571EB)" rev 0x06: apic 2 int 
16 (irq 15)
em1 at pci2 dev 0 function 1 "Intel PRO/1000 PT (82571EB)" rev 0x06: apic 2 int 
17 (irq 14)
bge0 at pci3 dev 0 function 0 "Broadcom BCM5721" rev 0x21, BCM5750 C1 (0x4201): 
apic 2 int 16 (irq 15)\
brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
bge1 at pci4 dev 0 function 0 "Broadcom BCM5721" rev 0x21, BCM5750 C1 (0x4201): 
apic 2 int 17 (irq 14)
brgphy1 at bge1 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0

This is 4.9-RELEASE and i386 (box had i386 4.4 on already, prior to upgrade
so I thought no need to install amd64 on it as it only has 2G of RAM on it.

In addition, that box happily can do up to 200k packets/sec as well.

I think a PE2850 with 4G of RAM for a firewall is overkill for 25 Megabits/s.

Tom


Tom



hibernation with APM

2011-08-06 Thread David Vasek

Hello all,

does anybody please know if there is a way to initiate hibernation on APM 
equipped laptops that support it *from software*? Thanks for answers.


Regards,
David



Re: amd64 snapshot kqemu hangs

2011-08-06 Thread Philip Guenther
On Thu, Aug 4, 2011 at 3:30 AM, [B&G-Consulting] Elmar Bschorer
 wrote:
...
 On Fri, Jul 29, 2011 at 2:58 AM, [B&G-Consulting] Elmar Bschorer
wrote:
...
> kqemu: kqemu version 0x000103000 loaded, max locked mem=2026212kB
> uvm_fault(0xfe816acf0380, 0x0, 0, 1) ->   e
> kernel: page fault trap, code=0
> Stopped at namei+0x1c: movq 0x20(%r14),%rax
> ddb{1}>
...
> As I already mentioned in my first post - my systems freezes right away,
> when I try to load the module :-( therefore I cant run trace, ps, show
> registers etc :-(



You see that ddb{1}> prompt that I'm quoting from *your* original
email?  That's the prompt of the built-in kernel debugger.  It even
has a manpage: try "man ddb" on a running system.  That's the prompt
you get when the kernel panics or faults; it's completely unrelated to
the normal shell command-line that you would normally get.  There, in
ddb, right after you fire up kqemu and get a fault, *that's* where you
should enter the *ddb* commands "trace" and "ps" and "show registers".


Philip Guenther



Re: hibernation with APM

2011-08-06 Thread Marco Peereboom
run apmd at startup then type apm -z to initiate it.  Works like a charm
on most laptops of quality.

On Sun, Aug 07, 2011 at 12:54:22AM +0200, David Vasek wrote:
> Hello all,
> 
> does anybody please know if there is a way to initiate hibernation
> on APM equipped laptops that support it *from software*? Thanks for
> answers.
> 
> Regards,
> David



Re: hibernation with APM

2011-08-06 Thread David Vasek

Hi Marco.

Thanks, but I'm not asking about suspend. apmd -z starts suspend, at least 
with my Thinkpad and Compaq, both with Phoenix APM BIOSes. Hibernation is 
sometimes called "save to disk" suspend, while suspend is then called 
"save to RAM" suspend.


Regards,
David

On Sat, 6 Aug 2011, Marco Peereboom wrote:


run apmd at startup then type apm -z to initiate it.  Works like a charm
on most laptops of quality.

On Sun, Aug 07, 2011 at 12:54:22AM +0200, David Vasek wrote:

Hello all,

does anybody please know if there is a way to initiate hibernation
on APM equipped laptops that support it *from software*? Thanks for
answers.

Regards,
David