🐎 Increase disk write speed to 30 MB/s

This commit is contained in:
C-3PO 2018-09-30 17:22:26 +02:00
parent 63a32f7051
commit 384085b7d3
Signed by: c3po
GPG key ID: 62993C4BB4D86F24

View file

@ -8,8 +8,8 @@
#include "rateLimiter.h" #include "rateLimiter.h"
#include "utils/min.h" #include "utils/min.h"
//How many bytes we can write to disk per second: 2 MB - TODO: need to use a better value for this //How many bytes we can write to disk per second: 30 MB/s
#define DISK_SPEED 2UL * 1024UL * 1024UL #define DISK_SPEED 30UL * 1024UL * 1024UL
/** If we are not writing to disk, how many seconds the capacity can keep increasing before it reaches the limit. /** If we are not writing to disk, how many seconds the capacity can keep increasing before it reaches the limit.
* Increasing this value can result in a spike of data once we are writing to disk again, but then allows the data * Increasing this value can result in a spike of data once we are writing to disk again, but then allows the data
* to quickly be written without having to wait for capacity to be available. */ * to quickly be written without having to wait for capacity to be available. */