Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp1462338rwb; Fri, 28 Jul 2023 09:42:18 -0700 (PDT) X-Google-Smtp-Source: APBJJlEFGKG0xDzZzYV1+t0lR80eTwzZ0BuC8DQK/RPFVk0B/OUpA0cDAW6IqiztjqYqXRrVw16R X-Received: by 2002:a05:6a00:1947:b0:680:6d16:8f8c with SMTP id s7-20020a056a00194700b006806d168f8cmr2122317pfk.32.1690562537719; Fri, 28 Jul 2023 09:42:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690562537; cv=none; d=google.com; s=arc-20160816; b=tVdZ47qRRfMX8jdFSIyc+47LMfftGbAcQxIVsMaaU/HQb2zGXC6XRQPugnrgGJsglx m8qc2LrCmefBF0UeOttFvEAyFqYyiGOHFCiRBm/cN3WrfvmOmngXihWViAMOL8mMAqtX gP9rnsSFdyJpcqjmOovwljtNiVvHXbzCFuYUdxkiaoviyYfdJgod9cSZutgam2N5UrMt f1NwIH28/9TLCjcl4ekLv3ZYi5x5fu1JVSLUm0MtWfdFVOTQry7+36/7GBR3RkqcI6DW EJmX8Fe44orWOhcM9MUHCJD/wUvs/FqHYaeXxwE90zOK/lw5+2ccJ+5rfIje2SPuJEJc GrhQ== 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 :organization:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=z3mxkjGtcV8TZJK530NSU7fYEop+9VqNToh3JhHeIwg=; fh=2g54W953bLt6TJKjqJfkacgmtu4/kQ9eMrAq5F84Xdc=; b=NakJA9/9RiegGFnp2dKX6dL6F7xsH/v1rz0z51PP5+4N5vSIOzwubJcggzVrAAfot5 vsK1PIstoSJ9oTYCaDWasUc1rvqyNdPLH4twpVa+J/5SrAPYhSjgo34wmtg8LRBhBPrK oG9bbJkIHOcQmfbR02efhECnUB4GfsTDCGA/OVylp0m8lLTd1u2tIu/q1MudxxaNySvF +Oueyvu15O9dyW6PZ1ZU97Q8/7rFv2kRZYcbl7GAzfLQoqw8lBKLR4BeDA/uaqQbmamO g455DRA4SvPk9G6nu1HoplcjGie5wQ/kXY74Mat9y+xe7uxLvHWJLmGf8vBveybJ0pPF UT0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Jo5LejLH; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l9-20020a056a0016c900b006829f1e5164si3448043pfc.118.2023.07.28.09.42.06; Fri, 28 Jul 2023 09:42:17 -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=@redhat.com header.s=mimecast20190719 header.b=Jo5LejLH; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237126AbjG1Ogq (ORCPT + 99 others); Fri, 28 Jul 2023 10:36:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237125AbjG1Ogn (ORCPT ); Fri, 28 Jul 2023 10:36:43 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E657D3AA9 for ; Fri, 28 Jul 2023 07:35:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1690554956; h=from:from:reply-to:subject:subject: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=z3mxkjGtcV8TZJK530NSU7fYEop+9VqNToh3JhHeIwg=; b=Jo5LejLHO/2BHa8v97Vk1zWB6G6dgFlDA52as1i6x/e9ADs86re4ASzwYI1IbGZ5KMtmhC kzM5kOzRTr05oPEltSE/suWch94L4mDMDFY769W85zhLhyIuNidiBMgilGgJJjKy6lS+O3 N9Ro0sKEGWMDmuAPXQ2nu5OYV1S+/W8= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-587-jufYutTSNbGPuneOyqhr8g-1; Fri, 28 Jul 2023 10:35:55 -0400 X-MC-Unique: jufYutTSNbGPuneOyqhr8g-1 Received: by mail-wr1-f69.google.com with SMTP id ffacd0b85a97d-315a03cae87so1650032f8f.0 for ; Fri, 28 Jul 2023 07:35:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690554954; x=1691159754; h=content-transfer-encoding:in-reply-to:organization:from:references :cc:to:content-language:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=z3mxkjGtcV8TZJK530NSU7fYEop+9VqNToh3JhHeIwg=; b=ErjZaXOwPzJKwYCGiJb/Xq/W+rPup48k0bTtXdkw3P9THQpTwQD4AsfMl2d66meOju mMeiAfWUC+f4bC3vi0evyso31VzCvEEF+0GM7g2bA0MYdLAcTHR4wBtLKNrDVHbJd7TA O9InHEf4mICkldHfDn/90ZX1A2TvRcwTwmroQvIGgSfI8/pgds+Tbxp9yfi2X3nIA57X RYkCeYKj457wo+nB3ZOkHgbes43MY6eFz96dABCv7UwmA75NhEsol3CbX9KpYwLUYf63 SBI0N1HpupYuXILsxOPoVlWieY8585Jwlo+4FmCEwh97vNqFB8es6tbaSy2WpCdTyQhD /PzQ== X-Gm-Message-State: ABy/qLYgogAWjaFLQhxcjQq5WM7+3Z/M+wnMVJ019rpnHDWgDhj6F8RB wvrJTAtdJPvM64tGWE6+2fe/l+bvJAs0qPa5G4I3TwBPspzgB3zlLdxEw0LG4eJ1A93Bei1T4Oi /PENFBoEIhgiosUD4I9D0BSXW X-Received: by 2002:a7b:cd0e:0:b0:3fd:2f7d:425f with SMTP id f14-20020a7bcd0e000000b003fd2f7d425fmr2289590wmj.18.1690554954180; Fri, 28 Jul 2023 07:35:54 -0700 (PDT) X-Received: by 2002:a7b:cd0e:0:b0:3fd:2f7d:425f with SMTP id f14-20020a7bcd0e000000b003fd2f7d425fmr2289548wmj.18.1690554953644; Fri, 28 Jul 2023 07:35:53 -0700 (PDT) Received: from ?IPV6:2003:cb:c706:6b00:bf49:f14b:380d:f871? (p200300cbc7066b00bf49f14b380df871.dip0.t-ipconnect.de. [2003:cb:c706:6b00:bf49:f14b:380d:f871]) by smtp.gmail.com with ESMTPSA id w17-20020a05600c015100b003fbfef555d2sm7066391wmm.23.2023.07.28.07.35.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 28 Jul 2023 07:35:53 -0700 (PDT) Message-ID: Date: Fri, 28 Jul 2023 16:35:52 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH 2/2] selftests: mm: add KSM_MERGE_TIME tests Content-Language: en-US To: Ayush Jain , akpm@linux-foundation.org, shuah@kernel.org, pasha.tatashin@soleen.com, zhansayabagdaulet@gmail.com, tyhicks@linux.microsoft.com, raghavendra.kodsarathimmappa@amd.com Cc: linux-mm@kvack.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Narasimhan.V@amd.com, Santosh.Shukla@amd.com References: <20230728060109.4403-1-ayush.jain3@amd.com> <20230728060109.4403-2-ayush.jain3@amd.com> From: David Hildenbrand Organization: Red Hat In-Reply-To: <20230728060109.4403-2-ayush.jain3@amd.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_NONE,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 28.07.23 08:01, Ayush Jain wrote: > add KSM_MERGE_TIME and KSM_MERGE_TIME_HUGE_PAGES tests with > size of 100. > > ./run_vmtests.sh -t ksm > ----------------------------- > running ./ksm_tests -H -s 100 > ----------------------------- > Number of normal pages: 0 > Number of huge pages: 50 > Total size: 100 MiB > Total time: 0.399844662 s > Average speed: 250.097 MiB/s > [PASS] > ----------------------------- > running ./ksm_tests -P -s 100 > ----------------------------- > Total size: 100 MiB > Total time: 0.451931496 s > Average speed: 221.272 MiB/s > [PASS] > > Signed-off-by: Ayush Jain > --- > tools/testing/selftests/mm/run_vmtests.sh | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/tools/testing/selftests/mm/run_vmtests.sh b/tools/testing/selftests/mm/run_vmtests.sh > index 3f26f6e15b2a..ca3738e042c2 100755 > --- a/tools/testing/selftests/mm/run_vmtests.sh > +++ b/tools/testing/selftests/mm/run_vmtests.sh > @@ -262,6 +262,10 @@ CATEGORY="madv_populate" run_test ./madv_populate > > CATEGORY="memfd_secret" run_test ./memfd_secret > > +# KSM KSM_MERGE_TIME_HUGE_PAGES test with size of 100 > +CATEGORY="ksm" run_test ./ksm_tests -H -s 100 > +# KSM KSM_MERGE_TIME test with size of 100 > +CATEGORY="ksm" run_test ./ksm_tests -P -s 100 > # KSM MADV_MERGEABLE test with 10 identical pages > CATEGORY="ksm" run_test ./ksm_tests -M -p 10 > # KSM unmerge test Reviewed-by: David Hildenbrand -- Cheers, David / dhildenb