From owner-freebsd-hackers@freebsd.org Sat May 9 10:51:05 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A1F562E499A for ; Sat, 9 May 2020 10:51:05 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49K3s4307Pz4bXJ for ; Sat, 9 May 2020 10:51:04 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.15.2/8.15.2) with ESMTPS id 049AouWW032569 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sat, 9 May 2020 13:51:00 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua 049AouWW032569 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id 049AouCS032568; Sat, 9 May 2020 13:50:56 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Sat, 9 May 2020 13:50:56 +0300 From: Konstantin Belousov To: Igor Pokrovsky Cc: freebsd-hackers@freebsd.org Subject: Re: Laundry size is always 0 Message-ID: <20200509105056.GF44519@kib.kiev.ua> References: <4E47812D-6314-4DA7-8426-ADE3FA6B9530@unixway.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4E47812D-6314-4DA7-8426-ADE3FA6B9530@unixway.org> X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on tom.home X-Rspamd-Queue-Id: 49K3s4307Pz4bXJ X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=gmail.com (policy=none); spf=softfail (mx1.freebsd.org: 2001:470:d5e7:1::1 is neither permitted nor denied by domain of kostikbel@gmail.com) smtp.mailfrom=kostikbel@gmail.com X-Spamd-Result: default: False [-2.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all:c]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; IP_SCORE(0.00)[ip: (-3.08), ipnet: 2001:470::/32(-4.07), asn: 6939(-3.13), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; FREEMAIL_ENVFROM(0.00)[gmail.com]; DMARC_POLICY_SOFTFAIL(0.10)[gmail.com : No valid SPF, No valid DKIM,none] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.32 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 May 2020 10:51:05 -0000 On Sat, May 09, 2020 at 08:43:08AM +0400, Igor Pokrovsky wrote: > Hello! > > I’ve got strange values for vm laundry size on -STABLE. > And these values do not change even under load. > > vm.domain.0.stats.laundry: 0 > vm.stats.vm.v_laundry_count: 0 > > I cannot complete buildworld on this box, compiler throughs segmentation core at some random points. > Can it be connected to empty laundry? > > I tested RAM and hard disk for errors - none found. > Has anyone seen this? Relevant boot messages follows. > > ---<>--- > FreeBSD 12.1-STABLE r360207 GENERIC amd64 > FreeBSD clang version 9.0.1 (git@github.com:llvm/llvm-project.git c1a0a213378a458fbea1a5c77b315c7dce08fd05) (based on LLVM 9.0.1) > VT(vga): resolution 640x480 > CPU: AMD Athlon(tm) 64 Processor 3000+ (1890.05-MHz K8-class CPU) > Origin="AuthenticAMD" Id=0x10ff0 Family=0xf Model=0x1f Stepping=0 > Features=0x78bfbff > AMD Features=0xe2500800 > AMD Features2=0x1 > real memory = 2147155968 (2047 MB) > avail memory = 2039795712 (1945 MB) This machine is quite interesting, it is the first generation of long mode capable CPUs without cmpxchg16b support. For me it is interesting that we boot at all, because I was not able to test some important implementation of pmap features on such CPU. Can you provide: - full verbose dmesg - output of "sysctl vm". I am mostly interested in the value of vm.disable_swapspace_pageouts. - output of ps -axlHww Do you ever have some processes hang on the machine, as opposed to faulting with SIGSEGV/SIGBUS ?