15
LDBC SNB Benchmark Auditing Moritz Kaufmann Technische Universität München

LDBC SNB Benchmark Auditing

Embed Size (px)

Citation preview

Page 1: LDBC SNB Benchmark Auditing

LDBC SNB Benchmark Auditing

Moritz Kaufmann

Technische Universität München

Page 2: LDBC SNB Benchmark Auditing

Process

Rules

+

Metrics

+

Page 3: LDBC SNB Benchmark Auditing

2014-03-05 3

Where to start?

Download driverhttps://github.com/ldbc/ldbc_driver

Implement driver for SUT Examples: https://github.com/ldbc/ldbc_snb_implementations

Verify it using validation dataset + validation filehttps://github.com/ldbc-dev/ldbc_snb_interactive_validation

Download data generator + generate datasethttps://github.com/ldbc-dev/ldbc_snb_datagen_0.2

Page 4: LDBC SNB Benchmark Auditing

Base setting

System with 3 years of data will be benchmarked for 2h of simulation time

Main metric: Throughput @ Scale

Main obstacles: Query latency constraints + Crash recovery

Page 5: LDBC SNB Benchmark Auditing

2014-03-05 5

Query Implementation Dataset @ SF

Clean Execution Environment

System under test

Serializability Impl. (optional)

Preparation

Page 6: LDBC SNB Benchmark Auditing

2014-03-05 6

Install base system

Setup benchmark configuration

Validation run

Audit workflow

1

Page 7: LDBC SNB Benchmark Auditing

2014-03-05 7

Reset system

Setup loading configuration

Load data (timed)

Audit workflow

2

Page 8: LDBC SNB Benchmark Auditing

2014-03-05 8

Optional system warmup

Setup benchmark configuration

Benchmark >= 2h of simulation time

Audit workflow

3

Page 9: LDBC SNB Benchmark Auditing

2014-03-05 9

Crash System +Recovery testing

Audit workflow

Verify benchmark run4

Continue run

Page 10: LDBC SNB Benchmark Auditing

2014-03-05 10

Audit workflow

Additional tooling

Validation of loaded data (potentially requires implementation by the sponsor)

Query latency checks from driver log

Serializability verificatoin (potentially requires implementation by the sponsor)

Recovery verification

Page 11: LDBC SNB Benchmark Auditing

2014-03-05 11

Audit result

Report

Throughput @ Scale

Load time

Recovery time

System configuration, cost, …

Page 12: LDBC SNB Benchmark Auditing

2014-03-05 12

Rules

Inspiration from TPC, but we want to support systems without a declarative query language.

Prohibit using hinted query plans, e.g. for join ordering

Disallow precomputed indexes

Force serializable consistency

Page 13: LDBC SNB Benchmark Auditing

2014-03-05 13

Rules

Rough guidelines

Datatypes have to conform to specification

Indexes have to be updatable

System has to be generally obtainable within 6 months

Page 14: LDBC SNB Benchmark Auditing

2014-03-05 14

Rules

Intricate edges

How to define the weight of each query?

How to determine cost of system?

- Cloud? Open-source?

Page 15: LDBC SNB Benchmark Auditing

Discussion