All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] numastats updates
@ 2014-04-03 10:45 ` Stanislav Kholmanskikh
  0 siblings, 0 replies; 20+ 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.

------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

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

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

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

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.