All of lore.kernel.org
 help / color / mirror / Atom feed
From: joshiiitr@gmail.com (Joshi)
Subject: CPU frequency variations
Date: Tue, 11 Sep 2018 00:02:25 +0530	[thread overview]
Message-ID: <CA+1E3rLFED9UqDM2GmFMfr935KwjgpLvNauwpnHLz0nwnVrkTw@mail.gmail.com> (raw)

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.

Thanks,
-- 
Joshi

             reply	other threads:[~2018-09-10 18:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-10 18:32 Joshi [this message]
2018-09-10 19:00 ` CPU frequency variations Keith Busch
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=CA+1E3rLFED9UqDM2GmFMfr935KwjgpLvNauwpnHLz0nwnVrkTw@mail.gmail.com \
    --to=joshiiitr@gmail.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.