Skip to content

Commit

Permalink
Trying to shrink access patterns in Articles
Browse files Browse the repository at this point in the history
  • Loading branch information
mjgiardino committed Jun 26, 2015
1 parent 99d892c commit a30f69c
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -66,8 +66,8 @@ public ArticlesClient(String[] args) {
long articlesSize = Math.round(ArticlesConstants.ARTICLES_SIZE * this.getScaleFactor());
long usersSize = Math.round(ArticlesConstants.USERS_SIZE * this.getScaleFactor());

this.readRecord = new PowerLaw(this.rand_gen, 0, articlesSize, -0.7);
this.userRecord = new PowerLaw(this.rand_gen, 0, usersSize, -0.7);
this.readRecord = new PowerLaw(this.rand_gen, 0, articlesSize, -0.95);
this.userRecord = new PowerLaw(this.rand_gen, 0, usersSize, -0.95);

this.txnWeights = new FlatHistogram<Transaction>(this.rand_gen, txns);
}
Expand Down

0 comments on commit a30f69c

Please sign in to comment.