Date: Sat, 20 Mar 1999 16:21:27 +0100 From: "Arno J. Klaassen" <Arno.Klaassen@heho.snv.jussieu.fr> To: freebsd-smp@freebsd.org Subject: networked SMP-1.1 causiong slow-down Message-ID: <36F3BCF7.5B956019@heho.snv.jussieu.fr>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------BAB93E71CE2D23CD7A63B8DF Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hoi, does anyone have an idea how to solve the following problem: I have a dual Pentium 90 Intel SMP-1.1 compliant machine which runs fine in UP-mode (-stable (last time I tried -current gave exactly the same behaviour)); when I turn on SMP, it runs fine iff I turn down the network interface and any network related daemons. When turning on networking the system continues to function normally for a couple of minutes and then ``xl0; watchdog timeout'' messages start to show up. what is interesting is that jobs that have been started before (e.g. ``top'' (very practical)) continue to run at normal speed, whereas each job that has been started after the first ``xl0: watchdog timeout'' message, does not depass 1 or 2 percent CPU usage and ``top'' often mentions the ``vmwait''-state for them. BTW, using the ``lnc1'' ethernetdriver the above-mentionned behaviour is even more accentuated. Attached are my kernel-config file, dmesg -v output and mptabel output. Many thanx in advance. Arno __ Arno J. Klaassen INSERM U483, University Pierre et Marie Curie, Boite 23 9, quai Saint Bernard 75 252 Paris Cedex 5 arno@ccr.jussieu.fr --------------BAB93E71CE2D23CD7A63B8DF Content-Type: text/plain; charset=us-ascii; name="TD4-SMP" Content-Disposition: inline; filename="TD4-SMP" Content-Transfer-Encoding: 7bit # # GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks # # For more information read the handbook part System Administration -> # Configuring the FreeBSD Kernel -> The Configuration File. # The handbook is available in /usr/share/doc/handbook or online as # latest version from the FreeBSD World Wide Web server # <URL:http://www.FreeBSD.ORG/> # # An exhaustive list of options and more detailed explanations of the # device lines is present in the ./LINT configuration file. If you are # in doubt as to the purpose or necessity of a line, check first in LINT. # # $Id: GENERIC,v 1.143.2.4 1999/02/21 21:08:10 obrien Exp $ machine "i386" # cpu "I386_CPU" # cpu "I486_CPU" cpu "I586_CPU" # cpu "I686_CPU" ident "TD4-SMP-egcs-world" maxusers 64 # options MATH_EMULATE #Support for x87 emulation options INET #InterNETworking options FFS #Berkeley Fast Filesystem options FFS_ROOT #FFS usable as root device [keep this!] options MFS #Memory Filesystem # options MFS_ROOT #MFS usable as root device, "MFS" req'ed options NFS #Network Filesystem # options NFS_ROOT #NFS usable as root device, "NFS" req'ed # options MSDOSFS #MSDOS Filesystem options "CD9660" #ISO 9660 Filesystem # options "CD9660_ROOT" #CD-ROM usable as root. "CD9660" req'ed options PROCFS #Process filesystem options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!] options SCSI_DELAY=5000 #Be pessimistic about Joe SCSI device #options UCONSOLE #Allow users to grab the console #options FAILSAFE #Be conservative #options USERCONFIG #boot -c editor #options VISUAL_USERCONFIG #visual boot -c editor config kernel root on da0 # To make an SMP kernel, the next two are needed options SMP # Symmetric MultiProcessor Kernel options APIC_IO # Symmetric (APIC) I/O # Optionally these may need tweaked, (defaults shown): #options NCPU=2 # number of CPUs # options NBUS=5 # number of busses #options NAPIC=1 # number of IO APICs # options NINTR=32 # number of INTs controller isa0 controller eisa0 controller pci0 controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 disk fd0 at fdc0 drive 0 #disk fd1 at fdc0 drive 1 # options "CMD640" # work around CMD640 chip deficiency # controller wdc0 at isa? port "IO_WD1" bio irq 14 # disk wd0 at wdc0 drive 0 # disk wd1 at wdc0 drive 1 # controller wdc1 at isa? port "IO_WD2" bio irq 15 # disk wd2 at wdc1 drive 0 # disk wd3 at wdc1 drive 1 # options ATAPI #Enable ATAPI support for IDE bus # options ATAPI_STATIC #Don't do it as an LKM # device acd0 #IDE CD-ROM # device wfd0 #IDE Floppy (e.g. LS-120) # A single entry for any of these controllers (ncr, ahb, ahc) is # sufficient for any number of installed devices. controller ncr0 # controller ahb0 # controller ahc0 # controller isp0 # This controller offers a number of configuration options, too many to # document here - see the LINT file in this directory and look up the # dpt0 entry there for much fuller documentation on this. # controller dpt0 # controller adv0 at isa? port ? cam irq ? # controller adw0 # controller bt0 at isa? port ? cam irq ? # controller aha0 at isa? port ? cam irq ? #controller aic0 at isa? port 0x340 bio irq 11 controller scbus0 device da0 #device sa0 device pass0 device cd0 #Only need one of these, the code dynamically grows # device wt0 at isa? port 0x300 bio irq 5 drq 1 # device mcd0 at isa? port 0x300 bio irq 10 # controller matcd0 at isa? port 0x230 bio # device scd0 at isa? port 0x230 bio # atkbdc0 controlls both the keyboard and the PS/2 mouse controller atkbdc0 at isa? port IO_KBD tty device atkbd0 at isa? tty irq 1 device psm0 at isa? tty irq 12 device vga0 at isa? port ? conflicts # splash screen/screen saver pseudo-device splash # syscons is the default console driver, resembling an SCO console device sc0 at isa? tty # Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver #device vt0 at isa? tty #options XSERVER # support for X server #options FAT_CURSOR # start with block cursor # If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines #options PCVT_SCANSET=2 # IBM keyboards are non-std device npx0 at isa? port IO_NPX irq 13 # # Laptop support (see LINT for more options) # # device apm0 at isa? disable flags 0x31 # Advanced Power Management # PCCARD (PCMCIA) support #controller card0 #device pcic0 at card? #device pcic1 at card? device sio0 at isa? port "IO_COM1" flags 0x10 tty irq 4 device sio1 at isa? port "IO_COM2" tty irq 3 #device sio2 at isa? disable port "IO_COM3" tty irq 5 #device sio3 at isa? disable port "IO_COM4" tty irq 9 # Parallel port # device ppc0 at isa? port? net irq 7 # controller ppbus0 # device nlpt0 at ppbus? # device plip0 at ppbus? # device ppi0 at ppbus? #controller vpo0 at ppbus? # Order is important here due to intrusive probes, do *not* alphabetize # this list of network interfaces until the probes have been fixed. # Right now it appears that the ie0 must be probed before ep0. See # revision 1.20 of this file. # device ax0 # device de0 # device fxp0 # device mx0 # device pn0 # device rl0 # device tl0 # device tx0 # device vr0 # device vx0 # device wb0 device xl0 # device ed0 at isa? port 0x280 net irq 10 iomem 0xd8000 # device ie0 at isa? port 0x300 net irq 10 iomem 0xd0000 # device ep0 at isa? port 0x300 net irq 10 # device ex0 at isa? port? net irq? # device fe0 at isa? port 0x300 net irq ? # device le0 at isa? port 0x300 net irq 5 iomem 0xd0000 # device lnc0 at isa? port 0x280 net irq 10 drq 0 # device ze0 at isa? port 0x300 net irq 10 iomem 0xd8000 # device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 # device cs0 at isa? port 0x300 net irq ? pseudo-device loop pseudo-device ether # pseudo-device sl 1 # pseudo-device ppp 1 # pseudo-device tun 1 pseudo-device pty 16 # pseudo-device gzip # Exec gzipped a.out's # KTRACE enables the system-call tracing facility ktrace(2). # This adds 4 KB bloat to your kernel, and slightly increases # the costs of each syscall. options KTRACE #kernel tracing # This provides support for System V shared memory and message queues. # options SYSVSHM options SYSVMSG # The `bpfilter' pseudo-device enables the Berkeley Packet Filter. Be # aware of the legal and administrative consequences of enabling this # option. The number of devices determines the maximum number of # simultaneous BPF clients programs runnable. pseudo-device bpfilter 4 #Berkeley packet filter # USB support #controller uhci0 #controller ohci0 #controller usb0 # # for the moment we have to specify the priorities of the device # drivers explicitly by the ordering in the list below. This will # be changed in the future. # #device ums0 #device ukbd0 #device ulpt0 #device uhub0 #device ucom0 #device umodem0 #device hid0 #device ugen0 # #options USB_DEBUG #options USBVERBOSE #_Arno_ Debug # options NFS_DEBUG # options DEBUG options DDB # options DDB_UNATTENDED options DIAGNOSTIC #options CLK_CALIBRATION_LOOP #options "CLK_USE_I8254_CALIBRATION" #options CLK_USE_TSC_CALIBRATION #options "AUTO_EOI_1" #options "AUTO_EOI_2" # _Arno_ extensions: # device ch0 #SCSI media changers # pseudo-device ccd 4 #Concatenated disk driver options "NO_F00F_HACK" # options MAXCONS=12 # number of virtual consoles options DEVFS #devices filesystem # options NETATALK #Appletalk communications protocols # Allow this many swap-devices. # options NSWAPDEV=6 options SCSI_NCR_DEBUG # options SCSI_NCR_DFLT_TAGS=4 options "SCSI_NCR_DFLT_TAGS=-1" options SCSI_NCR_MAX_SYNC=10000 options SCSI_NCR_MAX_WIDE=0 options SCSI_NCR_MYADDR=7 options CAMDEBUG options "CAM_DEBUG_BUS=1" options "CAM_DEBUG_TARGET=1" options "CAM_DEBUG_LUN=1" options "CAM_DEBUG_FLAGS=CAM_DEBUG_INFO|CAM_DEBUG_TRACE|CAM_DEBUG_CDB" options "CAM_MAX_HIGHPOWER=4" options SCSI_NO_SENSE_STRINGS options SCSI_NO_OP_STRINGS options SCSI_REPORT_GEOMETRY options "NTIMECOUNTER=100" --------------BAB93E71CE2D23CD7A63B8DF Content-Type: text/plain; charset=us-ascii; name="dmesg.SMPg" Content-Disposition: inline; filename="dmesg.SMPg" Content-Transfer-Encoding: 7bit ded elf kernel "kernel.SMPg" at 0xf0299000. DEVFS: ready for devices SMP: CPU0 bsp_apic_configure(): lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000010 SVR: 0x000001ff eisa0: <ING2280 (System Board)> Probing for devices on the EISA bus pci_open(1): mode 1 addr port (0x0cf8) is 0x00000000 pci_open(1a): mode1res=0x00000000 (0x80000000) pci_open(1b): mode1res=0x80000000 (0xff000001) pci_cfgcheck: device 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 -- nothing found pci_open(2): mode 2 enable port (0x0cf8) is 0x00 pci_open(2a): mode2res=0x0e (0x0e) pci_open(2a): now trying mechanism 2 pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=04a38086) Probing for devices on PCI bus 0: found-> vendor=0x8086, dev=0x04a3, revid=0x10 class=06-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 chip0: <Intel 82434NX (Neptune) PCI cache memory controller> rev 0x10 on pci0.0.0 CPU: Pentium, 90MHz, CPU->Memory posting OFF, read around write Warning: Cache parity disabled! Cache: None DRAM: page mode memory clocks=X-4-4-4 (70ns) CPU->PCI: posting ON, burst mode ON, PCI clocks=2-1-1-1 PCI->Memory: posting OFF Refresh: RAS#Only found-> vendor=0x8086, dev=0x0482, revid=0x03 class=00-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 chip1: <Intel 82375EB PCI-EISA bridge> rev 0x03 on pci0.2.0 found-> vendor=0x10b7, dev=0x9055, revid=0x24 class=02-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=11 map[0]: type 4, range 32, base 0000f880, size 7 map[1]: type 1, range 32, base ffbe7e80, size 7 xl0: <3Com 3c905B Fast Etherlink XL 10/100BaseTX> rev 0x24 int a irq 11 on pci0.5.0 xl0: Ethernet address: 00:10:4b:bc:1d:79 xl0: media options word: a xl0: probing for a PHY xl0: checking address: 0 xl0: found PHY at address 0, vendor id: 0 device id: 0 xl0: PHY type: <MII-compliant physical interface> xl0: found 10baseT xl0: found 100baseTX xl0: autoneg complete, link status good (half-duplex, 10Mbps) bpf: xl0 attached found-> vendor=0x1022, dev=0x2000, revid=0x02 class=02-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=10 map[0]: type 4, range 32, base 0000ff80, size 5 found-> vendor=0x1000, dev=0x0001, revid=0x01 class=00-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=11 map[0]: type 4, range 32, base 0000fc00, size 8 map[1]: type 1, range 32, base ffbe7f00, size 8 ncr0: <ncr 53c810 fast10 scsi> rev 0x01 int a irq 11 on pci0.7.0 ncr0: minsync=25, maxsync=206, maxoffs=8, 16 dwords burst, normal dma fifo ncr0: single-ended, open drain IRQ driver using shared irq11. found-> vendor=0x100e, dev=0x9100, revid=0x00 class=03-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 map[0]: type 1, range 32, base fd000000, size 24 vga0: <Weitek P9100 graphics accelerator> rev 0x00 on pci0.8.0 Probing for devices on the ISA bus: atkbd: the current kbd controller command byte 0065 atkbd: keyboard ID 0x41ab (2) kbdc: RESET_KBD return code:00fa kbdc: RESET_KBD status:00aa sc0 on isa sc0: fb0 kbd0 sc0: VGA color <16 virtual consoles, flags=0x0> atkbdc0 at 0x60-0x6f on motherboard atkbd0 irq 1 on isa kbd0: atkbd0, AT 101/102 (2), config:0x10000, flags:0x3d0000 psm0: current command byte:0065 kbdc: TEST_AUX_PORT status:0000 kbdc: RESET_AUX return code:00fa kbdc: RESET_AUX status:00aa kbdc: RESET_AUX ID:0000 psm: status 01 02 64 psm: status 01 00 64 psm: status 01 03 64 psm: status 01 03 64 psm: status 11 00 64 psm: data 0a 00 00 psm: data 0a 00 00 psm: status 01 02 64 psm0 irq 12 on isa psm0: model Generic PS/2 mouse, device ID 0, 2 buttons psm0: config:00000000, flags:00000000, packet size:3 psm0: syncmask:c0, syncbits:00 sio0: irq maps: 0x1 0x11 0x1 0x1 sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa sio0: type 16550A sio1: irq maps: 0x1 0x9 0x1 0x1 sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: FIFO enabled, 8 bytes threshold fd0: 1.44MB 3.5in vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa fb0: vga0, vga, type:VGA (5), flags:0x7007f fb0: port:0x3b0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000 fb0: init mode:24, bios mode:3, current mode:24 fb0: window:0xf00b8000 size:32k gran:32k, buf:0x0 size:0k VGA parameters upon power-up 50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0d 0e 00 00 07 80 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff VGA parameters in BIOS for mode 24 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff EGA/VGA parameters to be used for mode 24 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff npx0 on motherboard npx0: INT 16 interface i586_bzero() bandwidth = 278473962 bytes/sec bzero() bandwidth = 144196106 bytes/sec imasks: bio c8000040, tty c300101a, net c6000800 stray irq 7 SMP: enabled INTs: 1, 3, 4, 6, 7, 11, 12, apic_imen: 0x00ffe725 BIOS Geometries: 0:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors 1:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors 2:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors 3:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors 4:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors 5:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors 6:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors 7:00000000 0..0=1 cylinders, 0..0=1 heads, 1..0=0 sectors 0 accounted for Device configuration finished. DEVFS: ready to run APIC_IO: Testing 8254 interrupt delivery APIC_IO: routing 8254 via pin 2 bpf: lo0 attached xpt_config: xpt_create_path() failed for debug target 1:1:1, debugging disabled Waiting 5 seconds for SCSI devices to settle ncr0: restart (scsi reset). SMP: AP CPU #1 Launched! SMP: CPU1 apic_initialize(): lint0: 0x00010700 lint1: 0x00010400 TPR: 0x00000010 SVR: 0x000001ff new nccb @0xf08d1c00. new nccb @0xf08d1a00. new nccb @0xf08d1800. new nccb @0xf08d1600. new nccb @0xf08d1400. new nccb @0xf08d1200. new nccb @0xf08d1000. (probe4:ncr0:0:4:0): . CDB: 12 1 80 0 ff 0 (probe4:ncr0:0:4:0): ILLEGAL REQUEST asc:24,0 (probe4:ncr0:0:4:0): sks:c8,1 new nccb @0xf08cd000. new nccb @0xf08cd400. new nccb @0xf08cdc00. new nccb @0xf08a1000. new nccb @0xf08a1400. new nccb @0xf08d2e00. new nccb @0xf08d2c00. new nccb @0xf08d2a00. new nccb @0xf08d2800. new nccb @0xf08d2600. new nccb @0xf08d2400. new nccb @0xf08d2200. new nccb @0xf08d2000. new nccb @0xf08cd800. pass0 at ncr0 bus 0 target 0 lun 0 pass0: <QUANTUM FIREBALL ST3.2S 0F0C> Fixed Direct Access SCSI-2 device pass0: Serial Number 153763340769 pass0: 10.000MB/s transfers (10.000MHz, offset 8), Tagged Queueing Enabled pass1 at ncr0 bus 0 target 4 lun 0 pass1: <TOSHIBA CD-ROM XM-3401TA 3593> Removable CD-ROM SCSI-2 device pass1: 4.237MB/s transfers (4.237MHz, offset 8) cd0 at ncr0 bus 0 target 4 lun 0 cd0: <TOSHIBA CD-ROM XM-3401TA 3593> Removable CD-ROM SCSI-2 device cd0: 4.237MB/s transfers (4.237MHz, offset 8) cd0: cd present [290632 x 2048 byte records] da0 at ncr0 bus 0 target 0 lun 0 da0: <QUANTUM FIREBALL ST3.2S 0F0C> Fixed Direct Access SCSI-2 device da0: Serial Number 153763340769 da0: 10.000MB/s transfers (10.000MHz, offset 8), Tagged Queueing Enabled da0: 3090MB (6328861 512 byte sectors: 255H 63S/T 393C) Considering FFS root f/s. changing root device to da0s1a da0s1: type 0xa5, start 63, end = 128519, size 128457 : OK da0s2: type 0xa5, start 128520, end = 6313544, size 6185025 : OK Start pid=2 <pagedaemon> Start pid=3 <vmdaemon> Start pid=4 <syncer> new nccb @0xf08d4600. new nccb @0xf08d4400. new nccb @0xf08e7200. new nccb @0xf08e7000. new nccb @0xf08f3e00. new nccb @0xf08f3c00. new nccb @0xf08f3800. new nccb @0xf08f3400. splash: image decoder found: daemon_saver new nccb @0xf090fc00. (da0:ncr0:0:0:0): tagged openings now 9 (da0:ncr0:0:0:0): tagged openings now 8 --------------BAB93E71CE2D23CD7A63B8DF Content-Type: text/plain; charset=us-ascii; name="mptable.out" Content-Disposition: inline; filename="mptable.out" Content-Transfer-Encoding: 7bit =============================================================================== MPTable, version 2.0.15 ------------------------------------------------------------------------------- MP Floating Pointer Structure: location: BIOS physical address: 0x000fbaa0 signature: '_MP_' length: 16 bytes version: 1.1 checksum: 0x9d mode: Virtual Wire ------------------------------------------------------------------------------- MP default config type: 6 bus: EISA+PCI, APIC: Integrated ------------------------------------------------------------------------------- # SMP kernel config file options: # Required: options SMP # Symmetric MultiProcessor Kernel options APIC_IO # Symmetric (APIC) I/O # Optional (built-in defaults will work in most cases): #options NCPU=2 # number of CPUs #options NBUS=2 # number of busses #options NAPIC=1 # number of IO APICs #options NINTR=24 # number of INTs =============================================================================== --------------BAB93E71CE2D23CD7A63B8DF-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36F3BCF7.5B956019>