Usman Ali
2018-10-24 11:50:36 UTC
Dear,
I am in scenario where I need simulator to generate different data read
time for memory and cache but I am getting constant reading time
irrespective data comes from memory and caches.
I used clfush command to empty cache line, so that system reads from memory.
clflush cause cache misses in stats, but data reading time shows within
program that it comes from cache where data is coming from memory. [rdtsc
is used for time measurement ]
I simulate program in Timings and Derive03 CPU but issue is still there.
Is this issue with 'clflush' implementation within x86 arch in GEM5? any
suggestion will be appreciated.
PS: On real system, its working fine.
regards,
Usman Ali
MSEE Student, Information Technology Univeristy, Lahore
***@itu.edu.pk
I am in scenario where I need simulator to generate different data read
time for memory and cache but I am getting constant reading time
irrespective data comes from memory and caches.
I used clfush command to empty cache line, so that system reads from memory.
clflush cause cache misses in stats, but data reading time shows within
program that it comes from cache where data is coming from memory. [rdtsc
is used for time measurement ]
I simulate program in Timings and Derive03 CPU but issue is still there.
Is this issue with 'clflush' implementation within x86 arch in GEM5? any
suggestion will be appreciated.
PS: On real system, its working fine.
regards,
Usman Ali
MSEE Student, Information Technology Univeristy, Lahore
***@itu.edu.pk