Skip to content

Commit 88843d9

Browse files
committed
new results
1 parent 424f1b4 commit 88843d9

File tree

4 files changed

+2606
-915
lines changed

4 files changed

+2606
-915
lines changed

‎Exp-mutated_configs/Exp-mutated-doc.txt

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,29 @@ Steps :
1111
/!\ For this step you'll need the kernel sources and place the scripts 'mutate_configs.py' and 'check_sample.py' there.
1212
Using 'mutate_configs.py' we manage to change the value of the desired option(s) by using a kernel-source integrated script : scripts/config.
1313
It then checks that only our option(s) have changed using 'make olddefconfig' and compares the two files we have.
14+
The results of the diffconfig is stored in 'diffs.txt' for each .config we produced
1415

1516
2b) Choose the .config files that only differ from originals by our chosen options, and select 100 from them.
1617
Just run check_sample.py
18+
It will parse the 'diffs.txt' file and select 100 of the .config that did not change when executing 'make olddefconfig', which means that these files are "valid".
1719

18-
3) After doing this, we now have our ready-to-compile .config files in the 'sample_configs' folder. Copy the folder's content on the grid (e.g /temp_dd/igrida-fs1/psaffrau/input_files/configs/).
20+
3) After doing this, we now have our ready-to-compile .config files in the 'sample_configs' folder. Copy the folder's content on the grid (e.g /temp_dd/igrida-fs1/psaffray/input_files/configs/).
1921

2022
4) Compile !
2123
Using tuxml, we compile our mutated .config which sends the results to database.
2224
For the moment we have done serialized compilations using one single node, but the objective is to parallelize the task, in order to check several options and do it faster.
25+
Edit : The version on Mon. 29, July should work in parallel.
26+
Edit2 : After some tests, it works well
27+
> When the environment is ready (i.e. .config have been placed in /temp_dd/igrida-fs1/psaffray/input_files/configs/) :
28+
> ~/oar_script.sh X tuxml
2329

2430
5) Comparing the size
2531
Using a script 'get_cid_per_config.py' on the grid, we manage to get the association between the cid in the old database and the cid of the associated mutated .config compilation in the new database.
2632
This script uses the output files of the jobs on igrida to find which <old-cid-mutated>.config has been sent with which cid.
27-
(not ready for parallelized jobs yet)
28-
29-
6) Dataframe !
30-
Using 'get_same_configs_from_db.ipynb' we are now able to compute the size difference between before and after the option(s) manipulation, and store the values in a dataframe.
31-
33+
This will print the list of all the associations found when parsing the logs.
34+
Then it will clean the folders and move the yet uncompiled .config to the original directory configs/, and remove the content of distrib/.
3235

36+
6) Produce dataframe
37+
Using 'produce_df_size_difference.ipynb' we are now able to compute the size difference between before and after the option(s) manipulation, and store the values in a dataframe.
38+
path=/home/psaffray/TuxML/misc/analysis
3339

Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)