HewlettPackard / quartz

Quartz: A DRAM-based performance emulator for NVM
https://github.com/HewlettPackard/quartz
Other
158 stars 66 forks source link

Computer configuration #4

Open Legend147 opened 7 years ago

Legend147 commented 7 years ago

My Computer configuration is very common personal computer. Intel core i3, Ubuntu 14.04. Can I install quartz successfully

hvolos commented 7 years ago

It should be possible as long as your core i3 is one of Ivybridge, Haswell, Sandybridge.

sarsanaee commented 7 years ago

@hvolos But I guess it is not possible because the CPUs should be Xeon.

Legend147 commented 7 years ago

when I run the test, I meet the [15195] ERROR : No supported processor found Intel(R) Core(TM) i3-3220 CPU @ 3.3GHz

sarsanaee commented 7 years ago

@Legend147 Yeah you are right. In the paper, it is mentioned that this tool is developed for Xeon-based systems. You could check out src/lib/cpu/cpu.c#L138 in order to find out how the CPU models are verified.

hvolos commented 7 years ago

@Legend147: Our performance model uses the cycles_activity performance counter to estimate the cycles a processor stalls waiting for memory (http://oprofile.sourceforge.net/docs/intel-ivybridge-events.php). If your processor supports such a counter, then it would be possible to extend Quartz as sarsanaee explains.

Concerning modelling writes to persistent memory: our primary focus was modelling reads, that require taking into account the processor cache that may hide the latency to NVM. For writes, we assume one would model them using previous techniques like introducing a spin delay when flushing the write to NVM. We didn't include that code, but we're planning to do so in the next release (when we get the chance)

zeus-cht commented 3 years ago

How about Kaby lake? Is quartz support more types of cpu now?