Coder Social home page Coder Social logo

linkbench's People

Contributors

abhinav04sharma avatar bachmanm avatar brad-devlugt avatar colorant avatar dhruba avatar emayanke avatar henrikingo avatar jannaerin avatar jimoleary avatar julianedwards avatar markbenvenuto avatar mdcallag avatar saltzm avatar timarmstrong avatar visualzhou avatar will62794 avatar woonhak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

linkbench's Issues

Issues for linkbench + Postgres

From a brave user...

  1. Suppose I load 'x' number of nodes. I expect to see 'x' number of rows in nodetable after load phase. With the pervious old version(2011), the number of rows were as expected. But, with the new repository, the number of rows after load phase is '0'. The linktable shows the correct number of rows but not the 'nodetable'. Here's an example
LOAD PHASE COMPLETED.  Loaded 4 nodes (Expected 4). Loaded 961966 links (240491.50 links per node).  Took 811.6 seconds.  Links/second = 1185

Load Phase completed....

Number of rows in linktable: count  
--------
 961966

Number of rows in counttable: count 
-------
     4

Number of rows in nodetable: count 
-------
     0
  1. When I use the username 'linkbench' as suggested in the README, it for some reason looks for database with that name. Not sure why. So, it only works when the username is same the database name which is 'linkdb'.

Report global p99 rates

p99 rates for inserts and queries per second are derived from the rates of one thread using a shell script. It would be nice to compute these directly in Python across all threads.

Nr of links is constant for the REAL generator

Hi Mark

I realize this is not very actively maintained, but recording this here while I'm deep diving into Linkbench a little. Comments on options for fixing this are welcome.

For development purposes, and maybe other reasons, I want to run quicker runs of Linkbench. I can make load phase quicker by loading less data. If I set maxid1 = 10001 I get a smaller nodetable and counttable. However, the load phase then continues to insert 44M records to linktable. This also means there will be on average thousands of links per node, which is probably not a good model of reality.

It appears the default links generator nlinks_func = real isn't configurable at all. Should it be? Maybe is should automatically adapt to maxid1 so that it always generates about 4 links per node?

I can workaround this issue by using another nlinks_func:

nlinks_func = com.facebook.LinkBench.distributions.ZipfDistribution
nlinks_shape = 1.5
nlinks_mean = 2

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.