# Rally report - what does "Totally Written" mean?

**URL:** <https://discuss.elastic.co/t/rally-report-what-does-totally-written-mean/54308>\
**Category:** Elasticsearch\
**Tags:** rally\
**Created:** [June 29, 2016, 3:49pm UTC](https://discuss.elastic.co/t/rally-report-what-does-totally-written-mean/54308 "2016-06-29T15:49:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![eugene\_miretsky](https://avatars.discourse-cdn.com/v4/letter/e/9fc348/32.png) [@eugene\_miretsky](https://discuss.elastic.co/u/eugene_miretsky)\
**Post date:** [June 29, 2016, 3:49pm UTC](https://discuss.elastic.co/t/rally-report-what-does-totally-written-mean/54308/1 "2016-06-29T15:49:19Z")

</div>

Rally outputs Index Size, and Totally Writen. For the Geonames benchmark it gives  
Index size [GB] | 3.31185  
Totally written [GB] | 21.1952

What exactly is Totally written?

---

<div class="post-metadata">

**Author:** ![danielmitterdorfer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/danielmitterdorfer/32/110510_2.png) [@danielmitterdorfer](https://discuss.elastic.co/u/danielmitterdorfer)\
**Post date:** [July 5, 2016, 6:20am UTC](https://discuss.elastic.co/t/rally-report-what-does-totally-written-mean/54308/2 "2016-07-05T06:20:36Z")

</div>

Hi @eugene_miretsky,

"Totally written" is the number of bytes that have been written to disk when indexing data. As Lucene starts out with smaller segments which are then merged to larger ones this number is greater than the index size.

Depending on your platform, Rally tries to determine this number just for the Elasticsearch process (this should work on Linux) or it falls back to using the difference between the totally system-wide written bytes before and after the benchmark (this is usually the case on Mac OS X). So the latter approach is less accurate but should still give you a ballpark estimate.

We use psutil to determine these numbers. If you're interested in more details, here are the docs:

- [system-wide counters](http://pythonhosted.org/psutil/#psutil.disk_io_counters)
- [process-based counters](http://pythonhosted.org/psutil/#psutil.Process.io_counters)

Daniel

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2017, 10:38pm UTC](https://discuss.elastic.co/t/rally-report-what-does-totally-written-mean/54308/3 "2017-07-05T22:38:25Z")

</div>


