]> rtime.felk.cvut.cz Git - linux-conf-perf.git/log
linux-conf-perf.git
8 years agoImplement random generation of configurations
Karel Kočí [Thu, 13 Aug 2015 09:04:31 +0000 (11:04 +0200)]
Implement random generation of configurations

Configuration are generated with random assumptions. This should
generate different configuration for every SAT solver execution.

8 years agoCatch NoApplicableConfiguration exception in prepare thread
Karel Kočí [Wed, 12 Aug 2015 18:31:28 +0000 (20:31 +0200)]
Catch NoApplicableConfiguration exception in prepare thread

8 years agoFix wrong configuration reading from database
Karel Kočí [Wed, 12 Aug 2015 16:12:59 +0000 (18:12 +0200)]
Fix wrong configuration reading from database

8 years agoFix bug in configurations loading
Karel Kočí [Wed, 12 Aug 2015 15:28:00 +0000 (17:28 +0200)]
Fix bug in configurations loading

Loading configuration load all configuration options as True.

8 years agoFix problem with wrongly printed first line in CNF file
Karel Kočí [Wed, 12 Aug 2015 14:41:59 +0000 (16:41 +0200)]
Fix problem with wrongly printed first line in CNF file

8 years agoFix if generated existing configuration
Karel Kočí [Wed, 12 Aug 2015 13:48:19 +0000 (15:48 +0200)]
Fix if generated existing configuration

When some generator tries to register already generated solution, it
shouldn't be registered.

8 years agoFix bug in configuration.py
Karel Kočí [Wed, 12 Aug 2015 13:43:06 +0000 (15:43 +0200)]
Fix bug in configuration.py

Type inserted to method is str, but threated as int.

8 years agoAdd measure tool desription to database
Karel Kočí [Tue, 11 Aug 2015 17:43:30 +0000 (19:43 +0200)]
Add measure tool desription to database

8 years agoChange hash calculating function
Karel Kočí [Thu, 13 Aug 2015 07:59:33 +0000 (09:59 +0200)]
Change hash calculating function

Previous method of calculating hash wasn't work (wouldn't give same
result for same configuration) if there would be added
new configuration options to hashconfigsort file.

8 years agoChange default database configuration
Karel Kočí [Wed, 12 Aug 2015 08:47:27 +0000 (10:47 +0200)]
Change default database configuration

Database configuration was set as it was used during development and
testing. Changed to some of default not usable values.

8 years agoSingle configuration generation ensured to generate only single
Karel Kočí [Wed, 12 Aug 2015 08:46:27 +0000 (10:46 +0200)]
Single configuration generation ensured to generate only single
configuration per execution

8 years agoFix link error
Karel Kočí [Thu, 6 Aug 2015 11:03:28 +0000 (13:03 +0200)]
Fix link error

Creation of link to linux image wasn't done right.
Outcome was, wrong path in link.

8 years agoIgnore any exception raised while parsing output of boot output
Karel Kočí [Tue, 28 Jul 2015 20:20:10 +0000 (22:20 +0200)]
Ignore any exception raised while parsing output of boot output

Any exception raised from user script, that should parse boot command output, should be ignored.
If fails, no value is written to database.

8 years agoAdd generator identifier to configuration in database
Karel Kočí [Tue, 28 Jul 2015 19:56:56 +0000 (21:56 +0200)]
Add generator identifier to configuration in database

This identifier is for recognition what generator generated specified configuration as first.

8 years agoFix shell incompatibility script construct
Karel Kočí [Tue, 28 Jul 2015 09:25:41 +0000 (11:25 +0200)]
Fix shell incompatibility script construct

8 years agoChange password authentication method to database
Karel Kočí [Tue, 28 Jul 2015 09:12:41 +0000 (11:12 +0200)]
Change password authentication method to database

.pgpass file has to be allowed in configuration. Using environment variable is more platform independent.

8 years agoScripts changed to use database.
Karel Kočí [Tue, 28 Jul 2015 08:42:19 +0000 (10:42 +0200)]
Scripts changed to use database.

Also initial implementation of multithread execution.

A lot of functionality changed.
Phases removed.
Output parsing is now part of measure (boot) process.
Utils cleared.
Add dot_measure file for inverted dot_config.
Configuration generating is now prepared for multiple generating types. Fist implemented is generating configurations with single selected configuration.

Test is modified to be compatible with new changes.

8 years agoChange root Makefile
Karel Kočí [Tue, 28 Jul 2015 08:31:56 +0000 (10:31 +0200)]
Change root Makefile

Add check for recursive makefile calls.
Also add removing of dot_config to clean_measure target.
run and initialize now requires all target. This allow dependency on all programs not only selected. This is done for simplification.

8 years agoAdd database table linuxgit and fix prepare sql command
Karel Kočí [Tue, 28 Jul 2015 08:26:51 +0000 (10:26 +0200)]
Add database table linuxgit and fix prepare sql command

8 years agoAllconfig add inv option
Karel Kočí [Tue, 28 Jul 2015 08:23:29 +0000 (10:23 +0200)]
Allconfig add inv option

Added inv option for generating inverted configurations.
Inverted configuration contains configuration options that are not in original configuration file.

8 years agokernel.make is now copying linux image to jobfile folder
Karel Kočí [Fri, 24 Jul 2015 16:17:47 +0000 (18:17 +0200)]
kernel.make is now copying linux image to jobfile folder

And make now returns name of image.

8 years agokernel.config rewritten to use utils.callsubprocess and support new implementation...
Karel Kočí [Fri, 24 Jul 2015 16:07:45 +0000 (18:07 +0200)]
kernel.config rewritten to use utils.callsubprocess and support new implementation of write_config

Also unused function config_noprogram commented.

8 years agoAdding targets in root makefile
Karel Kočí [Fri, 24 Jul 2015 15:43:30 +0000 (17:43 +0200)]
Adding targets in root makefile

Part of the initialize target should be also initialization of database.

Target distclean should clean project to state as it is in git repository.

8 years agoIgnore configurations folder
Karel Kočí [Fri, 24 Jul 2015 15:30:56 +0000 (17:30 +0200)]
Ignore configurations folder

8 years agoRemove unused function from utils
Karel Kočí [Fri, 24 Jul 2015 15:30:17 +0000 (17:30 +0200)]
Remove unused function from utils

build_conf_map is not used anywhere. And plan is to change files with which it works. So it doesn't have any sense to keeping it there or even rewriting it.

8 years agoChange log files position
Karel Kočí [Fri, 24 Jul 2015 15:25:31 +0000 (17:25 +0200)]
Change log files position

Log files won't be in only one folder. Every program have its own folder.

8 years agoFix big amount of bugs in recently commited code
Karel Kočí [Fri, 24 Jul 2015 15:24:04 +0000 (17:24 +0200)]
Fix big amount of bugs in recently commited code

Recently committed code wasn't tested, because most of the required infrastructure wasn't yet written.
So bugs must be fixed after more parts of system are reimplemented.

8 years agoRewrite write_config
Karel Kočí [Fri, 24 Jul 2015 15:19:22 +0000 (17:19 +0200)]
Rewrite write_config

Write config don't need to load jobfiles any more.
We only have to load file passed via argument and save using kconfig code.

Configuration checking is disabled. It needs more editing.

8 years agoRewrite configuration script
Karel Kočí [Fri, 24 Jul 2015 12:54:00 +0000 (14:54 +0200)]
Rewrite configuration script

THIS MAKES SCRIPT INCONSISTENT AND PROJECT IS NOT WORKING UNTIL OTHER COMMIT MESSAGE SAYS OTHERWISE.
Configurations are now generated to separated folder and have syntax compatible with linux configuration files.
This way applying new configuration is not necessary.
Also script is now communicating with database.
Functions are prepared for multiple different generating possibilities.

Also configuration generation is removed from initialize script.

8 years agoFix bugs in initialise script
Karel Kočí [Fri, 24 Jul 2015 12:45:18 +0000 (14:45 +0200)]
Fix bugs in initialise script

Added missing import.
Every folder creation must have it's own exception block.
Removed additional import of exceptions.

8 years agoRemove unused configurations
Karel Kočí [Fri, 24 Jul 2015 08:46:28 +0000 (10:46 +0200)]
Remove unused configurations

These configuration were left here probably by mistake after deleting code for which they were used.

8 years agoReturn timestamp to subprocess execution log
Karel Kočí [Fri, 24 Jul 2015 08:44:31 +0000 (10:44 +0200)]
Return timestamp to subprocess execution log

When script is running, this function could be executed multiple times in same second.
If it would happen, it wouldn't be easy find where starts which execution.

8 years agoAdd dot_config target to root Makefile
Karel Kočí [Fri, 24 Jul 2015 08:29:21 +0000 (10:29 +0200)]
Add dot_config target to root Makefile

allconfig is used for generating full configuration.
In default is this file expected in root project directory with name dot_config.
User should remove configuration options that should be measured.
So dot_config file should contains only configuration options with fixed value.

8 years agoChange logging method
Karel Kočí [Fri, 24 Jul 2015 06:38:40 +0000 (08:38 +0200)]
Change logging method

Now every execution is in separated file.
Also logging folder creation moved from callprocess tto initialize.base

8 years agoRename solution script to configurations
Karel Kočí [Wed, 22 Jul 2015 10:32:04 +0000 (12:32 +0200)]
Rename solution script to configurations

New name more better resembles what script does.

8 years agoRemove permute_conf
Karel Kočí [Wed, 22 Jul 2015 09:47:51 +0000 (11:47 +0200)]
Remove permute_conf

permute_conf was only temporally program for generating dot_config file.
Its main function now has program allconfig.
This program has also some text interface, but it wasn't optimal and in the end wasn't used at all.

8 years agoAdd database initialisation check
Karel Kočí [Wed, 22 Jul 2015 09:28:57 +0000 (11:28 +0200)]
Add database initialisation check

On object creation, when connection to server is established, is now implemented check if database has all tables as it should have.

8 years agoMakefile configuration is now automatically generated and more changes
Karel Kočí [Wed, 22 Jul 2015 09:12:24 +0000 (11:12 +0200)]
Makefile configuration is now automatically generated and more changes

Makefile configuration file is now generated automatically and contains all
string config options.

Separated tables drop from databaseinit.sql to file databaseclean.sql.

Also add clean and init target for database.
For this reason is also separated output and result from normal clean.
From now on won't be results removed on standard clean.

ARCH config variable is renamed to kernel_arch to make name more clear.

8 years agoImplemented database
Karel Kočí [Wed, 22 Jul 2015 08:01:31 +0000 (10:01 +0200)]
Implemented database

Database will be used for storing measured data.

8 years agoFix gen_required config source check
Karel Kočí [Fri, 17 Jul 2015 12:03:08 +0000 (14:03 +0200)]
Fix gen_required config source check

8 years agoIntegrate allconfig
Karel Kočí [Fri, 17 Jul 2015 11:42:03 +0000 (13:42 +0200)]
Integrate allconfig

allconfig is now integrated in project.
It is going to replace permute_conf for generating.
For this reason is default behaviour changed to print only changeable configurtaion options.
Previous behaviour can be used with --all switch.

Also add .gitignore and remove compiled file from repository.

8 years agoRemove possibility of generating next solution in loop.
Karel Kočí [Fri, 17 Jul 2015 09:50:04 +0000 (11:50 +0200)]
Remove possibility of generating next solution in loop.

Only possibility now is generating all solutions on initialisation.
Remove solution generating phase.

8 years agoSimplify parse_kconfig generated CNF formulas
Karel Kočí [Fri, 17 Jul 2015 09:41:50 +0000 (11:41 +0200)]
Simplify parse_kconfig generated CNF formulas

Not isn't now generated using additional variable.
All head formulas for all configuration options are now printed directly as formulas. Not build using functions.

8 years agoAdd simple bash script to remove configs options from full configuration
Karel Kočí [Fri, 17 Jul 2015 09:37:53 +0000 (11:37 +0200)]
Add simple bash script to remove configs options from full configuration

Options are removed if they are found in selected folder (variable FOLDER).

8 years agoAdd small program for generating complete configuration
Karel Kočí [Fri, 17 Jul 2015 09:36:12 +0000 (11:36 +0200)]
Add small program for generating complete configuration

This program generates complete configuration.
Written because permute_conf is only writing out configs that are chargeable.

8 years agoAdd rootfs configuration for cyclictest
Michal Sojka [Fri, 17 Jul 2015 09:16:25 +0000 (11:16 +0200)]
Add rootfs configuration for cyclictest

9 years agoMakefile fix distclean target
Karel Kočí [Fri, 22 May 2015 00:31:00 +0000 (02:31 +0200)]
Makefile fix distclean target

9 years agoFix problem with swapped columns numbering
Karel Kočí [Fri, 22 May 2015 00:21:13 +0000 (02:21 +0200)]
Fix problem with swapped columns numbering

9 years agoAdd simple readme
Karel Kočí [Thu, 21 May 2015 23:58:57 +0000 (01:58 +0200)]
Add simple readme

9 years agoRename program permute to permute_conf
Karel Kočí [Thu, 21 May 2015 17:24:24 +0000 (19:24 +0200)]
Rename program permute to permute_conf

9 years agoAdd license
Karel Kočí [Thu, 21 May 2015 17:19:27 +0000 (19:19 +0200)]
Add license

9 years agoFix problem of cleaning scripts/nbscript
Karel Kočí [Thu, 21 May 2015 17:19:01 +0000 (19:19 +0200)]
Fix problem of cleaning scripts/nbscript

9 years agoDocument conf.py and remove spare variable SRCARCH
Karel Kočí [Thu, 21 May 2015 17:16:07 +0000 (19:16 +0200)]
Document conf.py and remove spare variable SRCARCH

9 years agoFix evaluate script
Karel Kočí [Wed, 20 May 2015 19:37:05 +0000 (21:37 +0200)]
Fix evaluate script

9 years agoAdd multiple bases support
Karel Kočí [Wed, 20 May 2015 09:16:04 +0000 (11:16 +0200)]
Add multiple bases support

9 years agoAdd base reduction for evaluate
Karel Kočí [Wed, 20 May 2015 09:07:15 +0000 (11:07 +0200)]
Add base reduction for evaluate

9 years agoFix Makefile clean
Karel Kočí [Wed, 20 May 2015 09:06:43 +0000 (11:06 +0200)]
Fix Makefile clean

9 years agoMake nbscript not generated
Karel Kočí [Mon, 18 May 2015 11:21:07 +0000 (13:21 +0200)]
Make nbscript not generated

9 years agoSet root Makefile to start evaluate script
Karel Kočí [Sat, 16 May 2015 13:30:02 +0000 (15:30 +0200)]
Set root Makefile to start evaluate script

9 years agoFix NoAppliableSolution in loop and changed looping phase
Karel Kočí [Sat, 16 May 2015 13:20:36 +0000 (15:20 +0200)]
Fix NoAppliableSolution in loop and changed looping phase

9 years agoDivide evaluete script to functions
Karel Kočí [Sat, 16 May 2015 13:13:50 +0000 (15:13 +0200)]
Divide evaluete script to functions

9 years agoImplement evaluate
Karel Kočí [Sat, 16 May 2015 12:32:32 +0000 (14:32 +0200)]
Implement evaluate

9 years agoAdd result folder to .gitignore
Karel Kočí [Fri, 15 May 2015 10:49:45 +0000 (12:49 +0200)]
Add result folder to .gitignore

9 years agoRewrite write_config solution check and fix apply
Karel Kočí [Thu, 14 May 2015 23:38:34 +0000 (01:38 +0200)]
Rewrite write_config solution check and fix apply

solution.apply failed in case of last solution.

9 years agoFix error in utils script
Karel Kočí [Thu, 14 May 2015 20:51:15 +0000 (22:51 +0200)]
Fix error in utils script

9 years agoFix error in solution apply
Karel Kočí [Thu, 14 May 2015 20:49:23 +0000 (22:49 +0200)]
Fix error in solution apply

9 years agoFix solution generation in case of gen_all_solution_oninit
Karel Kočí [Thu, 14 May 2015 20:46:43 +0000 (22:46 +0200)]
Fix solution generation in case of gen_all_solution_oninit

9 years agoEzecute initialize parse_kconfig only in case of missing files
Karel Kočí [Thu, 14 May 2015 20:41:26 +0000 (22:41 +0200)]
Ezecute initialize parse_kconfig only in case of missing files

9 years agoAdd dot_config to gitignore
Karel Kočí [Thu, 14 May 2015 15:37:53 +0000 (17:37 +0200)]
Add dot_config to gitignore

9 years agoFix booting process and test target
Karel Kočí [Thu, 14 May 2015 15:37:18 +0000 (17:37 +0200)]
Fix booting process and test target

Test target wasn't working properly. Now it should work.

9 years agoClean makefile and remove dependency on buildroot initram
Karel Kočí [Thu, 14 May 2015 15:35:48 +0000 (17:35 +0200)]
Clean makefile and remove dependency on buildroot initram

Removing dependency can lead to problems.
But if buildroot should not be forced for possible alternatives.

9 years agoFix problems with permute
Karel Kočí [Thu, 14 May 2015 13:20:34 +0000 (15:20 +0200)]
Fix problems with permute

Permute should now reading and loading configurations right.
In case of configuration change, forces save.

9 years agoFix problems with configurations genration
Karel Kočí [Thu, 14 May 2015 08:50:34 +0000 (10:50 +0200)]
Fix problems with configurations genration

9 years agoAdd mpermute target for executing command permute
Karel Kočí [Wed, 13 May 2015 17:49:33 +0000 (19:49 +0200)]
Add mpermute target for executing command permute

9 years agoAdd kernel_env setting
Karel Kočí [Wed, 13 May 2015 16:46:36 +0000 (18:46 +0200)]
Add kernel_env setting

9 years agoSwap some lines in conf.py
Karel Kočí [Wed, 13 May 2015 16:16:13 +0000 (18:16 +0200)]
Swap some lines in conf.py

9 years agoFix conf.py
Karel Kočí [Wed, 13 May 2015 16:04:36 +0000 (18:04 +0200)]
Fix conf.py

9 years agoFix ARCH env variable
Karel Kočí [Wed, 13 May 2015 16:00:57 +0000 (18:00 +0200)]
Fix ARCH env variable

9 years agoFix env
Karel Kočí [Wed, 13 May 2015 15:56:44 +0000 (17:56 +0200)]
Fix env

9 years agoAdd initialize messages and initialize sourcing from dot_config not from linux/.config
Karel Kočí [Sun, 10 May 2015 14:03:15 +0000 (16:03 +0200)]
Add initialize messages and initialize sourcing from dot_config not from linux/.config

9 years agoAdd saving and loading of dot_config file in permute program
Karel Kočí [Sun, 10 May 2015 14:02:25 +0000 (16:02 +0200)]
Add saving and loading of dot_config file in permute program

9 years agoFix buildroot Makefile dependency
Karel Kočí [Sun, 10 May 2015 14:01:02 +0000 (16:01 +0200)]
Fix buildroot Makefile dependency

9 years agopermute fix makefile
Karel Kočí [Thu, 7 May 2015 11:34:33 +0000 (13:34 +0200)]
permute fix makefile

9 years agoAdd permute to root Makefile
Karel Kočí [Thu, 7 May 2015 11:33:40 +0000 (13:33 +0200)]
Add permute to root Makefile

9 years agoRename setpermute to permute
Karel Kočí [Thu, 7 May 2015 11:31:09 +0000 (13:31 +0200)]
Rename setpermute to permute

9 years agoAdd initial implementation of setpermute
Karel Kočí [Wed, 6 May 2015 09:55:16 +0000 (11:55 +0200)]
Add initial implementation of setpermute

9 years agoAdd implementation of hash indexing of configurations
Karel Kočí [Thu, 7 May 2015 11:25:04 +0000 (13:25 +0200)]
Add implementation of  hash indexing of configurations

9 years agoAdd gitignores
Karel Kočí [Thu, 7 May 2015 11:20:04 +0000 (13:20 +0200)]
Add gitignores

9 years agoRename build folder to jobfiles
Karel Kočí [Wed, 6 May 2015 19:57:33 +0000 (21:57 +0200)]
Rename build folder to jobfiles

9 years agoAdd generation of all solutions in initialization phase
Karel Kočí [Wed, 6 May 2015 19:18:38 +0000 (21:18 +0200)]
Add generation of all solutions in initialization phase

9 years agoAdd possibility of calling pahe_set from outside of loop.py
Karel Kočí [Wed, 6 May 2015 19:17:23 +0000 (21:17 +0200)]
Add possibility of calling pahe_set from outside of loop.py

9 years agoAdd Makefile initialize dependencies
Karel Kočí [Wed, 6 May 2015 19:16:18 +0000 (21:16 +0200)]
Add Makefile initialize dependencies

9 years agoFix some comments and if in solution
Karel Kočí [Wed, 6 May 2015 15:28:39 +0000 (17:28 +0200)]
Fix some comments and if in solution

These changes were forgotten after change from minisat to picosat

9 years agoAdd label for debugging configs
Karel Kočí [Wed, 6 May 2015 15:20:32 +0000 (17:20 +0200)]
Add label for debugging configs

9 years agoAdd PHONY targets
Karel Kočí [Wed, 6 May 2015 15:12:48 +0000 (17:12 +0200)]
Add PHONY targets

9 years agoChange message in generated nbscript
Karel Kočí [Wed, 6 May 2015 15:12:15 +0000 (17:12 +0200)]
Change message in generated nbscript

9 years agoMove buildroot configs in conf.py
Karel Kočí [Wed, 6 May 2015 15:10:38 +0000 (17:10 +0200)]
Move buildroot configs in conf.py

9 years agoSeparate initialisation
Karel Kočí [Wed, 6 May 2015 15:10:16 +0000 (17:10 +0200)]
Separate initialisation

Initialisation now can be executed without loop it self.

9 years agoRemove automatic initram build
Karel Kočí [Wed, 6 May 2015 15:08:30 +0000 (17:08 +0200)]
Remove automatic initram build

Not initram must be set and created manually by user.

9 years agoMove buildroot submodule
Karel Kočí [Wed, 6 May 2015 09:56:19 +0000 (11:56 +0200)]
Move buildroot submodule