Repository navigation
Join only the pairs of a block of C4 that can join in the partition of res cluster - #582
Merged
Merged
Conversation
Owner
Author
|
Check on the 26-source tree (22441 source records): the run with -spill gives the same files as one run in memory (diff 0 on the whole tree, with the same queue and the same joins of each pass). The largest component now has 21 records. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The partition of RS10.8 joined all the records of each block of C4, and the block of each author with the block of the next year. On the full catalogue of 4706235 records, this gave one component of 1119739 records, and the run of that bucket was stopped by the system for lack of memory.
Pass C4 joins two records of a block only when their score is at or above High, and puts them in the queue only when the score is at or above Middle. The score uses only the two records. So the partition now scores the pairs of each block and joins only the pairs at or above Middle. The result of the passes does not change. With a spill directory, the records of the blocks go to 128 spill files by author, and the partition scores one file at a time. The test TestPartitionBlockPairs checks that a block with low scores gives separate components, in memory and with spill files. The tests of the partitioned run against one run all pass. Part of #352.