hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Chen (JIRA)" <j...@apache.org>
Subject [jira] Updated: (MAPREDUCE-1167) Make ProcfsBasedProcessTree collect rss memory information
Date Tue, 10 Nov 2009 01:29:32 GMT

     [ https://issues.apache.org/jira/browse/MAPREDUCE-1167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Scott Chen updated MAPREDUCE-1167:
----------------------------------

    Attachment: MAPREDUCE-1167-v3.patch

1. Rename rssmem to rssmemPage to help clarify.
2. Throws Exception when PAGESIZE is not available.

@Vinod: After reviewing the code, I think it is better to use page number in ProcessInfo because
ProcessInfo is simply a parsed version of /proc/PID directory. It should be consistent with
what's in /proc. I changed the field's name from rssmem to rssmemPage and also the getters'
names. I think this should be able to help clarify. Also ProcessInfo is a private class. I
think as long as our public methods all use bytes it should be fine.

> Make ProcfsBasedProcessTree collect rss memory information
> ----------------------------------------------------------
>
>                 Key: MAPREDUCE-1167
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1167
>             Project: Hadoop Map/Reduce
>          Issue Type: New Feature
>          Components: tasktracker
>    Affects Versions: 0.20.1
>            Reporter: Scott Chen
>            Assignee: Scott Chen
>         Attachments: MAPREDUCE-1167-v2.patch, MAPREDUCE-1167.patch
>
>
> Right now ProcfsBasedProcess collects only virtual memory. We can make it collect rss
memory as well.
> Later we can use rss in TaskMemoryManagerThread to obtain better memory management.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message