Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1649691pxb; Fri, 20 Aug 2021 10:24:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxsSUd2AAAtClI3xPAa6NCYkw2JWgdcuqcShP1i7dl0k0hQt36RwEvbpKK9hLrkDczewh9p X-Received: by 2002:aa7:c890:: with SMTP id p16mr23045034eds.280.1629480284058; Fri, 20 Aug 2021 10:24:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629480284; cv=none; d=google.com; s=arc-20160816; b=MHDwgBZVufxr76H0mXSnGe4PEksJe3AvMz/kW2CkqVLWi/ecH95MCp25brqGjHFevF ctLfEAvXukIXV2Kd0prYwqRMep6t7Lrdi/3Ct4wD/HtJ5EZQU6fJ9rDls01VUPGSRnq7 vfMQtreaNF6SbAz855ggaVcVWbO1sQYPYO42b+RZGejhLsbfz68P7YKzP1nK7wwnsMmf OQzNNhjT9X8w8chKgA8pDcRgQrd2w0Ce0+163OuFWnh4Tbptf9Mtlr1skJddkrlznsh6 rFhjax/2NyjYDzuaOEVSLdxFA1+u3BjLDnAXeY0B5U7TUaaHapgd2NlheBVCtTPNE+11 JZtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=VG5fvfC7Y3KRpzRAEA18KK6WLNMl8L5Q75OcNDfJ9CE=; b=dd1iOo8c0UBp36NdcspLqAGrGmr5TW+nxepvySsvx/VmPqfJ5UIWnjYOvEZMcWjfKL J9e5v8lvdLbiPibp40sGmXF2ApgVfZMixFIK0C9gMeX/IGlM4WUGKxFUdQEEpl9BCSgO BXMguiaM7EXe8oCMOoan3zhTYprx420JDGGJI4Zmv+SGGzoLYK2NN5fb/2/iaP3FH6Sa 31OyUcEQamaOq9FiEv0uZn8hRAOGnFMn4Wa8MGiBGGxn8mMRllQn/35kgisprskpisUY spdBh3Mg8Ty68hd3Y/mx15urfwj4bnz99qACHNcuqdzcxnPhcAP6VcbpNfGO182Qphqn PONg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@soleen.com header.s=google header.b="ikO/PAfJ"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c12si8049496eja.706.2021.08.20.10.24.15; Fri, 20 Aug 2021 10:24:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@soleen.com header.s=google header.b="ikO/PAfJ"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232738AbhHTRUj (ORCPT + 99 others); Fri, 20 Aug 2021 13:20:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47008 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232598AbhHTRUj (ORCPT ); Fri, 20 Aug 2021 13:20:39 -0400 Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A1C42C061575 for ; Fri, 20 Aug 2021 10:20:00 -0700 (PDT) Received: by mail-ej1-x634.google.com with SMTP id bq25so21529096ejb.11 for ; Fri, 20 Aug 2021 10:20:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=soleen.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=VG5fvfC7Y3KRpzRAEA18KK6WLNMl8L5Q75OcNDfJ9CE=; b=ikO/PAfJFQUJKrFFQ/NFHitlqiVnSUoUDXWSXtMkcNNf3CTyeoUUBonwMIloJflLz+ huCrEfJaHgg3yivM5K/LSRVwBXVVx8Cqt5AscZBDAgGk4vznRFQKdUYPARAZm0U6CIzp SAe2uTox4gKHqT+v9zOqVvPi1dVz1FzM89vkyWsaTpW0nfihPX1We9/zCONW6DGd14iu wzeMLiPOy6tH2FaUAFOcbMTg/3hdjjIdNB5IDiB+ptLssyR1OgWBCcm1laO5aK7wKbHy ftSiDq5k4ONSQlNKbgwXWoKTMviBV+PrjJsNVKoHhjGkil6MpnoXMiN17NtXMjOotIQ8 870A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=VG5fvfC7Y3KRpzRAEA18KK6WLNMl8L5Q75OcNDfJ9CE=; b=NKe4NMqGdWIDrVizc/1Pu+7NrSPyjjtUro9IILsS4195uLMqSliQCk2z0jJ48HqtoO LSL0/fbnq//7ZZFw9TNihHGbY2n8A6MT6xAxzdOPp4d5LW/CWy4Jr6AQWcMwGahdfsu+ sFI01/ULpw1EsyJHm9qGqVy+J9uW3oJoO9ExZALyH4vrHJtFuaBn+h3Mx7JhcXw88iB4 yFLYQsrYYa7wS+NTLB1ueQp8jaNH4d8SXFXX+hAmWqzNXLVY7g7GmcmGfCXLg5vNQ6i2 99ga/69ZInrf5FmnpQ5yrDo1HAPlTgnG3c3xyCepYTDW8be972UOLrk9AE3rrUQROEiX Nt/A== X-Gm-Message-State: AOAM532hmiIxBmFhZlwqw5eyu8HwqcKldXtGXzZaV9EtJqxEc39LHfcz HEWct2hYK0XH9yr2QRU3zSL2GrX3pKJEYD3OrR23aQ== X-Received: by 2002:a17:906:d20a:: with SMTP id w10mr23610197ejz.426.1629479999204; Fri, 20 Aug 2021 10:19:59 -0700 (PDT) MIME-Version: 1.0 References: <318b946ac80cc9205c89d0962048378f7ce0705b.1629386192.git.zhansayabagdaulet@gmail.com> <20210819162953.GN5469@sequoia> In-Reply-To: <20210819162953.GN5469@sequoia> From: Pavel Tatashin Date: Fri, 20 Aug 2021 13:19:23 -0400 Message-ID: Subject: Re: [PATCH v3 1/2] selftests: vm: add KSM merging time test To: Tyler Hicks Cc: Zhansaya Bagdauletkyzy , Andrew Morton , linux-mm , linux-kselftest@vger.kernel.org, LKML Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 19, 2021 at 12:29 PM Tyler Hicks wrote: > > On 2021-08-19 21:33:41, Zhansaya Bagdauletkyzy wrote: > > Add ksm_merge_time() function to determine speed and time needed for > > merging. The total spent time is shown in seconds while speed is > > in MiB/s. User must specify the size of duplicated memory area (in MiB) > > before running the test. > > > > The test is run as follows: ./ksm_tests -P -s 100 > > The output: > > Total size: 100 MiB > > Total time: 0.201106786 s > > Average speed: 497.248 MiB/s > > > > Signed-off-by: Zhansaya Bagdauletkyzy > > --- > > v2 -> v3: > > - no changes > > There were no changes to this patch since v2 so my previous review still > stands: > > Reviewed-by: Tyler Hicks Thank you for addressing my comments in v2. Reviewed-by: Pavel Tatashin