linux-numa.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* numastats updates
@ 2014-04-03 10:45 Stanislav Kholmanskikh
  2014-04-07  1:39 ` Andi Kleen
  0 siblings, 1 reply; 10+ messages in thread
From: Stanislav Kholmanskikh @ 2014-04-03 10:45 UTC (permalink / raw)
  To: linux-numa; +Cc: ltp-list

Hello!

In LTP we have a test - numa01.sh 
(https://github.com/linux-test-project/ltp/blob/master/testcases/kernel/numa/numa01.sh)

In general, this script does something like:
   * numastat > /tmp/before
   * starts a binary with the specified numa memory policy using numactl 
(or a like):
     numactl --interleave=all get_some_memory_with_malloc_and_write_it
   * `sleep` for few seconds
   * numastat > /tmp/after
   * compares /tmp/before and /tmp/after to check that the numa policy
was applied the right way

But the problem is that on a host with many NUMA nodes (8) the process
of updating that numastats statistics takes some time. Even 10 seconds
may be not enough. Therefore the test fails.

Is there a direct or indirect way to force the kernel to update the NUMA 
statistics?

Thank you.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-04-11  2:12 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-03 10:45 numastats updates Stanislav Kholmanskikh
2014-04-07  1:39 ` Andi Kleen
2014-04-07 15:47   ` Christoph Lameter
2014-04-08 16:49     ` Stanislav Kholmanskikh
2014-04-08 16:57       ` Christoph Lameter
2014-04-08 16:58       ` Stanislav Kholmanskikh
2014-04-08 18:03         ` Christoph Lameter
2014-04-10  5:44           ` Stanislav Kholmanskikh
2014-04-11  1:48             ` Christoph Lameter
2014-04-11  2:12               ` Christoph Lameter

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).