mdcallag / linkbench Goto Github PK
View Code? Open in Web Editor NEWThis project forked from facebookarchive/linkbench
Facebook Graph Benchmark
License: Apache License 2.0
This project forked from facebookarchive/linkbench
Facebook Graph Benchmark
License: Apache License 2.0
Summaries are printed every N inserts or queries. I want an option to do this every N seconds.
From a brave user...
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
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.