impala-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Armstrong (Code Review)" <>
Subject [Impala-ASF-CR] IMPALA-6121: remove I/O mgr request context cache
Date Wed, 01 Nov 2017 22:39:39 GMT
Hello Michael Ho, Tianyi Wang, 

I'd like you to reexamine a change. Please visit

to look at the new patch set (#5).

Change subject: IMPALA-6121: remove I/O mgr request context cache

IMPALA-6121: remove I/O mgr request context cache

This simplifies the lifecycle of the request contexts and eliminates
some code. The comments claim that request context cache improves
performance when allocating smallish the objects. But allocating
from TCMalloc's thread caches should scale much better than a
global object pool protected by a lock.

I needed to move the definition to a non-internal header file so that it
was visible to clients that manage it by unique_ptr.

We also do not need to transfer the request contexts to the RuntimeState
since I/O buffers do not leave scanners now.

Ran exhaustive tests.

Change-Id: I91414eceaa4938fccd74686fe6bebede6ef36108
M be/src/exec/
M be/src/exec/hdfs-scan-node-base.h
M be/src/exec/
M be/src/exec/
M be/src/runtime/disk-io-mgr-internal.h
M be/src/runtime/
A be/src/runtime/disk-io-mgr-reader-context.h
M be/src/runtime/
M be/src/runtime/
M be/src/runtime/
M be/src/runtime/disk-io-mgr.h
M be/src/runtime/
M be/src/runtime/runtime-state.h
M be/src/runtime/
M be/src/runtime/
M be/src/runtime/tmp-file-mgr.h
16 files changed, 639 insertions(+), 804 deletions(-)

  git pull ssh:// refs/changes/08/8408/5
To view, visit
To unsubscribe, visit

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I91414eceaa4938fccd74686fe6bebede6ef36108
Gerrit-Change-Number: 8408
Gerrit-PatchSet: 5
Gerrit-Owner: Tim Armstrong <>
Gerrit-Reviewer: Michael Ho <>
Gerrit-Reviewer: Tianyi Wang <>
Gerrit-Reviewer: Tim Armstrong <>

  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message