public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Cyril Hrubis <chrubis@suse.cz>
To: Vlastimil Babka <vbabka@suse.com>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH v1] swapping01.c: Add sleeps in the loop that dirties the memory
Date: Fri, 19 Apr 2024 10:36:19 +0200	[thread overview]
Message-ID: <ZiItA8Rm0hFzTSAd@yuki> (raw)
In-Reply-To: <cef1a016-f47c-4785-adea-c9eb9cd88f4c@suse.com>

Hi!
> Yeah I proposed you can try to reduce the sleep time/frequency to basically
> to lowest value (with some margin) that resolves the issue reliably in your
> testing. That 10ms per MB was just a possible starting point.

The usuall practice we do in LTP is to measure the minimal value
required for the test to pass and then double that for the final value.
But even with that I suppose that the value should be less than 10s.

Wei can you please try to measure how long are the shortest sleeps we
need in order to make the test pass?

-- 
Cyril Hrubis
chrubis@suse.cz

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

  reply	other threads:[~2024-04-19  8:37 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-18  7:14 [LTP] [PATCH v1] swapping01.c: Add sleeps in the loop that dirties the memory Wei Gao via ltp
2024-04-18 16:34 ` Cyril Hrubis
2024-04-19  8:11   ` Vlastimil Babka via ltp
2024-04-19  8:36     ` Cyril Hrubis [this message]
2024-04-22 12:39       ` Wei Gao via ltp
2024-04-22 12:40 ` [LTP] [PATCH v2] " Wei Gao via ltp
2024-05-09 12:51   ` Petr Vorel
2024-05-09 12:57   ` Petr Vorel
2024-05-09 13:04   ` Cyril Hrubis
2024-05-09 13:51     ` Petr Vorel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZiItA8Rm0hFzTSAd@yuki \
    --to=chrubis@suse.cz \
    --cc=ltp@lists.linux.it \
    --cc=vbabka@suse.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox