From owner-freebsd-current Sun Dec 2 17:33:10 2001 Delivered-To: freebsd-current@freebsd.org Received: from mail.viasoft.com.cn (unknown [61.153.1.177]) by hub.freebsd.org (Postfix) with ESMTP id 15EBF37B416 for ; Sun, 2 Dec 2001 17:33:04 -0800 (PST) Received: from viasoft.com.cn (davidwnt.viasoft.com.cn [192.168.1.239]) by mail.viasoft.com.cn (8.9.3/8.9.3) with ESMTP id JAA31421; Mon, 3 Dec 2001 09:40:17 +0800 Message-ID: <3C0AD530.4020702@viasoft.com.cn> Date: Mon, 03 Dec 2001 09:28:16 +0800 From: David Xu User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2 X-Accept-Language: en-us MIME-Version: 1.0 To: Emiel Kollof Cc: freebsd-current@FreeBSD.ORG Subject: Re: pmap_collect: collecting pv entries -- suggest increasing PMAP_SHPGPERPROC References: <20011202223743.569721CA3@router.hackerheaven.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is strange, the problem would happen in heavy forked system which have lots of pages are shared between lots of process and most are commited to these processes, this is a known FreeBSD VM problem, the pv_entry are static allocated using vm_zone with max limit set. strange thing is it happens in booting time. -- David Xu Emiel Kollof wrote: >>From my dmesg: >pmap_collect: collecting pv entries -- suggest increasing PMAP_SHPGPERPROC > >What does that mean? Is it a bug? >(dmesg attached) > > >------------------------------------------------------------------------ > >Copyright (c) 1992-2001 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 5.0-CURRENT #11: Sat Dec 1 20:46:57 CET 2001 > root@tiamat.ipv6.hackerheaven.org:/usr/obj/usr/src/sys/TIAMAT >Preloaded elf kernel "/boot/kernel/kernel" at 0xc057c000. >Preloaded elf module "/boot/kernel/acpi.ko" at 0xc057c0a8. >Timecounter "i8254" frequency 1193182 Hz >Timecounter "TSC" frequency 696972984 Hz >CPU: Pentium III/Pentium III Xeon/Celeron (696.97-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0x686 Stepping = 6 > Features=0x387f9ff >real memory = 134152192 (131008K bytes) >avail memory = 124891136 (121964K bytes) >Pentium Pro MTRR support enabled >VESA: v2.0, 8128k memory, flags:0x0, mode table:0xc048c702 (1000022) >VESA: ATI MACH64 >Using $PIR table, 9 entries at 0xc00fdf30 >npx0: on motherboard >npx0: INT 16 interface >acpi0: on motherboard > ACPI-0294: *** Error: Method execution failed, AE_NOT_EXIST > ACPI-0294: *** Error: Method execution failed, AE_NOT_EXIST >Timecounter "ACPI" frequency 3579545 Hz > ACPI-0294: *** Error: Method execution failed, AE_NOT_EXIST > ACPI-0294: *** Error: Method execution failed, AE_NOT_EXIST > ACPI-0294: *** Error: Method execution failed, AE_NOT_EXIST >acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 >acpi_cpu0: on acpi0 >acpi_tz0: on acpi0 >acpi_acad0: on acpi0 > ACPI-0294: *** Error: Method execution failed, AE_NOT_EXIST > ACPI-0294: *** Error: Method execution failed, AE_NOT_EXIST > ACPI-0294: *** Error: Method execution failed, AE_NOT_EXIST > ACPI-0294: *** Error: Method execution failed, AE_NOT_EXIST > ACPI-0294: *** Error: Method execution failed, AE_NOT_EXIST > ACPI-0294: *** Error: Method execution failed, AE_NOT_EXIST > ACPI-0294: *** Error: Method execution failed, AE_NOT_EXIST > ACPI-0294: *** Error: Method execution failed, AE_NOT_EXIST > ACPI-0294: *** Error: Method execution failed, AE_NOT_EXIST > ACPI-0294: *** Error: Method execution failed, AE_NOT_EXIST > ACPI-0294: *** Error: Method execution failed, AE_NOT_EXIST > ACPI-0294: *** Error: Method execution failed, AE_NOT_EXIST > ACPI-0294: *** Error: Method execution failed, AE_NOT_EXIST >acpi_cmbat0: on acpi0 >acpi_lid0: on acpi0 >acpi_button0: on acpi0 >acpi_button1: on acpi0 >acpi_pcib0: port 0xcf8-0xcff,0x22 on acpi0 >pci0: on acpi_pcib0 >pcib1: at device 1.0 on pci0 >pci1: on pcib1 >pci1: at device 0.0 (no driver attached) >isab0: at device 7.0 on pci0 >isa0: on isab0 >atapci0: port 0x1050-0x105f at device 7.1 on pci0 >ata0: at 0x1f0 irq 14 on atapci0 >ata1: at 0x170 irq 15 on atapci0 >uhci0: port 0x1060-0x107f irq 5 at device 7.2 on pci0 >usb0: on uhci0 >usb0: USB revision 1.0 >uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 >uhub0: 2 ports with 2 removable, self powered >ugen0: Philips PCVC680K Vesta Pro PC Camera, rev 1.10/0.05, addr 2 >ums0: Logitech USB Mouse, rev 1.10/4.00, addr 3, iclass 3/1 >ums0: 3 buttons and Z dir. >pci0: at device 7.3 (no driver attached) >pcic0: irq 9 at device 8.0 on pci0 >pcic0: PCI Memory allocated: 0x44000000 >pcic0: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][CSC serial isa irq] >pccard0: on pcic0 >dc0: port 0x1400-0x14ff mem 0xf4000000-0xf4003fff irq 9 at device 9.0 on pci0 >dc0: Ethernet address: 00:50:8b:fa:2e:0b >miibus0: on dc0 >ukphy0: on miibus0 >ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto >pci0: at device 9.1 (no driver attached) >pci0: at device 10.0 (no driver attached) >acpi_ec0: port 0x66,0x62 on acpi0 >atkbdc0: port 0x64,0x60 irq 1 on acpi0 >atkbd0: flags 0x1 irq 1 on atkbdc0 >kbd0 at atkbd0 >psm0: irq 12 on atkbdc0 >psm0: model Generic PS/2 mouse, device ID 0 >sio0 port 0x3f8-0x3ff irq 4 on acpi0 >sio0: type 16550A >ppc0 port 0x378-0x37f irq 7 on acpi0 >ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode >plip0: on ppbus0 >lpt0: on ppbus0 >lpt0: Interrupt-driven port >ppi0: on ppbus0 >fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 on acpi0 >fdc0: FIFO enabled, 8 bytes threshold >fd0: <1440-KB 3.5" drive> on fdc0 drive 0 >ata-: ata0 already exists, skipping it >ata-: ata1 already exists, skipping it >atkbdc-: atkbdc0 already exists, skipping it >fdc-: fdc0 already exists, skipping it >pcic-: pcic0 already exists, skipping it >ppc-: ppc0 already exists, skipping it >sio-: sio0 already exists, skipping it >sc-: sc0 already exists, skipping it >vga-: vga0 already exists, skipping it >orm0: