[tarantool-patches] Re: [PATCH 7/9] vinyl: randomize range compaction to avoid IO load spikes

Konstantin Osipov kostja at tarantool.org
Wed Feb 6 13:44:19 MSK 2019


* Vladimir Davydov <vdavydov.dev at gmail.com> [19/02/06 13:31]:
> Over how many dumps? What do we do after restart, when there's no
> history and perhaps even no level 1?

A am thinking about something along these lines: 
f(n+1) = (f(n) + x*k)(1+k) - where k is the weight used to scale
the next input

alternatively:

f(n+1) = sqrt((f(n)^2 + x^2)/2)

-- 
Konstantin Osipov, Moscow, Russia, +7 903 626 22 32
http://tarantool.io - www.twitter.com/kostja_osipov



More information about the Tarantool-patches mailing list