SysbenchRocks is a repository of sysbench extensions. All infrastructure to create, publish, discover and install extensions is powered by LuaRocks.

LuaRocks is the package manager for Lua modules.

It allows you to create and install Lua modules as self-contained packages called rocks. You can download and install LuaRocks on Unix and Windows. Get started

LuaRocks is free software and uses the same license as Lua.

Recent Modules (View all) (Recent versions)

tpcc by akopytov — downloads: 12
TPCC-like workload for sysbench
tune by akopytov — downloads: 14
Tune hardware and OS to improve benchmark stability
example by akopytov — downloads: 3
An example benchmark written using the sysbench Lua API.

Most Downloaded(This week)

tune by akopytov — downloads: 14
Tune hardware and OS to improve benchmark stability
tpcc by akopytov — downloads: 12
TPCC-like workload for sysbench
example by akopytov — downloads: 3
An example benchmark written using the sysbench Lua API.

Daily Module Downloads(More graphs & stats)

Quick Start

Installing LuaRocks on Debian/Ubuntu:

sudo apt -y install luarocks

Installing LuaRocks on Fedora:

sudo dnf -y install luarocks

Installing LuaRocks on RHEL/CentOS:

# Install EPEL first, below is an example for CentOS 7
yum install epel-release
# Now install LuaRocks from EPEL
sudo yum install luarocks

Installing LuaRocks on macOS with Homebrew:

# sysbench is based on LuaJIT and Lua 5.1
# the Lua package includes LuaRocks, but the binary is named luarocks-5.1
brew install lua@5.1

Installing LuaRocks on other Unix systems:

wget https://luarocks.org/releases/luarocks-2.4.4.tar.gz
tar zxpf luarocks-2.4.4.tar.gz
cd luarocks-2.4.4
./configure; sudo make bootstrap
sudo luarocks install luasocket

On Windows? Installation instructions for Windows.

Searching Modules

luarocks --server=rocks.sysbench.io search example

Installing Modules

luarocks --server=rocks.sysbench.io --local install example

Contributing Modules

Anyone can upload and host Lua modules.

Register an account and upload a .rockspec to create a new module. If your module name is not taken it will be added to the root manifest.

After you have uploaded a .rockspec, you can upload .rock files for a specific version by going to the version’s page. Rock files ensure that your module will be installable as long as this site is up.

The most recent version of LuaRocks supports uploading modules with the upload command:

luarocks --server=rocks.sysbench.io upload my_benchmark-1.0-1.rockspec

Read more on the About Page.