Skip to content

yangxk1/geo_layer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GeoLayerAl

Distributed data storage placement algorithm validation project, which implements the Overlap-Centric Replica Placement algorithm.

Installation Dependencies

1. Install Required Tools

To build and run this project, you will need:

  • CMake ≥ 3.10
  • C++17-capable compiler
  • yaml-cpp (included as a submodule)

update submodule

git submodule update --init

2. Clone Code Repository

git clone [email protected]:yangxk1/geo_layer.git
cd GeoLayerAl

Build and Package

1. Build the Project

mkdir build
cd build
cmake ..
make -j$(nproc)

2. Package

After building, the generated executable files are located in the build/ directory:

  • geo_layer_al
  • compute_heat
  • ldbc_query

Run

1. Configure Environment Variables

Before running the program, you can configure parameters in constant.h by setting temporary environment variables. For example:

export LDBC_DATA_BASE_PATH="/path/to/ldbc/data"
export TARGET_DATA_BASE_PATH="/path/to/target/data"
export CLUSTER_CONFIG_YAML="/path/to/cluster_config.yaml"
export NUM_CORES=8
export LAMBDA=0.6
export ALPHA=0.7
export BETA=0.4
export GAMMA=0.2
export ESPSILON=0.01

2. Run Programs

Run geo_layer_al

./build/geo_layer_al

Run compute_heat

./build/compute_heat

Run ldbc_query

./build/ldbc_query

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors