NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-amd64/54988 (system freezes shortly after physical memory is exhausted.)



The following reply was made to PR port-amd64/54988; it has been noted by GNATS.

From: mlh%goathill.org@localhost (MLH)
To: gnats-bugs%netbsd.org@localhost
Cc: ad%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, 
 tsutsui%NetBSD.org@localhost, mlh%goathill.org@localhost
Subject: Re: port-amd64/54988 (system freezes shortly after physical memory is
 exhausted.)
Date: Sat, 14 Aug 2021 11:39:22 -0400 (EDT)

 tsutsui%NetBSD.org@localhost wrote:
 > Synopsis: system freezes shortly after physical memory is exhausted.
 > 
 > State-Changed-From-To: open->feedback
 > State-Changed-By: tsutsui%NetBSD.org@localhost
 > State-Changed-When: Thu, 12 Aug 2021 23:12:46 +0000
 > State-Changed-Why:
 > Maybe fixed by src/sys/external/bsd/drm2/linux/linux_reservation.c
 > rev 1.12, 1.13, and 1.14, and have been pulled up to netbsd-9.
 >  https://mail-index.netbsd.org/source-changes/2021/06/27/msg130457.html
 >  https://mail-index.netbsd.org/source-changes/2021/08/02/msg131262.html
 >  https://mail-index.netbsd.org/source-changes/2021/08/02/msg131266.html
 > Could you confirm?
 
 This appears to have fixed the issue. It was still a problem with
 the last kernel I ran at the end of May 2021. The machine would
 exhaust 4GB of physical memory within a maximum of three days, even
 if just sitting and often within just a few hours when under load.
 
 I ran three HD videos looping all night long with many applications
 that are graphics intensive along with rebuilding pkgsrc while
 doing an rsync backup to another drive. It never exceeded about
 70% of physical memory and released all but about 34% when all was
 shut down. The only slowdown with graphics was when all remaining
 phymem was used as disc cache and some had to be recovered before
 gfx ops could resume at full speed.
 
 This is actually better behavior and performance than I have ever
 seen on this box which is about 9 yrs old...
 
 Thank you!
 
 [     1.000000] NetBSD 9.99.88 (HDMIAUDIO) #0: Fri Aug 13 13:46:34 EDT 2021
 [     1.000000]         ...
 [     1.000000] total memory = 4079 MB
 [     1.000000] avail memory = 3925 MB
 [     1.000000] timecounter: Timecounters tick every 10.000 msec
 [     1.000000] Kernelized RAIDframe activated
 [     1.000000] timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
 [     1.000003] mainbus0 (root)
 [     1.000003] ACPI: RSDP 0x00000000000F6EA0 000014 (v00 GBT   )
 [     1.000003] ACPI: RSDT 0x00000000DF7D3040 00004C (v01 GBT    GBTUACPI 42302E31 GBTU 01010101)
 [     1.000003] ACPI: FACP 0x00000000DF7D3100 000074 (v01 GBT    GBTUACPI 42302E31 GBTU 01010101)
 [     1.000003] ACPI: DSDT 0x00000000DF7D31C0 0049F2 (v01 GBT    GBTUACPI 00001000 MSFT 04000000)
 [     1.000003] ACPI: FACS 0x00000000DF7D0000 000040
 [     1.000003] ACPI: MSDM 0x00000000DF7D7D00 000055 (v03 GBT    GBTUACPI 42302E31 GBTU 01010101)
 [     1.000003] ACPI: HPET 0x00000000DF7D7DC0 000038 (v01 GBT    GBTUACPI 42302E31 GBTU 00000098)
 [     1.000003] ACPI: MCFG 0x00000000DF7D7E40 00003C (v01 GBT    GBTUACPI 42302E31 GBTU 01010101)
 [     1.000003] ACPI: ASPT 0x00000000DF7D7F00 000034 (v07 GBT    PerfTune 312E3042 UTBG 01010101)
 [     1.000003] ACPI: SSPT 0x00000000DF7D7F40 002270 (v01 GBT    SsptHead 312E3042 UTBG 01010101)
 [     1.000003] ACPI: EUDS 0x00000000DF7DA1B0 0000C0 (v01 GBT             00000000      00000000)
 [     1.000003] ACPI: TAMG 0x00000000DF7DA270 000382 (v01 GBT    GBT   B0 5455312E BG?? 45240101)
 [     1.000003] ACPI: APIC 0x00000000DF7D7C00 0000BC (v01 GBT    GBTUACPI 42302E31 GBTU 01010101)
 [     1.000003] ACPI: SSDT 0x00000000DF7DA600 001EC8 (v01 INTEL  PPM RCM  80000001 INTL 20061109)
 [     1.000003] ACPI: 2 ACPI AML tables successfully acquired and loaded
 [     1.000003] ioapic0 at mainbus0 apid 2: pa 0xfec00000, version 0x20, 24 pins
 [     1.000003] cpu0 at mainbus0 apid 0
 [     1.000003] cpu0: Use lfence to serialize rdtsc
 [     1.000003] cpu0: Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz, id 0x206a7
 [     1.000003] cpu0: node 0, package 0, core 0, smt 0
 [     1.000003] cpu1 at mainbus0 apid 2
 [     1.000003] cpu1: Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz, id 0x206a7
 [     1.000003] cpu1: node 0, package 0, core 1, smt 0
 [     1.000003] cpu2 at mainbus0 apid 1
 [     1.000003] cpu2: Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz, id 0x206a7
 [     1.000003] cpu2: node 0, package 0, core 0, smt 1
 [     1.000003] cpu3 at mainbus0 apid 3
 [     1.000003] cpu3: Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz, id 0x206a7
 [     1.000003] cpu3: node 0, package 0, core 1, smt 1
 [     1.000003] acpi0 at mainbus0: Intel ACPICA 20210604
 [     1.000003] acpi0: X/RSDT: OemId <GBT   ,GBTUACPI,42302e31>, AslId <GBTU,01010101>
 [     1.000003] acpi0: MCFG: segment 0, bus 0-63, address 0x00000000f4000000
 [     1.000003] acpi0: SCI interrupting at int 9
 [     1.000003] acpi0: fixed power button present
 [     1.000003] timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
 [     1.025573] hpet0 at acpi0: high precision event timer (mem 0xfed00000-0xfed00400)
 [     1.025573] timecounter: Timecounter "hpet0" frequency 14318180 Hz quality 2000
 [     1.025834] acpibut0 at acpi0 (PWRB, PNP0C0C): ACPI Power Button
 [     1.025834] attimer1 at acpi0 (TMR, PNP0100): io 0x40-0x43
 [     1.025834] pcppi1 at acpi0 (SPKR, PNP0800): io 0x61
 [     1.025834] spkr0 at pcppi1: PC Speaker
 [     1.025834] wsbell at spkr0 not configured
 [     1.025834] midi0 at pcppi1: PC speaker
 [     1.025834] sysbeep0 at pcppi1
 [     1.025834] UAR1 (PNP0501) at acpi0 not configured
 [     1.025834] LPT1 (PNP0400) at acpi0 not configured
 [     1.025834] MEM (PNP0C01) at acpi0 not configured
 [     1.025834] FWH (INT0800) at acpi0 not configured
 [     1.025834] ACPI: Enabled 1 GPEs in block 00 to 3F
 [     1.025834] attimer1: attached to pcppi1
 [     1.025834] pci0 at mainbus0 bus 0: configuration mode 1
 [     1.025834] pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
 [     1.025834] pchb0 at pci0 dev 0 function 0: Intel Sandy Bridge (desktop) Host Bridge (rev. 0x09)
 [     1.025834] ppb0 at pci0 dev 1 function 0: Intel Sandy Bridge (desktop) PCIe Root port (rev. 0x09)
 [     1.025834] ppb0: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x16 @ 5.0GT/s
 [     1.025834] pci1 at ppb0 bus 1
 [     1.025834] pci1: i/o space, memory space enabled, rd/line, wr/inv ok
 [     1.025834] radeon0 at pci1 dev 0 function 0: ATI Technologies Radeon HD 6450 (rev. 0x00)
 [     1.025834] hdaudio0 at pci1 dev 0 function 1: HD Audio Controller
 [     1.025834] hdaudio0: interrupting at msi0 vec 0
 [     1.025834] hdaudio0: HDA ver. 1.0, OSS 1, ISS 0, BSS 0, SDO 1, 64-bit
 [     1.025834] hdafg0 at hdaudio0: vendor 1002 product aa01
 [     1.025834] hdafg0: HDMI00 2ch: Digital Out [Jack]
 [     1.025834] hdafg0: 2ch/0ch 32000Hz 44100Hz 48000Hz PCM16 AC3
 ...
 


Home | Main Index | Thread Index | Old Index