Re: Performance Statistics: -current

2007-01-18 Thread Beavis

A suggestion would be to enable softdep on your /etc/fstab

-Ed

On 1/18/07, Vijay Sankar [EMAIL PROTECTED] wrote:


Good day,

I purchased a new server two days ago so that I can help test applications
like OpenOffice, Asterisk, and gCompris. It has Core 2 Duo 6400, 4GB of
RAM,
reasonable disk space etc.

Compiling the kernel took about 25 minutes.
After rebooting, building userland took 9 hours and 15 minutes
After rebooting, Building X took 4 hours and 6 minutes

I followed the excellent documentation very closely, so there were no
errors.
However, what if anything, can be done to make the builds go faster? I did
purchase the wrong video card (e-GeForce 7300 GT) -- did not realize it is
not supported by X 6.9.0, would that have any impact on build times?

I would really appreciate it if anyone can give me some suggestions on
making
the builds go faster.

TIA,

Vijay

Here is the dmesg

OpenBSD 4.0-current (GENERIC) #0: Wed Jan 17 15:56:05 CST 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz (GenuineIntel 686-class)
2.14
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,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16
real mem  = 3488116736 (3406364K)
avail mem = 3192930304 (3118096K)
using 4256 buffers containing 174530560 bytes (170440K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(57) BIOS, date 09/20/06, BIOS32 rev. 0 @
0xfbec0,
SMBIOS rev. 2.3 @ 0xf (71 entries)
bios0: ASUSTeK Computer INC. P5N32-SLI PREMIUM
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 70102 dobusy 1 doidle 1
pcibios0 at bios0: rev 3.0 @ 0xf/0xde74
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdd30/320 (18 entries)
pcibios0: bad IRQ table checksum
pcibios0: PCI BIOS has 18 Interrupt Routing table entries
pcibios0: PCI Exclusive IRQs: 5 7 10 11
pcibios0: no compatible PCI ICU found
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #6 is the last bus
bios0: ROM list: 0xc/0xec00 0xd/0x4000!
acpi at mainbus0 not configured
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 vendor NVIDIA, unknown product 0x0071 rev
0xc1
vendor NVIDIA, unknown product 0x007f (class memory subclass RAM, rev
0xa1)
at pci0 dev 0 function 1 not configured
vendor NVIDIA, unknown product 0x0075 (class memory subclass RAM, rev
0xa1)
at pci0 dev 0 function 2 not configured
vendor NVIDIA, unknown product 0x006f (class memory subclass RAM, rev
0xa1)
at pci0 dev 0 function 3 not configured
vendor NVIDIA, unknown product 0x00b4 (class memory subclass RAM, rev
0xa1)
at pci0 dev 0 function 4 not configured
vendor NVIDIA, unknown product 0x0076 (class memory subclass RAM, rev
0xa1)
at pci0 dev 1 function 0 not configured
vendor NVIDIA, unknown product 0x0078 (class memory subclass RAM, rev
0xa1)
at pci0 dev 1 function 1 not configured
vendor NVIDIA, unknown product 0x0079 (class memory subclass RAM, rev
0xa1)
at pci0 dev 1 function 2 not configured
vendor NVIDIA, unknown product 0x007a (class memory subclass RAM, rev
0xa1)
at pci0 dev 1 function 3 not configured
vendor NVIDIA, unknown product 0x007b (class memory subclass RAM, rev
0xa1)
at pci0 dev 1 function 4 not configured
vendor NVIDIA, unknown product 0x007c (class memory subclass RAM, rev
0xa1)
at pci0 dev 1 function 5 not configured
vendor NVIDIA, unknown product 0x007d (class memory subclass RAM, rev
0xa1)
at pci0 dev 1 function 6 not configured
ppb0 at pci0 dev 2 function 0 NVIDIA MCP04 PCIE rev 0xa2
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 NVIDIA GeForce 7300 GT rev 0xa1
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ppb1 at pci0 dev 5 function 0 NVIDIA MCP04 PCIE rev 0xa2
pci2 at ppb1 bus 2
CMD Technology SiI3132 SATA rev 0x01 at pci2 dev 0 function 0 not
configured
NVIDIA MCP55 Memory rev 0xa1 at pci0 dev 9 function 0 not configured
pcib0 at pci0 dev 10 function 0 NVIDIA MCP55 ISA rev 0xa2
nviic0 at pci0 dev 10 function 1 NVIDIA MCP55 SMBus rev 0xa2
iic0 at nviic0
iic1 at nviic0
adt0 at iic1 addr 0x2e: adt7475 rev 0x69
NVIDIA MCP55 Memory rev 0xa2 at pci0 dev 10 function 2 not configured
ohci0 at pci0 dev 11 function 0 NVIDIA MCP55 USB rev 0xa1: irq 7,
version
1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: NVIDIA OHCI root hub, rev 1.00/1.00, addr 1
uhub0: 10 ports with 10 removable, self powered
ehci0 at pci0 dev 11 function 1 NVIDIA MCP55 USB rev 0xa2: irq 5
usb1 at ehci0: USB revision 2.0
uhub1 at usb1
uhub1: NVIDIA EHCI root hub, rev 2.00/1.00, addr 1
uhub1: 10 ports with 10 removable, self powered
pciide0 at pci0 dev 13 function 0 NVIDIA MCP55 IDE rev 0xa1: DMA,
channel 0
configured to compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 

Re: Performance Statistics: -current

2007-01-18 Thread djgoku

On 1/18/07, Vijay Sankar [EMAIL PROTECTED] wrote:

I would really appreciate it if anyone can give me some suggestions on making
the builds go faster.


I would suggest using a bsd.mp kernel I think that would dramatically
reduce the compile times. It seems that your dmesg shows you are just
using a bsd kernel.



Re: Performance Statistics: -current

2007-01-18 Thread Claudio Jeker
On Thu, Jan 18, 2007 at 11:02:12AM -0600, Beavis wrote:
 A suggestion would be to enable softdep on your /etc/fstab
 

softdep is nice but running without it does not make a core 2 duo as slow 
as a PIII. 

A good sugestion would be to look in top and vmstat -i for huge time
used for interrupt or system. My guess is that the box needs a ACPI 
enabled kernel (config -ef bsd and type enable acpi) to get the correct 
interrupt routing. 

-- 
:wq Claudio

 
 On 1/18/07, Vijay Sankar [EMAIL PROTECTED] wrote:
 
 Good day,
 
 I purchased a new server two days ago so that I can help test applications
 like OpenOffice, Asterisk, and gCompris. It has Core 2 Duo 6400, 4GB of
 RAM,
 reasonable disk space etc.
 
 Compiling the kernel took about 25 minutes.
 After rebooting, building userland took 9 hours and 15 minutes
 After rebooting, Building X took 4 hours and 6 minutes
 
 I followed the excellent documentation very closely, so there were no
 errors.
 However, what if anything, can be done to make the builds go faster? I did
 purchase the wrong video card (e-GeForce 7300 GT) -- did not realize it is
 not supported by X 6.9.0, would that have any impact on build times?
 
 I would really appreciate it if anyone can give me some suggestions on
 making
 the builds go faster.
 
 TIA,
 
 Vijay
 
 Here is the dmesg
 
 OpenBSD 4.0-current (GENERIC) #0: Wed Jan 17 15:56:05 CST 2007
 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
 cpu0: Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz (GenuineIntel 686-class)
 2.14
 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,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16
 real mem  = 3488116736 (3406364K)
 avail mem = 3192930304 (3118096K)
 using 4256 buffers containing 174530560 bytes (170440K) of memory
 mainbus0 (root)
 bios0 at mainbus0: AT/286+(57) BIOS, date 09/20/06, BIOS32 rev. 0 @
 0xfbec0,
 SMBIOS rev. 2.3 @ 0xf (71 entries)
 bios0: ASUSTeK Computer INC. P5N32-SLI PREMIUM
 apm0 at bios0: Power Management spec V1.2
 apm0: AC on, battery charge unknown
 apm0: flags 70102 dobusy 1 doidle 1
 pcibios0 at bios0: rev 3.0 @ 0xf/0xde74
 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdd30/320 (18 entries)
 pcibios0: bad IRQ table checksum
 pcibios0: PCI BIOS has 18 Interrupt Routing table entries
 pcibios0: PCI Exclusive IRQs: 5 7 10 11
 pcibios0: no compatible PCI ICU found
 pcibios0: Warning, unable to fix up PCI interrupt routing
 pcibios0: PCI bus #6 is the last bus
 bios0: ROM list: 0xc/0xec00 0xd/0x4000!
 acpi at mainbus0 not configured
 cpu0 at mainbus0
 pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
 pchb0 at pci0 dev 0 function 0 vendor NVIDIA, unknown product 0x0071 rev
 0xc1
 vendor NVIDIA, unknown product 0x007f (class memory subclass RAM, rev
 0xa1)
 at pci0 dev 0 function 1 not configured
 vendor NVIDIA, unknown product 0x0075 (class memory subclass RAM, rev
 0xa1)
 at pci0 dev 0 function 2 not configured
 vendor NVIDIA, unknown product 0x006f (class memory subclass RAM, rev
 0xa1)
 at pci0 dev 0 function 3 not configured
 vendor NVIDIA, unknown product 0x00b4 (class memory subclass RAM, rev
 0xa1)
 at pci0 dev 0 function 4 not configured
 vendor NVIDIA, unknown product 0x0076 (class memory subclass RAM, rev
 0xa1)
 at pci0 dev 1 function 0 not configured
 vendor NVIDIA, unknown product 0x0078 (class memory subclass RAM, rev
 0xa1)
 at pci0 dev 1 function 1 not configured
 vendor NVIDIA, unknown product 0x0079 (class memory subclass RAM, rev
 0xa1)
 at pci0 dev 1 function 2 not configured
 vendor NVIDIA, unknown product 0x007a (class memory subclass RAM, rev
 0xa1)
 at pci0 dev 1 function 3 not configured
 vendor NVIDIA, unknown product 0x007b (class memory subclass RAM, rev
 0xa1)
 at pci0 dev 1 function 4 not configured
 vendor NVIDIA, unknown product 0x007c (class memory subclass RAM, rev
 0xa1)
 at pci0 dev 1 function 5 not configured
 vendor NVIDIA, unknown product 0x007d (class memory subclass RAM, rev
 0xa1)
 at pci0 dev 1 function 6 not configured
 ppb0 at pci0 dev 2 function 0 NVIDIA MCP04 PCIE rev 0xa2
 pci1 at ppb0 bus 1
 vga1 at pci1 dev 0 function 0 NVIDIA GeForce 7300 GT rev 0xa1
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
 ppb1 at pci0 dev 5 function 0 NVIDIA MCP04 PCIE rev 0xa2
 pci2 at ppb1 bus 2
 CMD Technology SiI3132 SATA rev 0x01 at pci2 dev 0 function 0 not
 configured
 NVIDIA MCP55 Memory rev 0xa1 at pci0 dev 9 function 0 not configured
 pcib0 at pci0 dev 10 function 0 NVIDIA MCP55 ISA rev 0xa2
 nviic0 at pci0 dev 10 function 1 NVIDIA MCP55 SMBus rev 0xa2
 iic0 at nviic0
 iic1 at nviic0
 adt0 at iic1 addr 0x2e: adt7475 rev 0x69
 NVIDIA MCP55 Memory rev 0xa2 at pci0 dev 10 function 2 not configured
 ohci0 at pci0 dev 11 function 0 NVIDIA MCP55 USB rev 0xa1: irq 7,
 version
 1.0, legacy support
 usb0 at ohci0: USB revision 1.0
 uhub0 at usb0
 uhub0: NVIDIA OHCI root hub, rev 1.00/1.00, 

Re: Performance Statistics: -current

2007-01-18 Thread Marc Balmer

Claudio Jeker wrote:

On Thu, Jan 18, 2007 at 11:02:12AM -0600, Beavis wrote:

A suggestion would be to enable softdep on your /etc/fstab



softdep is nice but running without it does not make a core 2 duo as slow 
as a PIII. 


A good sugestion would be to look in top and vmstat -i for huge time
used for interrupt or system. My guess is that the box needs a ACPI 
enabled kernel (config -ef bsd and type enable acpi) to get the correct 
interrupt routing. 


if top shows ~20% system load, even when idle, try disabling iic and ichiic
in UKC.  sth we have to do here with an ASUS server.