Commit Graph

278 Commits

Author SHA1 Message Date
GuillaumeDIDIER
fb926dfe2a Refactor to start integrating frequency measurement and portability
- added preliminary tests of frequency measurements
- refactored the signature of calibrate function to parametrize hash function
- various cleanup
2020-05-11 17:04:33 +02:00
GuillaumeDIDIER
b7e8aff723 Tag results with commit 2020-05-01 10:26:00 +02:00
GuillaumeDIDIER
26b2d22942 Update result analysis scripts and code to the version for results-2020-04-20 2020-05-01 10:24:15 +02:00
Guillume DIDIER
bb8996efd0 Add analysis python script
This script currently just parses the CSV.
Future update should include plotting various metrics.
2020-04-13 11:16:46 +02:00
guillaume didier
bc926186b4 Add measurement results and analysis 2020-04-08 15:38:08 +02:00
guillaume didier
5c025fb495 Make the MMappedMemory generic 2020-04-07 14:25:13 +02:00
guillaume didier
ac4889372d Implement Borrow, Deref, AsRef and mut equivalent for MMappedMemory 2020-04-07 10:13:38 +02:00
guillaume didier
dca0b156b4 Add complex addressing function computation and output those when calibrating 2020-04-06 11:14:05 +02:00
guillaume didier
158b808d92 Add small utility used to trigger l3 accesses (conjoint use the a uncore cbo measuring utility allow cbo slice reverse) 2020-04-06 11:13:12 +02:00
guillaume didier
b7b6c8e9cc Add drop to safely deallocate memory 2020-04-03 11:30:56 +02:00
guillaume didier
811842e142 Add abstraction over mmap 2020-04-03 11:24:54 +02:00
guillaume didier
bebbf379c1 Make clippy happier 2020-04-01 16:31:06 +02:00
guillaume didier
f8b02c4b6f Minor refactor 2020-04-01 16:12:36 +02:00
guillaume didier
65f94dcb67 General refactor of the calibration implementation when adding l3 hit calibration
This moves most of the logic on a calibrate function taking as a paramater a slice of operations to calibrate
L3 hit is measured by flush followed by preftechnt1, cpuid serialization, timed access
2020-04-01 16:12:15 +02:00
guillaume didier
78ed3bafad Add results for warmed up analysis 2020-03-20 16:10:06 +01:00
guillaume didier
5c6c607c8f Add some warm up and fix some output related issues + make the cpuid leaf 4 availale as an util 2020-03-20 16:09:03 +01:00
guillaume didier
f599b74ef3 More analysis results 2020-03-20 16:08:02 +01:00
guillaume didier
d27dd77edc Analysis results 2020-03-18 14:33:08 +01:00
guillaume didier
56f17d1f27 Update analysis file 2020-03-18 14:32:10 +01:00
guillaume didier
8c9d54e44b Results for new version of cache_utils 2020-03-18 14:31:55 +01:00
guillaume didier
ba210848e2 cache_utils update 2020-03-18 14:30:16 +01:00
guillaume didier
2e7558c948 Dep upgrade 2020-03-18 14:29:56 +01:00
guillaume didier
d7982b17f0 REmove useless file 2020-03-18 14:29:32 +01:00
guillaume didier
b56e7b19b2 Analysis for cybercobaye 2020-03-17 10:02:28 +01:00
guillaume didier
08abde7fb7 Add measurements from citronvert 2020-03-16 09:52:40 +01:00
Julius Wenzel
2f805cc125 Measure on cybercobaye HyperThreading ON* 2020-03-13 12:17:39 +01:00
guillaume didier
05619c5126 Update dependencies for newer nightlies 2020-03-13 12:14:36 +01:00
guillaume didier
e2212e61b9 Add raw results on citron vert + scripts 2020-03-13 11:18:21 +01:00
guillaume didier
17e1b283d8 Clean up 2020-03-12 14:46:43 +01:00
guillaume didier
cb9f598a17 Better Cflush calibration - only miss per cache line threshold determination 2020-03-12 14:20:06 +01:00
guillaume didier
b32ec3a68b Ensure std for teh cache_utils binary 2020-03-09 14:36:55 +01:00
guillaume didier
a287a264ba Add assertion to prevent attempts of building std and no_std at the same time 2020-03-09 14:32:10 +01:00
guillaume didier
639299175f Set up things so that a std binary can be built in cache_utils 2020-03-09 14:27:32 +01:00
guillaume didier
a176033851 Carious enhancements to cache calibration 2020-03-09 12:10:41 +01:00
guillaume didier
3057f11512 Add the results from teh measurements 2020-02-28 12:06:15 +01:00
guillaume didier
60fe76e366 Implement calibration on full 4k page 2020-02-28 12:03:51 +01:00
guillaume didier
2ce9de1482 Add the first attempt at detectecting prefetch 2020-02-25 08:27:40 +01:00
guillaume didier
f5312321c8 Grab some meory for evil purposes and remove it from the memory map 2020-02-21 11:36:53 +01:00
guillaume didier
44b0aaf372 Make clippy happier 2020-02-21 11:36:22 +01:00
guillaume didier
f3f7aad23c Memory map dump 2020-02-20 09:19:40 +01:00
guillaume didier
5e4025493b Further dependency upgrade and cleanup, using cargo-upgrade 2020-02-19 15:13:24 +01:00
guillaume didier
da4204f655 Overhaul of dependencies, inluding x86_64 0.9.2 breaking changes 2020-02-19 15:08:24 +01:00
guillaume didier
1d4ca06c96 Add a sanity check on the threshold 2020-02-19 11:57:51 +01:00
guillaume didier
b28221d4c2 Add a script with the correct serial port settings 2020-02-19 11:39:50 +01:00
guillaume didier
1948118841 Add cflush threshold determination 2020-02-18 17:07:59 +01:00
guillaume didier
c9afaaafe8 Flush and flush calibration 2020-02-18 08:45:15 +01:00
guillaume didier
00984ee2e0 Start working on cache calibration 2020-02-17 15:28:10 +01:00
guillaume didier
aa72d2fa49 Changes to the main 2020-02-17 13:36:20 +01:00
guillaume didier
fcc27d50e3 Enhance the serial driver
Typo fixes
Add an easy way to compute the baud rate
2020-02-17 13:35:53 +01:00
guillaume didier
81a517de6b Refactor cache_info into a separate module 2020-02-17 09:17:44 +01:00