Matthew Jacobs has posted comments on this change. Change subject: IMPALA-5240: Allow config of number of disk I/O threads per disk type ......................................................................
Patch Set 1: (1 comment) http://gerrit.cloudera.org:8080/#/c/7232/1/be/src/runtime/disk-io-mgr.h File be/src/runtime/disk-io-mgr.h: PS1, Line 637: /// - threads_per_rotational_disk: number of read threads to create per rotational : /// disk. This is also the max queue depth. : /// - threads_per_flash_disk: number of read threads to create per flash disk. This is : /// also the max queue depth. : DiskIoMgr(int num_disks, int threads_per_disk, int min_buffer_size, : int max_buffer_size, int threads_per_rotational_disk = 0, : int threads_per_flash_disk = 0) > I think the best thing would be to remove them because I don't think we hav You can remove threads_per_disk and instead change the tests to pass the same test value to both threads_per_rotational_disk and threads_per_flash_disk. Then you'll exercise the new code paths and get the same behavior that the tests had previously, so it shouldn't change. -- To view, visit http://gerrit.cloudera.org:8080/7232 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: I094aff3747104104fe0465d73dcdbef5d9892f7c Gerrit-PatchSet: 1 Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-Owner: Bikramjeet Vig <[email protected]> Gerrit-Reviewer: Bikramjeet Vig <[email protected]> Gerrit-Reviewer: Matthew Jacobs <[email protected]> Gerrit-Reviewer: Tim Armstrong <[email protected]> Gerrit-HasComments: Yes
