Skip to content

Instantly share code, notes, and snippets.

View vschiavoni's full-sized avatar
😑
^-v-^

Valerio Schiavoni vschiavoni

😑
^-v-^
View GitHub Profile
@vschiavoni
vschiavoni / alpine-fio-musl, random writes
Last active April 29, 2020 20:53
tests with FIO on CASTOR
vschiavoni@castor-1:~/fio$ sudo docker build -t vschiavoni/alpine-fio-musl .
vschiavoni@castor-1:~/fio$ sudo docker run -ti vschiavoni/alpine-fio-musl /bin/sh
/ # fio --name=randwrite --ioengine=libaio --iodepth=1 --rw=randwrite --bs=4k --direct=0 --size=512M --numjobs=2 --runtime=240 --group_reporting
randwrite: (g=0): rw=randwrite, bs=(R) 4096B-4096B, (W) 4096B-4096B, (T) 4096B-4096B, ioengine=libaio, iodepth=1
...
fio-3.19-48-g3966
Starting 2 processes
randwrite: Laying out IO file (1 file / 512MiB)
randwrite: Laying out IO file (1 file / 512MiB)
require "rubygems"
require "tokyocabinet"
require "benchmark"
include TokyoCabinet
records = 1000000
hdb = HDB::new # Hash database; acts as a key value store
hdb.open("casket.hdb", HDB::OWRITER | HDB::OCREAT)

Keybase proof

I hereby claim:

  • I am vschiavoni on github.
  • I am vschiavoni (https://keybase.io/vschiavoni) on keybase.
  • I have a public key ASAPIm4PT50trfHvUsuA-j928Fi6L5yI7EWbJWpjAZOiEQo

To claim this, I am signing this object:

Filebench results
CryFS, randomrw.f, Valerio's laptop (i7, SSD)
root@ba473d17fb82:/filebench-1.5-alpha3# ./filebench -f randomrw.f
Filebench Version 1.5-alpha3
0.000: Allocated 173MB of shared memory
0.045: Random RW Version 3.0 personality successfully loaded
0.045: Populating and pre-allocating filesets
0.046: Removing largefile1 tree (if exists)
1.526e-05 153 153 182838 0.0008368063531650969 0.0008368063531650969
6.199e-05 21 174 182838 0.00011485577396383684 0.0009516621271289338
0.0001554 843 1017 182838 0.004610638926262593 0.005562301053391527
0.0007772 1 1018 182838 5.4693225697065164e-06 0.005567770375961233
0.001244 1 1019 182838 5.4693225697065164e-06 0.00557323969853094
0.001554 1386 2405 182838 0.007580481081613231 0.013153720780144172
0.001591 1 2406 182838 5.4693225697065164e-06 0.013159190102713878
0.001865 112 2518 182838 0.0006125641278071298 0.013771754230521007
0.001972 279 2797 182838 0.001525940996948118 0.015297695227469125
0.001987 49 2846 182838 0.0002679968059156193 0.015565692033384745
asdasdadasdadaasdadsa
@vschiavoni
vschiavoni / -
Created December 22, 2015 17:57
2015-12-22 17:41:30.760085 (14) START_LOG
2015-12-22 17:41:30.760530 (14) SPLAYD LUA EXEC
2015-12-22 17:41:30.768557 (14) >> Job settings:
2015-12-22 17:41:30.768699 (14) Ref: cbd42e76048411e32db1d9484038fef4
2015-12-22 17:41:30.768743 (14) Name:
2015-12-22 17:41:30.768751 (14) Description:
2015-12-22 17:41:30.768757 (14) Disk:
2015-12-22 17:41:30.768765 (14) max 1024 files
2015-12-22 17:41:30.768774 (14) max 1024 file descriptors
2015-12-22 17:41:30.768782 (14) max 67108864 size in bytes
splaycontroller:
image: vschiavoni/splaycontroller:v3
ports:
- "11000:11010"
- 2222
entrypoint: /splaycontroller-entrypoint.sh
splaydeamons:
image: vschiavoni/splaydeamons:v6
links:
- splaycontroller
splaycontroller:
image: vschiavoni/splaycontroller:v1
ports:
- "1100:11010"
- 2222
command: service mysql start
command: bash -c 'source /etc/profile.d/rvm.sh && cd ~/splay/src/controller/cli-server/ && ruby -rubygems cli-server.rb & cd ~/splay/src/controller/ && ruby -rubygems controller_fork.rb'
log4j:WARN No appenders could be found for logger (org.jboss.logging).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
org.infinispan.commons.CacheException: Could not commit implicit transaction
at org.infinispan.CacheImpl.executeCommandAndCommitIfNeeded(CacheImpl.java:1429)
at org.infinispan.CacheImpl.putInternal(CacheImpl.java:894)
at org.infinispan.CacheImpl.put(CacheImpl.java:886)
at org.infinispan.CacheImpl.put(CacheImpl.java:1461)
at org.infinispan.CacheImpl.put(CacheImpl.java:225)
at org.infinispan.atomic.AtomicObjectContainer.dispose(AtomicObjectContainer.java:191)