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 Mon, 30 Oct 2017 17:11:43 GMT
Tim Armstrong has uploaded a new patch set (#2). ( )

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, 628 insertions(+), 780 deletions(-)

  git pull ssh:// refs/changes/08/8408/2
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: 2
Gerrit-Owner: Tim Armstrong <>

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