Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 442462009C6 for ; Tue, 31 May 2016 16:02:15 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 429191609AD; Tue, 31 May 2016 14:02:15 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id B2B69160A44 for ; Tue, 31 May 2016 16:02:14 +0200 (CEST) Received: (qmail 5551 invoked by uid 500); 31 May 2016 14:02:13 -0000 Mailing-List: contact dev-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list dev@flink.apache.org Received: (qmail 5253 invoked by uid 99); 31 May 2016 14:02:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 May 2016 14:02:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 0828D2C1F68 for ; Tue, 31 May 2016 14:02:13 +0000 (UTC) Date: Tue, 31 May 2016 14:02:13 +0000 (UTC) From: "Greg Hogan (JIRA)" To: dev@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (FLINK-3997) PRNG Skip-ahead MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 31 May 2016 14:02:15 -0000 Greg Hogan created FLINK-3997: --------------------------------- Summary: PRNG Skip-ahead Key: FLINK-3997 URL: https://issues.apache.org/jira/browse/FLINK-3997 Project: Flink Issue Type: Improvement Components: Gelly Affects Versions: 1.1.0 Reporter: Greg Hogan Assignee: Greg Hogan The current sources of randomness for Gelly Graph Generators use fixed-size blocks of work which include an initial seed. There are two issues with this approach. First, the size of the collection of blocks can exceed the Akka limit and cause the job to silently fail. Second, as the block seeds are randomly chosen, the likelihood of blocks overlapping and producing the same sequence increases with the size of the graph. The random generators will be reimplemented using {{SplittableIterator}} and PRNGs supporting skip-ahead. This ticket will implement skip-ahead with LCGs [0]. Future work may add support for xorshift generators ([1], section 5 "Jumping Ahead"). [0] https://mit-crpg.github.io/openmc/methods/random_numbers.html#skip-ahead-capability [1] https://arxiv.org/pdf/1404.0390.pdf -- This message was sent by Atlassian JIRA (v6.3.4#6332)