Add latency on loads and stores operations on emulated persistent memory

31 views
Skip to first unread message

Iakovos Kolokasis

unread,
Nov 16, 2018, 4:52:36 AM11/16/18
to pmem
Hello to all,
    I follow the Intel's article about how to emulate persistent memory using DRAM (https://software.intel.com/en-us/articles/how-to-emulate-persistent-memory-on-an-intel-architecture-server). I have done it succesfully, and now I want to add some latencies on load and store operations. 

Is there any way to do that ?

Thanks for your reply,
--Iacovos

Andy Rudoff

unread,
Nov 19, 2018, 12:00:19 PM11/19/18
to pmem
Hi Iacovos,

I don't have any great ideas on this.  What some people do is use a multi-socket system and tie all their threads to one socket and use local memory as DRAM and remote memory as emulated persistent memory.  This allows a "representative" performance difference that can be used to help you determine how sensitive some algorithms are to changes in memory latency.  But I don't have a way to add in specific load and store latencies.

-andy

Iakovos Kolokasis

unread,
Nov 20, 2018, 2:07:52 AM11/20/18
to pmem
Hello Andy,
    thanks for your reply. This idea sounds good and I will try it . Also I am wondering how to emulate the throughput. I found a way to write something in DRAM and after that make a spin in a loop. Is there any better way ?

--Iacovos
Reply all
Reply to author
Forward
0 new messages