← Back to team overview

graphite-dev team mailing list archive

Re: [Question #268157]: Graphite Disk Write Block Size

 

Question #268157 on Graphite changed:
https://answers.launchpad.net/graphite/+question/268157

Jason Stangroome posted a new comment:
I researched this recently. Most (all?) Carbon-Cache and Graphite-Web
access to Whisper files is through `whisper.py` which does not specify a
buffer size parameter to any file `open` calls. Hence it will be using
the Python-implementation default buffer size, which in the particular
flavour of CPython I investigated appeared to be 8KiB but could vary
across OSes and other Python implementations.

It appears that it would be a small PR to support optionally configuring
Whisper to use an explicit buffer size in the few places in the code
that a file is opened.

I personally investigated the block size used in respect to Amazon EBS
IOPS but ultimately found that enabling Whisper's Autoflush setting in
Carbon Cache gave enough write performance benefit to not need to follow
up further.

-- 
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.