I. Introduction
While extensively studied for their information dissemination and media hosting capabilities, ad hoc networks have received considerably less attention for their computing outsourcing potential. The reasons are obvious: mobile devices are usually less capable than PCs and their reliance on battery power makes them an unlikely choice for outsourcing their CPU. In this work we consider however a special type of networked devices: set-top-boxes (STBs) and mobile phones. IP based STBs are not only always plugged in and networked but also idle for long intervals. Moreover, many cellphones are left on while charging and at night incur minimal networking fees. Most STBs and smartphones have processors in the 300MHz-1GHz range [6], [18]. This, coupled with the pervasiveness of such devices
There are hundreds of millions of cellphones and tens of millions of IP STBs in use today.
make them an excellent platform for executing outsourced computations.