Hey Muhuan, By adding "GPUs/FPGAs" to resources do you mean *accounting* for them properly or *isolating* them. The former should be possible out of the box. Just add this new resource type when you start a slave (see --resources flag). For properly isolation these resources, we need new isolators to be written.
AFAIK, it is not in our roadmap to add these isolators. That said, with 0.18.0 we made it easier to add new isolators. So maybe you want to give it a shot? @vinodkone On Mon, Mar 24, 2014 at 8:04 AM, Tim St Clair <[email protected]> wrote: > I think many can agree that *this is a useful feature, but be forewarned, > "Thar be dragons in this space!" > > There is a high degree of variability across GPU's, their abilities, and > apis. That shouldn't deter folks, but it may be wise to leverage other > communities on how they approached this problem, and learn from their > wisdom as well as mistakes. > > - Simpler is better > - Think non-fungible > - Script for discovery > > A couple of quick refs: > older ref: > https://htcondor-wiki.cs.wisc.edu/index.cgi/wiki?p=HowToManageGpus > > http://techblog.netflix.com/2014/02/distributed-neural-networks-with-gpus.html > I'll let Erik point out the other refs, he has spent a large amount of > time in this area, and has looked @ (N) resources. > > Cheers, > Tim > > ------------------------------ > > *From: *"Muhuan Huang" <[email protected]> > *To: *[email protected] > *Sent: *Sunday, March 23, 2014 11:53:53 PM > *Subject: *Adding GPUs/FPGAs into the resources > > > Dear Mesos users, > > I think it's great if Mesos can handle resources such as GPUs and FPGAs. > So I'm wondering that has anyone ever tried to include GPUs/FPGAs as one of > the resources, or is it somewhere in the Mesos roadmap? > > If not, I'd very much appreciate if anyone can shed some light on the > changes needed in the source code. From my understanding, master/slave.cpp > are the major pieces of the code that need modifications? > > Thanks, > Muhuan > > > > > -- > Cheers, > Tim > Freedom, Features, Friends, First -> Fedora > https://fedoraproject.org/wiki/SIGs/bigdata >

