Difference between revisions of "Private:energySaving"

From NMSL
m
 
(20 intermediate revisions by 2 users not shown)
Line 15: Line 15:
  
 
==Expand analysis to include a global view.==
 
==Expand analysis to include a global view.==
- mathematical model
+
- mathematical model<br/>
 
-Performance metric in terms of bandwidth savings, can be calculated from a global view perspective.
 
-Performance metric in terms of bandwidth savings, can be calculated from a global view perspective.
  
 
==Solve receiving mode problems ==
 
==Solve receiving mode problems ==
- Use PSM for AP mode, and rotating host algorithm for ad-hoc.
+
- Use PSM for AP mode, and rotating host algorithm for ad-hoc.<br/>
 
- Please see Yi's thesis work.
 
- Please see Yi's thesis work.
  
 
==Additional Ideas==
 
==Additional Ideas==
- slow down the game to XX fps to allow the game to sleep longer. Without affecting gaming quality.
+
- slow down the game to XX fps to allow the game to sleep longer. Without affecting gaming quality.<br/>
 
- see Claypool's papers regarding frame rates and gaming quality.
 
- see Claypool's papers regarding frame rates and gaming quality.
  
Line 32: Line 32:
  
 
==Other Notes==
 
==Other Notes==
- Continue to be vague regarding the specific wireless standard. ie. we don't target WiFi or 3G. Instead, we let the reader decide.
+
- Continue to be vague regarding the specific wireless standards. ie. we don't target WiFi or 3G. Instead, we let the reader decides.<br/>
- Discover if there is any periodicity of the data and use this to help determine sleep cycles
+
- Discover if there is any periodicity of the data and use this to help determine sleep cycles<br/>
 
- Provide strong evidence that our solution helps
 
- Provide strong evidence that our solution helps
 +
  
 
==To Do's==
 
==To Do's==
Line 43: Line 44:
 
#*Play a LAN game setup (2 or 3 players) to test the algorithm in energy savings mode
 
#*Play a LAN game setup (2 or 3 players) to test the algorithm in energy savings mode
 
#*Play over the Internet against other players to test algorithm in a mixed environment (with nodes without energy savings)
 
#*Play over the Internet against other players to test algorithm in a mixed environment (with nodes without energy savings)
 +
#*Play over a wireless connection with PSM mode enabled (must use an AP)
 +
#*Play over an Ad-Hoc network setup.
 +
# If possible, find an Android open source game and implement the algorithm.
 +
# Publish many papers :)
 +
 +
 +
==Other ideas==
 +
* If DR is not feasible, most of the items above can be applied to other types of games that do not use DR. Such as:
 +
** Turn-based games (very long silent periods)
 +
** Real-time strategy (RTS) games (medium silent periods)
 +
** Simulation games (medium silent periods, potentially large packet sizes)
 +
** MMORPG games (World of Warcraft client will soon be available on the Apple iPad)
 +
** Virtual Reality, such as Second Life.
 +
  
 +
== Addressing NOSSDAV'10 Reviewers Comments ==
 +
 +
* Should we use a cummulative moving average or an exponential smoothing one (similar to TCP's RTT estimation)? Moving averages assign equal weights to the observations (i.e. 1/N).
 +
* We need to quantify the effect/cost of losing updates (while in sleep mode) on game performance (e.g. precision while shooting). In this direction, we can follow an approach similar to that of Claypool's MMSys'10 paper. This effect can also be added to the PMF figure in the paper.
 +
* Elaborate on the reason behind the spike at 0.1 average error rate in the Fig. 5 bar chart.
 +
* Base our energy consumption model on a more recent WNIC. If possible, try to find the characteristics of one of the wireless chipsets/interfaces in new Wifi-enabled phones.
 +
* Modify the source code of some games (possibly those that run on Android phones) that make use of dead reckoning and add our algorithm to them. Create a network of wireless clients and run sessions of the modified game on that network, measuring both power savings and the effect on the quality of experience. '''Note:''' if using Android phones, we need to figure out how to obtain the measurements from the device (sending over the network is obviously out of the question because this will conflict with what we want to do in the first place).
 +
*
  
  
Line 49: Line 72:
 
Please check these references.
 
Please check these references.
  
*Game Action Based Power Management for Multiplayer Online Game, Anand et al.
+
* [http://portal.acm.org/citation.cfm?id=1592606.1592619&coll=ACM&dl=ACM&CFID=90650770&CFTOKEN=91628280 Game Action Based Power Management for Multiplayer Online Game], Anand et al.
*Experiences from Implementing a Mobile Multiplayer Real-Time Game for Wireless Networks with High Latency, Wang et al.
+
* Experiences from Implementing a Mobile Multiplayer Real-Time Game for Wireless Networks with High Latency, Wang et al.
*Games are Up for DVFS, Gu et al.
+
* [http://portal.acm.org/citation.cfm?id=1146909.1147063&coll=ACM&dl=ACM&CFID=90650770&CFTOKEN=91628280 Games are Up for DVFS], Gu et al.
*Fairness in Dead-Reckoning based Distributed Multiplayer Games, Aggarwal et al.
+
* M. Claypool and K. Claypool, "[http://portal.acm.org/citation.cfm?id=1730863 Latency Can Kill: Precision and Deadline in Online Games]", MMSys'10, 2010
*A Distributed Power Management Policy for Wireless AdHoc Networks, Chiasserini et al.
+
* [http://portal.acm.org/citation.cfm?id=1103599.1103608&coll=ACM&dl=ACM&CFID=90650770&CFTOKEN=91628280 Fairness in Dead-Reckoning based Distributed Multiplayer Games], Aggarwal et al.
*Energy Consumption in Mobile Phones: A Measurement Study..., Balasubramanian et al. (this is a good starting point to build the testbed)
+
* A Distributed Power Management Policy for Wireless AdHoc Networks, Chiasserini et al.
 +
* Balasubramanian et al., [http://portal.acm.org/citation.cfm?id=1644893.1644927 Energy Consumption in Mobile Phones: A Measurement Study and Implications for Network Applications] (this is a good starting point to build the testbed)
 +
* [http://code.google.com/p/kwaak3/ Quake3 port to Android]
 +
* [http://powertutor.org/ PowerTutor] an energy profiler for Android phones developed by University of Michigan (source code not provided)
 +
* [http://www.gamedev.net/community/forums/topic.asp?topic_id=291287&PageSize=25&WhichPage=1 The Quake3 Networking Model]
 +
* [http://caia.swin.edu.au/bitss/papers.html Broadband Internet Traffic Simulation & Synthesis (BITSS)] Live Generation & Simulation of First Person Shooter Game Traffic
 +
 
 +
* [http://www.emarketer.com/Article.aspx?R=1007874 Mobile Gaming Market Tops $800 Million in 2010 (eMarketer Report)]
 +
* [http://gorumors.com/crunchies/us-mobile-gaming-revenues-forecast/ US Mobile Gaming Revenues Forecast]
 +
* [http://venturebeat.com/2010/08/10/overall-game-sales-boosted-by-cell-phone-play-expected-to-grow-in-next-five-years/ Boosted by cell phone play, game sales are expected to grow in next five years]
 +
* [http://www.brighthand.com/default.asp?newsID=16916&news=Mobile+Gaming+Consoles+Decline Mobile Gaming Expected To Soar as Focus Turns to Cell Phones]
 +
* [http://www.isuppli.com/Home-and-Consumer-Electronics/News/Pages/Cell-Phone-Gaming-Soars-as-Consoles-and-Handhelds-Sputter.aspx Cell Phone Gaming Soars as Consoles and Handhelds Sputter]

Latest revision as of 21:53, 25 September 2010

Outline of our research direction

Investigate impact on gaming quality

- specifically analyze the trade-off between energy savings and gaming quality.
- find paper to model gaming quality.

Improve algorithm from linear model to exponential curve.

- compare performance between existing solutions, linear, and exponential model.

Expand simulation/implementation to different games.

- find reference to prove DR is used in practice.
- Show that our solution is game independent

Expand analysis to include a global view.

- mathematical model
-Performance metric in terms of bandwidth savings, can be calculated from a global view perspective.

Solve receiving mode problems

- Use PSM for AP mode, and rotating host algorithm for ad-hoc.
- Please see Yi's thesis work.

Additional Ideas

- slow down the game to XX fps to allow the game to sleep longer. Without affecting gaming quality.
- see Claypool's papers regarding frame rates and gaming quality.

Energy Savings Overhead

- Investigate energy constraints for nodes with and without our energy savings algorithm.
- fairness in game play/quality.
- have nodes without energy constraints do more work

Other Notes

- Continue to be vague regarding the specific wireless standards. ie. we don't target WiFi or 3G. Instead, we let the reader decides.
- Discover if there is any periodicity of the data and use this to help determine sleep cycles
- Provide strong evidence that our solution helps


To Do's

  1. Address the items above ^
  2. Simulate energy savings using Carson's GLS simulator, please talk to Cameron.
    • We have also modified the GLS code to replay latency traces. Please read our IRS MM'10 paper.
  3. Implement the algorithm into BZFlag.
    • Play a LAN game setup (2 or 3 players) to test the algorithm in energy savings mode
    • Play over the Internet against other players to test algorithm in a mixed environment (with nodes without energy savings)
    • Play over a wireless connection with PSM mode enabled (must use an AP)
    • Play over an Ad-Hoc network setup.
  4. If possible, find an Android open source game and implement the algorithm.
  5. Publish many papers :)


Other ideas

  • If DR is not feasible, most of the items above can be applied to other types of games that do not use DR. Such as:
    • Turn-based games (very long silent periods)
    • Real-time strategy (RTS) games (medium silent periods)
    • Simulation games (medium silent periods, potentially large packet sizes)
    • MMORPG games (World of Warcraft client will soon be available on the Apple iPad)
    • Virtual Reality, such as Second Life.


Addressing NOSSDAV'10 Reviewers Comments

  • Should we use a cummulative moving average or an exponential smoothing one (similar to TCP's RTT estimation)? Moving averages assign equal weights to the observations (i.e. 1/N).
  • We need to quantify the effect/cost of losing updates (while in sleep mode) on game performance (e.g. precision while shooting). In this direction, we can follow an approach similar to that of Claypool's MMSys'10 paper. This effect can also be added to the PMF figure in the paper.
  • Elaborate on the reason behind the spike at 0.1 average error rate in the Fig. 5 bar chart.
  • Base our energy consumption model on a more recent WNIC. If possible, try to find the characteristics of one of the wireless chipsets/interfaces in new Wifi-enabled phones.
  • Modify the source code of some games (possibly those that run on Android phones) that make use of dead reckoning and add our algorithm to them. Create a network of wireless clients and run sessions of the modified game on that network, measuring both power savings and the effect on the quality of experience. Note: if using Android phones, we need to figure out how to obtain the measurements from the device (sending over the network is obviously out of the question because this will conflict with what we want to do in the first place).


References

Please check these references.