]> rtime.felk.cvut.cz Git - linux-conf-perf.git/log
linux-conf-perf.git
8 years agoRemove duplicate variable in conf.py measuring
Karel Kočí [Thu, 13 Aug 2015 10:13:39 +0000 (12:13 +0200)]
Remove duplicate variable in conf.py

This duplication was created probably by merging.

8 years agoMerge branch 'master' into measuring
Karel Kočí [Thu, 13 Aug 2015 09:59:48 +0000 (11:59 +0200)]
Merge branch 'master' into measuring

Pull generate_single fix.

8 years agoFix single_generated_file writeback
Karel Kočí [Thu, 13 Aug 2015 09:57:40 +0000 (11:57 +0200)]
Fix single_generated_file writeback

measure_list containst ints. But method writelines can only be used with
strings.

8 years agoMerge branch 'master' into measuring
Karel Kočí [Thu, 13 Aug 2015 09:54:31 +0000 (11:54 +0200)]
Merge branch 'master' into measuring

 Conflicts:
conf.py
scripts/configurations.py

8 years agoFix generate single configuration
Karel Kočí [Thu, 13 Aug 2015 09:42:51 +0000 (11:42 +0200)]
Fix generate single configuration

This fixes and ensures that every call generates configuration. Unless
False is returned.

8 years agoFix thread cooperation in loop
Karel Kočí [Thu, 13 Aug 2015 09:19:09 +0000 (11:19 +0200)]
Fix thread cooperation in loop

Measure function requires img and config as atributes. But only config
was provided.

8 years agoFix thread cooperation in loop
Karel Kočí [Thu, 13 Aug 2015 09:19:09 +0000 (11:19 +0200)]
Fix thread cooperation in loop

Measure function requires img and config as atributes. But only config
was provided.

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 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 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 agoEnable multithreating execution
Karel Kočí [Thu, 13 Aug 2015 07:56:26 +0000 (09:56 +0200)]
Enable multithreating execution

8 years agoRemove init cli argument for kernel
Karel Kočí [Thu, 13 Aug 2015 06:37:29 +0000 (08:37 +0200)]
Remove init cli argument for kernel

This argument was already removed by previous commit, but probably with
some merge it come back.

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 agoChange folder to kernel
Karel Kočí [Wed, 12 Aug 2015 15:49:56 +0000 (17:49 +0200)]
Change folder to kernel

As first will be measured only konfiguration options in kernel folder.

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 agoRemove debud output of generated configuration
Karel Kočí [Wed, 12 Aug 2015 14:25:13 +0000 (16:25 +0200)]
Remove debud output of generated configuration

8 years agoHide output of all commands
Karel Kočí [Wed, 12 Aug 2015 14:24:09 +0000 (16:24 +0200)]
Hide output of all commands

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 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 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 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 master version to v0.92 of rt-tests
Karel Kočí [Tue, 11 Aug 2015 17:34:22 +0000 (19:34 +0200)]
Change master version to v0.92 of rt-tests

8 years agoAdd parse_script
Karel Kočí [Tue, 11 Aug 2015 17:19:30 +0000 (19:19 +0200)]
Add parse_script

Parsing maximal value from first thread as result.

8 years agoFix boot and build scripts
Karel Kočí [Tue, 11 Aug 2015 16:56:31 +0000 (18:56 +0200)]
Fix boot and build scripts

Remove init atribut from boot_script. It is not usable when system using
/init as default.

Build script is moved for ryuglab target. Root build script is now
pointing to right location.

8 years agoSet cyclictest exectuion
Karel Kočí [Tue, 11 Aug 2015 16:50:30 +0000 (18:50 +0200)]
Set cyclictest exectuion

Also used external package to buildroot for rt-tests to use latest
master version.

8 years agoRemove script for generating configuration
Karel Kočí [Sat, 8 Aug 2015 08:44:54 +0000 (10:44 +0200)]
Remove script for generating configuration

Also folder measure_scripts renamed to ryuglab_scripts to signalize for
what target are those scripts.

8 years agoAdd default config for ryuglab target
Karel Kočí [Sat, 8 Aug 2015 08:19:21 +0000 (10:19 +0200)]
Add default config for ryuglab target

8 years agoMove target specification from boot_script back to .novaboot file
Karel Kočí [Sat, 8 Aug 2015 07:51:49 +0000 (09:51 +0200)]
Move target specification from boot_script back to .novaboot file

8 years agoFix .gitignore in folder root/cyclictest/
Karel Kočí [Sat, 8 Aug 2015 07:37:37 +0000 (09:37 +0200)]
Fix .gitignore in folder root/cyclictest/

Git was ignoring files in overlay folder

8 years agoFix boot problems
Karel Kočí [Thu, 6 Aug 2015 14:28:05 +0000 (16:28 +0200)]
Fix boot problems

Now cyclictest should be bootable.

8 years agoAdd default novaboot target for measuring
Karel Kočí [Mon, 3 Aug 2015 08:42:25 +0000 (10:42 +0200)]
Add default novaboot target for measuring

8 years agoAdd default_config and cyclictest novaboot
Karel Kočí [Thu, 30 Jul 2015 07:53:48 +0000 (09:53 +0200)]
Add default_config and cyclictest novaboot

8 years agoAdd inittab and script
Karel Kočí [Tue, 28 Jul 2015 21:35:07 +0000 (23:35 +0200)]
Add inittab and script

8 years agoAdd boot_command
Karel Kočí [Tue, 28 Jul 2015 21:04:56 +0000 (23:04 +0200)]
Add boot_command

8 years agoFix boot_command
Karel Kočí [Tue, 28 Jul 2015 21:01:38 +0000 (23:01 +0200)]
Fix boot_command

Added novaboot call directly. nbscript is not executable.

8 years agoFix linux image name
Karel Kočí [Tue, 28 Jul 2015 20:59:24 +0000 (22:59 +0200)]
Fix linux image name

8 years agoFix path bug
Karel Kočí [Tue, 28 Jul 2015 20:55:46 +0000 (22:55 +0200)]
Fix path bug

8 years agoAdd build_script
Karel Kočí [Tue, 28 Jul 2015 20:49:57 +0000 (22:49 +0200)]
Add build_script

8 years agoAdd external scripts and set boot configuration
Karel Kočí [Tue, 28 Jul 2015 20:42:45 +0000 (22:42 +0200)]
Add external scripts and set boot configuration

8 years agoChange measuring architecture
Karel Kočí [Tue, 28 Jul 2015 09:21:46 +0000 (11:21 +0200)]
Change measuring architecture

8 years agoSet conf.py and nbscript for measurement
Karel Kočí [Tue, 28 Jul 2015 08:57:49 +0000 (10:57 +0200)]
Set conf.py and nbscript for measurement

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

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

8 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

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

8 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

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

8 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

8 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

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

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

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

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

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