Re: 6.0 Stable reboots randomly during high load.

2005-11-23 Thread Hendry Sarumpaet
Hello kama,

Wednesday, November 23, 2005, 8:04:36 PM, you wrote:

 I have a HP DL380G3 Dual 2.4 w HT disabled.

 This server is running as a newsserver (Diablo) and recieving more or less
 a full feed. aprox 200Mbps in and out. When the load rises the system
 reboots.

 I can occupy it with high CPU load w/o problem, but once I allow
 connections to the machine, it will operate for a couple of hours and then
 reboot. It gets aprox 100 connections to the machine, all of them either
 write or read from disk.

 Just for the sharing, We've HP Proliant DL380 G4 with  Dual 3.4 Ghz
 HTT enabled 2 MB RAM.
 this hardware act as our production router it seems
 pretty robust on our lab enviroment with netperf we can succesfully forwarded 
packet up to
 600Mbps(symetric) through bge(configured with 10 vlan) connected to
 catalyst Trunk port. CPU load around 60 % under the circumtances
 above. currently it run as router with Full internet BGP feed (160K
 prefix) with 3 neighbor upstream and moderate IPFW rule as
 lightweight packet filter and bandwidth shapper.
 nothing special on the configuration it runs with polling and IP
 fastforwarding turn on with USB disabled via BIOS and ACPI turn off.
 It runs on RELENG_6 latelly as of  Nov 11 2005.
 
 attached boot message and kernel configuration.

 
 



 The kernel is GENERIC with small changes. (look at diff below)

 This system had a working 5.4 system installed before, that did not suffer
 from these reboots.

 How do I proceed for further gathering of information before I downgrade
 it to 5.4 again?

 /Bjorn

 - snip -

 Copyright (c) 1992-2005 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
 The Regents of the University of California. All rights reserved.
 FreeBSD 6.0-STABLE #8: Mon Nov 21 14:45:30 CET 2005
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/newspeer
 ACPI APIC Table: COMPAQ 0083
 Timecounter i8254 frequency 1193182 Hz quality 0
 CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2387.52-MHz 686-class CPU)
   Origin = GenuineIntel  Id = 0xf29  Stepping = 9

 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
   Features2=0x4400CNTX-ID,b14
   Hyperthreading: 2 logical CPUs
 real memory  = 4110393344 (3919 MB)
 avail memory = 4022607872 (3836 MB)
 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
  cpu0 (BSP): APIC ID:  0
  cpu1 (AP): APIC ID:  6
 MADT: Forcing active-low polarity and level trigger for SCI
 ioapic0 Version 1.1 irqs 0-15 on motherboard
 ioapic1 Version 1.1 irqs 16-31 on motherboard
 ioapic2 Version 1.1 irqs 32-47 on motherboard
 ioapic3 Version 1.1 irqs 48-63 on motherboard
 npx0: [FAST]
 npx0: math processor on motherboard
 npx0: INT 16 interface
 acpi0: COMPAQ P29 on motherboard
 acpi0: Power Button (fixed)
 pci_link0: ACPI PCI Link IUSB on acpi0
 pci_link1: ACPI PCI Link IN16 on acpi0
 pci_link2: ACPI PCI Link IN17 on acpi0
 pci_link3: ACPI PCI Link IN18 on acpi0
 pci_link4: ACPI PCI Link IN19 on acpi0
 pci_link5: ACPI PCI Link IN20 on acpi0
 pci_link6: ACPI PCI Link IN21 on acpi0
 pci_link7: ACPI PCI Link IN22 on acpi0
 pci_link8: ACPI PCI Link IN23 on acpi0
 pci_link9: ACPI PCI Link IN24 on acpi0
 pci_link10: ACPI PCI Link IN25 on acpi0
 pci_link11: ACPI PCI Link IN26 on acpi0
 pci_link12: ACPI PCI Link IN27 on acpi0
 pci_link13: ACPI PCI Link IN28 on acpi0
 pci_link14: ACPI PCI Link IN29 on acpi0
 pci_link15: ACPI PCI Link IN30 on acpi0
 pci_link16: ACPI PCI Link IN31 on acpi0
 pci_link17: ACPI PCI Link IN32 on acpi0
 pci_link18: ACPI PCI Link IN33 on acpi0
 pci_link19: ACPI PCI Link IN34 on acpi0
 Timecounter ACPI-safe frequency 3579545 Hz quality 1000
 acpi_timer0: 32-bit timer at 3.579545MHz port 0x920-0x923 on acpi0
 cpu0: ACPI CPU on acpi0
 cpu1: ACPI CPU on acpi0
 pcib0: ACPI Host-PCI bridge on acpi0
 pci0: ACPI PCI bus on pcib0
 pci0: display, VGA at device 3.0 (no driver attached)
 pci0: base peripheral at device 4.0 (no driver attached)
 pci0: base peripheral at device 4.2 (no driver attached)
 isab0: PCI-ISA bridge at device 15.0 on pci0
 isa0: ISA bus on isab0
 atapci0: ServerWorks CSB5 UDMA100 controller port
 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x2000-0x200f at device 15.1 on pci0
 ata0: ATA channel 0 on atapci0
 ata1: ATA channel 1 on atapci0
 ohci0: OHCI (generic) USB controller mem 0xf5ef-0xf5ef0fff irq 7 at
 device 15.2 on pci0
 ohci0: [GIANT-LOCKED]
 usb0: OHCI version 1.0, legacy support
 usb0: SMM does not respond, resetting
 usb0: OHCI (generic) USB controller on ohci0
 usb0: USB revision 1.0
 uhub0: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub0: 4 ports with 4 removable, self powered
 pcib1: ACPI Host-PCI bridge on acpi0
 pci1: ACPI PCI bus on pcib1
 ciss0: Compaq Smart Array 5i port 0x3000-0x30ff mem
 0xf7cc-0xf7cf,0xf7bf-0xf7bf3fff irq 30 at device 3.0 on pci1
 ciss0: [GIANT-LOCKED]
 pcib2: ACPI Host-PCI bridge on acpi0
 pci2: ACPI PCI bus on 

Re[2]: Why device sk (PCI Gigabit Ethernet) cannot use polling?

2005-11-18 Thread Hendry Sarumpaet
Hello Rob,

Friday, November 18, 2005, 3:23:10 PM, you wrote:

 Xin LI wrote:
 On 11/18/05, Rob [EMAIL PROTECTED] wrote:
 
Hi,

The sk device has no polling support,
neither in 5 nor in 6.
Is there a particular reason (maybe
because it's a Gigabit device) ?

Or is polling not supported because it
simply has not yet been coded? If so, would
it be straightforward to add the code?
 
 
 That would not be very hard if you own some
 hardware,
 so if you have the hardware, give it a try! :-)

 I do have the hardware: an sk integrated on the
 motherboard, but this is on a production server.

 Also, I don't know anything about coding the
 polling stuff; I use it on other PCs (rl, xl)
 and was wondering why not with sk.

 If I have a piece of code that is 99.9 % sure
 to work, then in that case I could try it out on
 the production server in a test over the weekend.


  well if you want to make it work then feel free to ask any
  developer who willing spent their time to write the code and it will
  be great if you can donate the hardware also.
  i think ru@ and glebius@ is the guy who currently proactive develope
  the polling(4) code.
  the recent work for polling was additional support to bge(4) which
  have been merged to RELENG_6 (work done by glebius), we've been used it on 
our production
  router seems pretty robust.



 BTW.  Since glebius@ has some recent work on
 polling(4), you may want to ask him for some
 in-depth advises.

 Who is glebius?

  finger [EMAIL PROTECTED]
  honestly he is my FreeBSD network hero :)
  netgragph improvement , carp stuff , recent em(4) fix , new design of polling 
code and many
  more. thanks a lot gleb !




 Rob.




 
 
 __ 
 Yahoo! Mail - PC Magazine Editors' Choice 2005 
 http://mail.yahoo.com
 ___
 freebsd-stable@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-stable
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]


-- 
cheers,
hsa

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]