Return-Path: X-Original-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-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 27D309BD9 for ; Fri, 21 Oct 2011 05:17:00 +0000 (UTC) Received: (qmail 74453 invoked by uid 500); 21 Oct 2011 05:16:59 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 74417 invoked by uid 500); 21 Oct 2011 05:16:58 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 74407 invoked by uid 99); 21 Oct 2011 05:16:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Oct 2011 05:16:57 +0000 X-ASF-Spam-Status: No, hits=-2000.5 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; Fri, 21 Oct 2011 05:16:54 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 183AF30C2E5 for ; Fri, 21 Oct 2011 05:14:34 +0000 (UTC) Date: Fri, 21 Oct 2011 05:14:34 +0000 (UTC) From: "Todd Lipcon (Updated) (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <513489254.464.1319174074100.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <555969689.8793.1318986910699.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (MAPREDUCE-3205) MR2 memory limits should be pmem, not vmem 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/MAPREDUCE-3205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Todd Lipcon updated MAPREDUCE-3205: ----------------------------------- Attachment: mr-3205.txt Added one more trivial change - the error message when the NM kills a task now specifies whether it was killed for virtual or physical limit. > MR2 memory limits should be pmem, not vmem > ------------------------------------------ > > Key: MAPREDUCE-3205 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-3205 > Project: Hadoop Map/Reduce > Issue Type: Improvement > Components: mrv2, nodemanager > Affects Versions: 0.23.0 > Reporter: Todd Lipcon > Assignee: Todd Lipcon > Attachments: mr-3205.txt, mr-3205.txt, mr-3205.txt, mr-3205.txt > > > Currently, the memory resources requested for a container limit the amount of virtual memory used by the container. On my test clusters, at least, Java processes take up nearly twice as much vmem as pmem - a Java process running with -Xmx500m uses 935m of vmem and only about 560m of pmem. > This will force admins to either under-utilize available physical memory, or oversubscribe it by configuring the available resources on a TT to be larger than the true amount of physical RAM. > Instead, I would propose that the resource limit apply to pmem, and allow the admin to configure a "vmem overcommit ratio" which sets the vmem limit as a function of pmem limit. -- 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