Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2E3F57AC7 for ; Thu, 3 Nov 2011 18:57:56 +0000 (UTC) Received: (qmail 59571 invoked by uid 500); 3 Nov 2011 18:57:56 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 59543 invoked by uid 500); 3 Nov 2011 18:57:55 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 59535 invoked by uid 99); 3 Nov 2011 18:57:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Nov 2011 18:57:55 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Nov 2011 18:57:53 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id AD2C1330490 for ; Thu, 3 Nov 2011 18:57:32 +0000 (UTC) Date: Thu, 3 Nov 2011 18:57:32 +0000 (UTC) From: "Sriram Rao (Commented) (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <1766403679.56858.1320346652710.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <529458822.3599.1317662374080.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HADOOP-7714) Umbrella for usage of native calls to manage OS cache and readahead MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-7714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13143446#comment-13143446 ] Sriram Rao commented on HADOOP-7714: ------------------------------------ With ext3 I have seen horrible fragmentation. For instance, on one of our machines (nearly empty drive), when I created a 128MB file, I ended up with 80 fragments. (I used filefrag to get this info). I have used XFS and it has worked out a LOT better. Will do, I'll get you an fallocate patch. > Umbrella for usage of native calls to manage OS cache and readahead > ------------------------------------------------------------------- > > Key: HADOOP-7714 > URL: https://issues.apache.org/jira/browse/HADOOP-7714 > Project: Hadoop Common > Issue Type: Bug > Components: io, native, performance > Affects Versions: 0.24.0 > Reporter: Todd Lipcon > Assignee: Todd Lipcon > Attachments: graphs.pdf, hadoop-7714-2.txt, hadoop-7714-20s-prelim.txt > > > Especially in shared HBase/MR situations, management of the OS buffer cache is important. Currently, running a big MR job will evict all of HBase's hot data from cache, causing HBase performance to really suffer. However, caching of the MR input/output is rarely useful, since the datasets tend to be larger than cache and not re-read often enough that the cache is used. Having access to the native calls {{posix_fadvise}} and {{sync_data_range}} on platforms where they are supported would allow us to do a better job of managing this cache. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira