Openembedded Core Discussions
 help / color / mirror / Atom feed
From: "Yi Fan Yu" <yifan.yu@windriver.com>
To: Richard Purdie <richard.purdie@linuxfoundation.org>,
	Sakib Sajal <sakib.sajal@windriver.com>,
	Randy MacLeod <randy.macleod@windriver.com>,
	openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] [PATCH] scripts/oe-timeout-dd-test.sh: add script
Date: Thu, 11 Mar 2021 15:53:33 -0500	[thread overview]
Message-ID: <983c6af4-6412-b958-171a-01f65fe64929@windriver.com> (raw)
In-Reply-To: <78d7c30d3d642353fbd52202beb49e1dd74fb7f2.camel@linuxfoundation.org>

Randy & Sakib & I took a look at using `flock` instead of `dd`

Initial results to see if it works:
the results are the following when tested with `stress --timeout 20'

stress: info: [44041] dispatching hogs: 800 cpu, 0 io, 800 vm, 800 hdd:
0.74 seconds to flock my home directory
at this load, opening a shell takes around 3-4 seconds


stress: info: [1424] dispatching hogs: 1000 cpu, 0 io, 1000 vm, 1000 hdd
20 seconds: the stress test times out before flock could return
at this load, opening a shell takes forever


I think it is a good indicator of stress if flock takes more than 0.5s 
to complete


yifan

      reply	other threads:[~2021-03-11 20:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-07 20:58 [PATCH] scripts/oe-timeout-dd-test.sh: add script Sakib Sajal
2021-03-08 14:50 ` [OE-core] " Randy MacLeod
2021-03-08 17:33   ` Richard Purdie
2021-03-08 20:46     ` Sakib Sajal
2021-03-08 22:10       ` Richard Purdie
2021-03-11 20:53         ` Yi Fan Yu [this message]

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=983c6af4-6412-b958-171a-01f65fe64929@windriver.com \
    --to=yifan.yu@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=randy.macleod@windriver.com \
    --cc=richard.purdie@linuxfoundation.org \
    --cc=sakib.sajal@windriver.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