Git Product home page Git Product logo

benchmark-asprilo-golog's Introduction

benchmark-asprilo-golog

Introduction

This repository contains the data I collected for my bachelor thesis as well as the tools to replicate that data.

Running Benchmarks

To replicate the results you have to make sure you installed clingo 5.4 on a cluster of your choice (I ran the benchmarks on a cluster (Turing) where each node runs Debian 9 and has 64 GB of memory and two Intel Xeon E5-2650v4 processors with 2.20GHz).

The folder benchmark-tool contains the test instances as well as the necessary configuration files. The test instances are located in the folder benchmark-tool/benchmarks/. Configuration files can be found in benchmark-tool/runscripts/.

There are in total four benchmarks (see the configuration files in benchmark-tool/runscripts/) that have to be started one after another. Upload the folder benchmark-tool to the cluster and execute on of the following command per instance:

./bgen runscripts/runscript-asprilo-r2-golog.xml    ---OR---
./bgen runscripts/runscript-asprilo-r2-nogolog.xml  ---OR---
./bgen runscripts/runscript-asprilo-r5-golog.xml    ---OR---
./bgen runscripts/runscript-asprilo-r5-nogolog.xml

This creates a folder output-asprilo-r{2,5}-{golog,nogolog} that contains a shell script which will start the benchmark (walltime is 12hrs). To start a benchmark enter:

./output-asprilo-r2-golog/asprilo-bmarks/zuse/start.sh    ---OR---
./output-asprilo-r2-nogolog/asprilo-bmarks/zuse/start.sh  ---OR---
./output-asprilo-r5-golog/asprilo-bmarks/zuse/start.sh    ---OR---
./output-asprilo-r5-nogolog/asprilo-bmarks/zuse/start.sh

Each instance runs 100 times on a single core with the following clingo options:

1 --outf=2 --time-limit=300

For more information about the used benchmark tool check out the corresponding repository.

Extraction of Benchmark Results

Download the following folder from the cluster:

benchmark-tool/output-asprilo-r{2,5}-{golog,nogolog}/asprilo-bmarks/zuse/results/ALL/asprilo-pmork-Base/

It contains the results of each test instance. The Python script create-csv.py (requires Python v3.x) extracts these informations and generates a csv file:

python3 create-csv.py ./asprilo-pmork-Base/ [OUTPUT_FILE_NAME] 100

benchmark-asprilo-golog's People

Contributors

webastronaut avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.