Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1043)

Issue 6569060: environs/cloudinit: prealloc smaller journal files

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 6 months ago by niemeyer
Modified:
11 years, 6 months ago
Reviewers:
mp+126524, fwereade
Visibility:
Public.

Description

environs/cloudinit: prealloc smaller journal files Prealloc 1M journal files upfront, to prevent mongo from doing that and allocating 100M+ files which take a while to be created. Let's keep an eye on the effects this will have in practice in the form of slow-downs while the database itself has to allocate the next file. https://code.launchpad.net/~niemeyer/juju-core/even-faster-bootstrap/+merge/126524 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : environs/cloudinit: prealloc smaller journal files #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -1 line) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M environs/cloudinit/cloudinit.go View 1 chunk +7 lines, -1 line 0 comments Download

Messages

Total messages: 3
niemeyer
Please take a look.
11 years, 6 months ago (2012-09-26 18:21:27 UTC) #1
fwereade
I understand the intent, but I have to take on trust the idea that the ...
11 years, 6 months ago (2012-09-26 21:02:30 UTC) #2
niemeyer
11 years, 6 months ago (2012-09-26 23:11:18 UTC) #3
*** Submitted:

environs/cloudinit: prealloc smaller journal files

Prealloc 1M journal files upfront, to prevent mongo from doing
that and allocating 100M+ files which take a while to be created.

Let's keep an eye on the effects this will have in practice in
the form of slow-downs while the database itself has to allocate
the next file.

R=fwereade
CC=
https://codereview.appspot.com/6569060
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b