From: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
To: igt-dev@lists.freedesktop.org,
Lionel G Landwerlin <lionel.g.landwerlin@intel.com>,
Ashutosh Dixit <ashutosh.dixit@intel.com>
Subject: [igt-dev] [PATCH i-g-t 1/3] tests/perf: Use poll oa period minimum of 5 ms
Date: Mon, 13 Apr 2020 08:55:31 -0700 [thread overview]
Message-ID: <20200413155533.11914-2-umesh.nerlige.ramappa@intel.com> (raw)
In-Reply-To: <20200413155533.11914-1-umesh.nerlige.ramappa@intel.com>
The cpu overhead measured in these tests is based on heurisitcs
determined for the default 5 ms hrtimer in the driver over a span of
several platforms. Limit tests to use a poll oa period >= 5ms.
Signed-off-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
---
tests/perf.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/perf.c b/tests/perf.c
index 152d48a7..ca12090a 100644
--- a/tests/perf.c
+++ b/tests/perf.c
@@ -4972,7 +4972,7 @@ igt_main
40 * 1000 * 1000 /* default 40ms hrtimer */);
test_blocking(500 * 1000 /* 500us oa period */,
true /* set_kernel_hrtimer */,
- 2 * 1000 * 1000 /* default 2ms hrtimer */);
+ 5 * 1000 * 1000 /* default 2ms hrtimer */);
}
igt_describe("Test polled read with default hrtimer frequency");
@@ -4991,7 +4991,7 @@ igt_main
40 * 1000 * 1000 /* default 40ms hrtimer */);
test_polling(500 * 1000 /* 500us oa period */,
true /* set_kernel_hrtimer */,
- 2 * 1000 * 1000 /* default 2ms hrtimer */);
+ 5 * 1000 * 1000 /* default 2ms hrtimer */);
}
igt_describe("Test polled read with buffer size smaller than available data");
--
2.20.1
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
next prev parent reply other threads:[~2020-04-13 15:55 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-13 15:55 [igt-dev] [PATCH i-g-t 0/3] Test interrupts in perf OA Umesh Nerlige Ramappa
2020-04-13 15:55 ` Umesh Nerlige Ramappa [this message]
2020-04-13 15:55 ` [igt-dev] [PATCH i-g-t 2/3] tests/perf: new tests for OA interrupt Umesh Nerlige Ramappa
2020-04-13 15:55 ` [igt-dev] [PATCH i-g-t 3/3] tools: Enable interrupt support in i915 perf recorder Umesh Nerlige Ramappa
2020-04-14 12:33 ` [igt-dev] ✓ Fi.CI.BAT: success for Test interrupts in perf OA Patchwork
2020-04-15 8:56 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
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=20200413155533.11914-2-umesh.nerlige.ramappa@intel.com \
--to=umesh.nerlige.ramappa@intel.com \
--cc=ashutosh.dixit@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=lionel.g.landwerlin@intel.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