summaryrefslogtreecommitdiff
path: root/lib/block_allocator.cpp
diff options
context:
space:
mode:
authorJosh Blum2013-04-14 01:08:46 -0700
committerJosh Blum2013-04-14 01:08:46 -0700
commit4c1a7bd1a0521476ae3faa92bd601569b4fc87a6 (patch)
tree08b46c4c9301f8bfe3cffc2fefdb8f494f6acb50 /lib/block_allocator.cpp
parenta83447f0b74231de3d4bc7554e0be40ae5c3857f (diff)
downloadsandhi-4c1a7bd1a0521476ae3faa92bd601569b4fc87a6.tar.gz
sandhi-4c1a7bd1a0521476ae3faa92bd601569b4fc87a6.tar.bz2
sandhi-4c1a7bd1a0521476ae3faa92bd601569b4fc87a6.zip
gras: increase chunk size for fair benchmarks
Diffstat (limited to 'lib/block_allocator.cpp')
-rw-r--r--lib/block_allocator.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/block_allocator.cpp b/lib/block_allocator.cpp
index 205f99d..8f42e57 100644
--- a/lib/block_allocator.cpp
+++ b/lib/block_allocator.cpp
@@ -7,9 +7,9 @@
using namespace gras;
-const size_t AT_LEAST_BYTES = 16*(1024); //16 kiB per buffer
-const size_t AHH_TOO_MANY_BYTES = 32*(1024*1024); //32 MiB enough for me
-const size_t THIS_MANY_BUFFERS = 8;
+const size_t AT_LEAST_BYTES = 32*(1024); //kiB per buffer
+const size_t AHH_TOO_MANY_BYTES = 32*(1024*1024); //MiB enough for me
+const size_t THIS_MANY_BUFFERS = 8; //pool size
void BlockActor::buffer_returner(const size_t index, SBuffer &buffer)
{