Return-Path: X-Original-To: apmail-giraph-dev-archive@www.apache.org Delivered-To: apmail-giraph-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 14CD9E48C for ; Mon, 4 Feb 2013 22:38:13 +0000 (UTC) Received: (qmail 2664 invoked by uid 500); 4 Feb 2013 22:38:13 -0000 Delivered-To: apmail-giraph-dev-archive@giraph.apache.org Received: (qmail 2592 invoked by uid 500); 4 Feb 2013 22:38:12 -0000 Mailing-List: contact dev-help@giraph.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@giraph.apache.org Delivered-To: mailing list dev@giraph.apache.org Received: (qmail 2529 invoked by uid 500); 4 Feb 2013 22:38:12 -0000 Delivered-To: apmail-incubator-giraph-dev@incubator.apache.org Received: (qmail 2451 invoked by uid 99); 4 Feb 2013 22:38:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Feb 2013 22:38:12 +0000 Date: Mon, 4 Feb 2013 22:38:12 +0000 (UTC) From: "Alessandro Presta (JIRA)" To: giraph-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (GIRAPH-461) Convert static assignment of in-memory partitions with LRU cache MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/GIRAPH-461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13570706#comment-13570706 ] Alessandro Presta commented on GIRAPH-461: ------------------------------------------ True, OOC with multithreading has to be fixed anyway (thanks for doing that!), but the LRU cache is an orthogonal improvement, so it would be good to see some examples where it proves beneficial (like you said, it depends on the algorithm and graph structure) and also make sure that performance doesn't degrade in other cases. We can disregard multithreading in this sort of comparison. > Convert static assignment of in-memory partitions with LRU cache > ---------------------------------------------------------------- > > Key: GIRAPH-461 > URL: https://issues.apache.org/jira/browse/GIRAPH-461 > Project: Giraph > Issue Type: Sub-task > Components: graph > Reporter: Claudio Martella > Attachments: GIRAPH-461.patch, GIRAPH-461.patch, GIRAPH-461.patch > > > Currently, the out-of-core partitions are assigned to memory or to disk statically. Using an LRU cache should help keeping in-memory only the partitions that are actively accessed, given a job that does not access all the graph at each superstep (traversals) and a good data partitioning (non random). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira