From: keith.busch@linux.intel.com (Keith Busch)
Subject: CPU frequency variations
Date: Mon, 10 Sep 2018 13:00:40 -0600 [thread overview]
Message-ID: <20180910190040.GA7867@localhost.localdomain> (raw)
In-Reply-To: <CA+1E3rLFED9UqDM2GmFMfr935KwjgpLvNauwpnHLz0nwnVrkTw@mail.gmail.com>
On Tue, Sep 11, 2018@12:02:25AM +0530, Joshi wrote:
> While doing some I/O polling related experiments/optimization, I felt
> the need to eliminate fluctuations (in I/O performance) caused by CPU
> frequency variations.
>
> During benchmarks (and I mean storage ones), in order to keep running
> CPU at nearly constant high frequency, I tried
> things such as - performance governor, bios-based performance
> settings, explicit setting of sysfs cpu scaling max counters, kernel
> parameters to disable cpufreq etc.
> Some of above helped; On machines with less number of CPUs. While
> nothing seems to help on relatively heavyweight machines.
> Such as on this- Intel Xeon E5-2690 v3 @2.6 GHz, 2 NUMA nodes, 24 cpus each.
>
> Often storage-benchmark seem to suffer because there are more number
> of CPUs available; Binding it to single/few CPUs help in seeing better
> numbers.
>
> May I know how you deal with CPU frequency variations during benchmarks.
Just to get all the CPU's to use the highest performing scaling
governor:
echo performance | tee /sys/devices/system/cpu/cpufreq/policy*/scaling_governor
But it sounds like you've alraedy done that.
next prev parent reply other threads:[~2018-09-10 19:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-10 18:32 CPU frequency variations Joshi
2018-09-10 19:00 ` Keith Busch [this message]
2018-09-11 6:55 ` Martin Wilck
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=20180910190040.GA7867@localhost.localdomain \
--to=keith.busch@linux.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.