kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: Subhashini Rao Beerisetty <subhashbeerisetty@gmail.com>
To: kernelnewbies <kernelnewbies@kernelnewbies.org>
Subject: how long wait_for_completion_interruptible_timeout() blocks
Date: Wed, 19 Jun 2019 22:46:16 +0530	[thread overview]
Message-ID: <CAPY=qRRV7WWW7Nory1cAm8PVeF2J6oou5GfsYeX7EjXSJw6JXw@mail.gmail.com> (raw)

Hi All,

I’ve two Linux systems, I tried to measure how long
wait_for_completion_interruptible_timeout() blocked after completion
is signaled by complete() call. I noticed two different results in
both systems.

In one system I noticed this duration in between 10 to 60 micro
seconds, where as in other system  it is in between 20 to 500 micro
seconds. I’d like to know what factors can affect this latency? Also,
is there any solution to reduce this latency?


Thanks,

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

             reply	other threads:[~2019-06-19 17:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-19 17:16 Subhashini Rao Beerisetty [this message]
2019-06-20  6:07 ` how long wait_for_completion_interruptible_timeout() blocks anish singh
2019-06-20  7:28   ` Subhashini Rao Beerisetty

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='CAPY=qRRV7WWW7Nory1cAm8PVeF2J6oou5GfsYeX7EjXSJw6JXw@mail.gmail.com' \
    --to=subhashbeerisetty@gmail.com \
    --cc=kernelnewbies@kernelnewbies.org \
    /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;
as well as URLs for NNTP newsgroup(s).