lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 28 Jul 2023 16:35:52 +0200
From:   David Hildenbrand <david@...hat.com>
To:     Ayush Jain <ayush.jain3@....com>, akpm@...ux-foundation.org,
        shuah@...nel.org, pasha.tatashin@...een.com,
        zhansayabagdaulet@...il.com, tyhicks@...ux.microsoft.com,
        raghavendra.kodsarathimmappa@....com
Cc:     linux-mm@...ck.org, linux-kselftest@...r.kernel.org,
        linux-kernel@...r.kernel.org, Narasimhan.V@....com,
        Santosh.Shukla@....com
Subject: Re: [PATCH 2/2] selftests: mm: add KSM_MERGE_TIME tests

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 <ayush.jain3@....com>
> ---
>   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 <david@...hat.com>

-- 
Cheers,

David / dhildenb

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ