OptaneStudy icon indicating copy to clipboard operation
OptaneStudy copied to clipboard

The incorrect resuts

Open pocean opened this issue 3 years ago • 4 comments

Dear code authors: I’m using the OptaneStudy, but I have encountered some problems in using it. I use it in Fedora 27 and linux kernel 4.13.16. I config the Octane use these commands: 1. Create pmem devices ipmctl create -goal PersistentMemoryType=AppDirect ndctl create-namespace and get these regions: [ { "dev":"namespace3.0”, "mode":"fsdax”, "map":"dev”, "size":133175443456, "uuid":"8824fbe5-6b52-4463-97b3-ee1c76cdf685”, "blockdev":"pmem3” }, { "dev":"namespace2.0”, "mode":"fsdax”, "map":"dev”, "size":133175443456, "uuid":"904229c9-0cc0-425e-a288-c90cfd9a1ba8”, "blockdev":"pmem2” } ]

2. Execute the mount.sh
sh /root/OptaneStudy/src/testscript/mount.sh /dev/pmem2 /dev/pmem3

3. Test Latency
echo task=1,op=0 > /proc/lattester

4. See the output using dmesg
dmesg | tail -n 100
and get the output like this:
[ 266.020088] {0}[0]load-fence-64 avg 2729, stddev^2 21261321, max 58924, min 864 
[ 266.064615] {0}Running ntload-fence-64 
[ 268.347241] {0}[1]ntload-fence-64 avg 2728, stddev^2 2328676, max 22524, min 866 
[ 268.391851] {0}Running store-fence-64 
[ 269.926788] {0}[2]store-fence-64 avg 18446744073709550438, stddev^2 5080516, max 58952, min 18446744069414592274 
[ 269.994989] {0}Running store-clflush-64 
[ 270.868930] {0}[3]store-clflush-64 avg 18446744073709548557, stddev^2 19686969, max 53560, min 18446744069414585292

I'm afraid this result is incorrect. May I ask what is wrong with my testing process.

pocean avatar Aug 08 '20 15:08 pocean