Skip to content

Instantly share code, notes, and snippets.

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

Valerio Schiavoni vschiavoni

😑
^-v-^
View GitHub Profile
This file has been truncated, but you can view the full file.
899244001 899244006 2fb4bff6 b2be8ae1 f07bb612 ebb4d07c c257e405 6355ea1a 64310b8d 97459925 85c6f7ea fd0b8595 bedaff9d 3deeed72 7e373466 6b6912ac c98617e9 558b6ac8 d810473a 0ae59969 184bdeaa 6c835be2 534fc134 74bc90a6 e6099717 aa444127 4d616708 960eaf04 9de0f58d 6155331f 6283b0be 57f92d0c 8 5 4 4 4 3 3 3 3 3 3 3 3 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1.5 2.6666666666667 4 153
899244006 899244011 6355ea1a d297d955 9de0f58d 97459925 498ed574 481c6491 92ad62dc 85c6f7ea 3ce3b588 175776fa c1feef13 184bdeaa f3fecf64 e6099717 ad06b607 2fb4bff6 51bb14e4 86c235ef ad7ae3e5 c98617e9 f07bb612 d6a979fd 72a3817c 6b6912ac 32b8abbf 95b5e5f0 4d616708 d3b8cc18 960eaf04 41f760a5 7 4 4 4 3 3 3 3 3 3 3 3 3 3 3 3 3 2 2 2 2 2 2 2 2 2 2 2 2 2 1.5 2.3333333333333 3.5 194
899244011 899244016 f07bb612 6355ea1a 64310b8d 6155331f 0b90ee70 97d82515 95ce280c fd0b8595 48b09ba1 51bb14e4 6c835be2 e6099717 9630ff6e 960eaf04 bedaff9d 6827b2ac 184bdeaa f104688d 53492e7f 4f8077ef 57f92d0c 74bc90a6 c339
This file has been truncated, but you can view the full file.
899244001 899244006 9de0f58d 960eaf04 97459925 1d98cdd0 0b90ee70 790566ba ebb4d07c 481c6491 c95680d8 d810473a f07bb612 3f78715e b73ca3fc 6155331f 86c235ef 38988ff3 4a916b1a cad3cc57 85c6f7ea 39c2ac57 f3e64ede ba274cab 45928c11 6283b0be c1feef13 69ac4cb0 25ebb7bb 99af2816 bedaff9d fd0b8595 4 3 3 2 2 2 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 4 97
899244006 899244011 558b6ac8 fa637563 2fb4bff6 d810473a f07bb612 85c6f7ea 97f08971 51bb14e4 f104688d bdf9b6bb 86bfafe5 3deeed72 aa444127 7253f3d1 3c64ec0e 6c121064 32b8abbf 6355ea1a 6283b0be 23047163 86c235ef 0b90ee70 c257e405 5de9f3ad 45928c11 6f73d7cb c7b13a31 3ce3b588 b2be8ae1 9de0f58d 5 4 4 3 3 3 3 3 3 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 2.5 2.5 168
899244011 899244016 d3b8cc18 fa637563 6b6912ac 6283b0be f07bb612 2fb4bff6 97f08971 c257e405 aa20e5c8 0b90ee70 aa444127 c1feef13 e6099717 f104688d cad3cc57 ad06b607 4d616708 a0e4597a 92ad62dc 6827b2ac 9ed32f52 184bdeaa 57f92d0c 64310b8d 46fb13a1 d297d955
fe7c84bb 2044
8977b918 968
473a7af4 60
df43783d 92
c0b65379 6131
6e0c565f 3
b304aa22 862
baefc45f 6
a215b6cc 32
f124eabc 180
This file has been truncated, but you can view the full file.
checkpoints={}
checkpoints[899236806]=true
checkpoints[899236811]=true
checkpoints[899236816]=true
checkpoints[899236821]=true
checkpoints[899236826]=true
checkpoints[899236831]=true
checkpoints[899236836]=true
checkpoints[899236841]=true
checkpoints[899236846]=true
--replay the trace for all the nodes on a single machine.
sampling_frequence= 1 --how often to look in the sliding window
sliding_window_type="TIME"
sliding_window_size = 15 --keep items entered in the last N seconds
k = 20 --the top-K items in the sliding
m = 0
exp_skewness=7.0
-- 1 lexi
-- 2 mostrecent
-- 3 lessrecent
--replay the trace for all the nodes on a single machine.
sampling_frequence= 1 --how often to look in the sliding window
sliding_window_size = 15 --keep items entered in the last N seconds
k = 20 --the top-K items in the sliding
exp_skewness=7.0
tie_strategy= 2 --"mostrecent" --default used in topico.lua
misc=require"splay.misc"
require"luajitlibs/MD5" --import md5 function in global-namespace
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 323747840 bytes for committing reserved memory.
# Possible reasons:
# The system is out of physical RAM or swap space
# In 32 bit mode, the process size limit was hit
# Possible solutions:
# Reduce memory load on the system
# Increase physical memory or swap space
# Check if swap backing store is full
package ch.usi.paxosfs.partitioning;
import com.google.common.collect.Sets;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Set;
/**
* This partitioning oracle will partition the path into the given number n (up to 8) of partitions. The partitioning works like this:
bc=require"bc"
math.randomseed(1234)
function string2bc(s)
local x=bc.number(0)
for i=1,#s do
x = 256 * x + s:byte(i)
end
return x
#!/bin/sh
#
# Copyright (C) 2015 William Ahern
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions: