Patryk Kuźmicz avatar

Autoscaled shared memory file size

jamzed

Published: 13 Dec 2017 › Updated: 13 Dec 2017Autoscaled shared memory file size

Autoscaled shared memory file size

shm.png

Yesterday I created Pull Request to adjust the size of the shared memory file (shared-file-size) to 20 GB in all default steemd configuration files as the shared file size already crossed 16 GB.

Unfortunately my Pull Request has been closed and not merged due to some discrepancies between master and develop branches but finally the change itself was implemented by the Dev Team and the new value is 24 GB.

But there is something more...

 
Few hours later, developer Michael Vandeberg proposed new change "Automatically Scale Shared Memory File", where the goal is to implement auto resizing for the shared memory file based on two parameters,

  • shared-file-fill-threshold: A uint16_t percentage (0-10000) that defines how full the file can get before scaling it.
  • shared-file-scale-rate: A uint16_t percentage (0-10000) that define how quickly the file can scale up when the fill threshold is met.

This feature looks really cool, isn't it? initial implementation seems to be in progress... ;-)


If you think I can be a good witness, please vote for me.

Thank you!

Leave Autoscaled shared memory file size to:

Written by

[ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo Click

Read more #witness-category posts


Best Posts From Patryk Kuźmicz

We have not curated any of jamzed's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From Patryk Kuźmicz