Re: Containers and CPU

2013-07-02 Thread Sandy Ryza
ontainers per 8-core node? > > John > > ** ** > > ** ** > > *From:* Sandy Ryza [mailto:sandy.r...@cloudera.com] > *Sent:* Tuesday, July 02, 2013 1:26 PM > > *To:* user@hadoop.apache.org > *Subject:* Re: Containers and CPU > > ** ** > > Use

RE: Containers and CPU

2013-07-02 Thread John Lilley
1:26 PM To: user@hadoop.apache.org Subject: Re: Containers and CPU Use of cgroups for controlling CPU is off by default, but can be turned on as a nodemanager configuration with yarn.nodemanager.linux-container-executor.resources-handler.class. So it is site-wide. If you want tasks to purely

Re: Containers and CPU

2013-07-02 Thread Sandy Ryza
have access to all CPU cores and simply fight it > out in the OS thread scheduler. > > Thanks, > > john > > ** ** > > *From:* Sandy Ryza [mailto:sandy.r...@cloudera.com] > *Sent:* Tuesday, July 02, 2013 11:56 AM > *To:* user@hadoop.apache.org > *Subjec

RE: Containers and CPU

2013-07-02 Thread John Lilley
org Subject: RE: Containers and CPU Sandy, Sorry, I don't completely follow. When you say "with cgroups on", is that an attribute of the AM, the Scheduler, or the Site/RM? In other words is it site-wide or something that my application can control? With cgroups on, is there still a

RE: Containers and CPU

2013-07-02 Thread John Lilley
or? I'd really like all tasks to have access to all CPU cores and simply fight it out in the OS thread scheduler. Thanks, john From: Sandy Ryza [mailto:sandy.r...@cloudera.com] Sent: Tuesday, July 02, 2013 11:56 AM To: user@hadoop.apache.org Subject: Re: Containers and CPU CPU limits are only

Re: Containers and CPU

2013-07-02 Thread Sandy Ryza
CPU > into account. > > ** ** > > -Chuan > > ** ** > > *From:* John Lilley [mailto:john.lil...@redpoint.net] > *Sent:* Tuesday, July 02, 2013 8:57 AM > *To:* user@hadoop.apache.org > *Subject:* Containers and CPU > > ** ** > > I have YARN tasks th

RE: Containers and CPU

2013-07-02 Thread Chuan Liu
[mailto:john.lil...@redpoint.net] Sent: Tuesday, July 02, 2013 8:57 AM To: user@hadoop.apache.org Subject: Containers and CPU I have YARN tasks that benefit from multicore scaling. However, they don't *always* use more than one core. I would like to allocate containers based only on memory, and let each

Containers and CPU

2013-07-02 Thread John Lilley
I have YARN tasks that benefit from multicore scaling. However, they don't *always* use more than one core. I would like to allocate containers based only on memory, and let each task use as many cores as needed, without allocating exclusive CPU "slots" in the scheduler. For example, on an 8-