Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp3641784rwe; Mon, 17 Apr 2023 00:56:50 -0700 (PDT) X-Google-Smtp-Source: AKy350YDh183wwH0uWafgGtEkV1EcLAjbuqWh1AEeC1n1ZuIDLmGqJX5YilVMkqKif4SClk63Y0d X-Received: by 2002:a17:902:da8d:b0:1a6:9cb3:5b30 with SMTP id j13-20020a170902da8d00b001a69cb35b30mr13817965plx.8.1681718210171; Mon, 17 Apr 2023 00:56:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681718210; cv=none; d=google.com; s=arc-20160816; b=LvmVklxHYAMcu699HsIXOOd5emDJ+ePB+2FNOJLh0fCtcZXREG3tDubYLRrY84YBPj NKoeXMDkiDr7Kmi0gChrsyNACHi8wskVCNmtQ56bSTpYfENhbBwTTfdbloyFspaAQqcp fPPYh7qHaz59lu6M+qcCGulomibvLmGB/EuraE1pA+euWXYXK9RAz1jI6d861a/1iuT6 aH/jyuRP0lZ6xK6DB/xxJTxd5iGnC6h/WBUtrpkE+MGo1MJ6+R9gji3OlxyCFeFYjy4y c/VqgChZWyu0bL8n4dY/8HF/vziyDvjQBE8jvl0AM8Loxa3wJsjf8UPYKskL3oKs8Ye1 5AVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature:dkim-signature; bh=3w8ZyhKSUCHQYqIG32tqYuuJnDNxaXTVQggusp/+GOc=; b=zYSumlXOCx/Qjfootqf9lUXuL2hWdJOBd1A9Rg29NJIBdaKB28ThlHKP/2H7ifhbQs mI7/RUbhZ5Cy8IrSCn3YUquTD2J0AzBkFF2UjuYKiPaSnUDQZwAiRNxb0+09+KXpBYDa fJYZn87gPZcEaHnHgCJwhcTIDAr9mXc/tBQajWDknMNEx9R+bqg8Yx9h+gpN2jXUzo4r el94vjIPcgP6z3ApqXWvT56u76JoiOcW7WSY5bbwpojttZn5lLbVIJ2y9YyDZhsl9zCz RyPK355UrbgjAd4Ohe38LXdCt65v77bGwjQRt6se14vqk0KkyWe8kSkpqunuAV8i2q+h k9Rw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=FSNHYP0e; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b=InpvAvPh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u12-20020a170902e5cc00b0019ab4f7b389si12029864plf.387.2023.04.17.00.56.37; Mon, 17 Apr 2023 00:56:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=FSNHYP0e; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b=InpvAvPh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231231AbjDQHjU (ORCPT + 99 others); Mon, 17 Apr 2023 03:39:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51774 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231214AbjDQHiy (ORCPT ); Mon, 17 Apr 2023 03:38:54 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D951B525C; Mon, 17 Apr 2023 00:38:07 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 53B2C21A3D; Mon, 17 Apr 2023 07:37:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1681717063; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3w8ZyhKSUCHQYqIG32tqYuuJnDNxaXTVQggusp/+GOc=; b=FSNHYP0e1N/1O21SR61SdobJRwQUe/xR/QsGmyhBrzM3xQ9/FqLwkxXkORxQN3bPPepVvC J1AJE4vC95OYz9443C58v7MQnRLUKXQ9f+JVSbGagwIxrFIZl66nsCBIWd0BpRiHdw+A/Z BggQEkAKglbqgPoTFhbrqFUgWHIAdzs= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1681717063; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3w8ZyhKSUCHQYqIG32tqYuuJnDNxaXTVQggusp/+GOc=; b=InpvAvPhIJbDcKWUuYK6TRVNdy9BaqeoAVEyr3zLiU0ZyYIRJ1A/+0gB/YuJNZValGrWhk +iHsclhRxLILHaAA== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id B5DC61390E; Mon, 17 Apr 2023 07:37:42 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 5jMCK0b3PGQjJQAAMHmgww (envelope-from ); Mon, 17 Apr 2023 07:37:42 +0000 Message-ID: Date: Mon, 17 Apr 2023 09:37:42 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCHv9 00/14] mm, x86/cc: Implement support for unaccepted memory Content-Language: en-US To: "Kirill A. Shutemov" Cc: "Kirill A. Shutemov" , Borislav Petkov , Andy Lutomirski , Sean Christopherson , Andrew Morton , Joerg Roedel , Ard Biesheuvel , Andi Kleen , Kuppuswamy Sathyanarayanan , David Rientjes , Tom Lendacky , Thomas Gleixner , Peter Zijlstra , Paolo Bonzini , Ingo Molnar , Dario Faggioli , Dave Hansen , Mike Rapoport , David Hildenbrand , Mel Gorman , marcelo.cerri@canonical.com, tim.gardner@canonical.com, khalid.elmously@canonical.com, philip.cox@canonical.com, aarcange@redhat.com, peterx@redhat.com, x86@kernel.org, linux-mm@kvack.org, linux-coco@lists.linux.dev, linux-efi@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230330114956.20342-1-kirill.shutemov@linux.intel.com> <2e0da486-71e4-cfeb-1578-68f1c8c43d33@suse.cz> <20230416191940.ex7ao43pmrjhru2p@box.shutemov.name> From: Vlastimil Babka In-Reply-To: <20230416191940.ex7ao43pmrjhru2p@box.shutemov.name> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/16/23 21:19, Kirill A. Shutemov wrote: > On Mon, Apr 03, 2023 at 04:42:54PM +0200, Vlastimil Babka wrote: >> Hmm yeah it can be noisy. Did you try to only count events that have >> fragmenting=1 and/or MIGRATE_MOVABLE as fallback_migratetype? As those are >> the really bad events. > > I finally got around to retest it. > > total fragmenting movable fragmenting&&movable > base-1: 957 583 353 0 > base-2: 2715 2343 359 0 > base-3: 2033 1669 353 0 > patched-1: 1325 929 371 0 > patched-2: 2844 2451 371 0 > patched-3: 1304 917 361 0 > > fragmenting=1 is defined as fallback_order of them. > > Patched kernel showed slightly elevated movable(fallback_migratetype=1) > cases. Is it critical? Maybe it's still not statistically significant anyway, also not as cricical as fragmenting&movable. > There's no allocations that is fragmenting and movable. Hm. It probably means your test wasn't stressfull enough to inflict a mix of rapid movable an unmovable allocations when memory is nearly full. But at that point the memory is all accepted, so we don't need such scenario. The important thing is that this kind of events didn't start happening during the gradual memory accepting phase.