skip to main content
10.1145/3458305.3478449acmconferencesArticle/Chapter ViewAbstractPublication PagesmmsysConference Proceedingsconference-collections
research-article
Artifacts Evaluated & Functional / v1.1

EvLag: A Tool for Monitoring and Lagging Linux Input Devices

Published:22 September 2021Publication History

ABSTRACT

Understanding the effects of latency on interaction is important for building software, such as computer games, that perform well over a range of system configurations. Unfortunately, user studies evaluating latency must each write their own code to add latency to user input and, even worse, must limit themselves to open source applications. To address these shortcomings, this paper presents EvLag, a tool for adding latency to user input devices in Linux. EvLag provides a custom amount of latency for each device regardless of the application being run, enabling user studies for systems and software that cannot be modified (e.g., commercial games). Evaluation shows EvLag has low overhead and accurately adds the expected amount of latency to user input. In addition, EvLag can log user input events for post study analysis with several utilities provided to facilitate output event parsing.

Skip Supplemental Material Section

Supplemental Material

References

  1. R. Amin, F. Jackson, J. Gilbert, J. Martin, and T. Shaw. [n.d.]. Assessing the Impact of Latency and Jitter on the Perceived Quality of Call of Duty Modern Warfare 2. In Proceedings of HCI -- Users and Contexts of Use. Berlin, Heidelberg.Google ScholarGoogle Scholar
  2. G. Armitage. 2003. An Experimental Estimation of Latency Sensitivity in Multi-player Quake 3. In Proceedings of IEEE ICON. Sydney, Australia.Google ScholarGoogle ScholarCross RefCross Ref
  3. Y. Bernier. 2001. Latency Compensating Methods in Client/Server In-game Protocol Design and Optimization. In the GDC. San Francisco, CA, USA.Google ScholarGoogle Scholar
  4. M. Carbone and L. Rizzo. 2010. Dummynet Revisited. ACM SIGCOMM Computer Communications Review 40, 2 (April 2010).Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. G. Casiez, S. Conversy, M. Falce, S. Huot, and N. Roussel. 2015. "Looking through the Eye of the Mouse: A Simple Method for Measuring End-to-end Latency using an Optical Mouse". In Proceedings of the 28th Annual ACM Symposium on User Interface Software and Technology (UIST).Google ScholarGoogle Scholar
  6. K. Chen, Y. Chang, H. Hsu, D. Chen, C. Huang, and C. Hsu. 2014. On the Quality of Service of Cloud Gaming Systems. IEEE Trans. on Multimedia 26, 2 (Feb. 2014).Google ScholarGoogle Scholar
  7. Mark Claypool, Andy Cockburn, and Carl Gutwin. 2019. Game Input with Delay - Moving Target Selection Parameters. In Proceedings of ACM Multimedia Systems Conference (MMSys). Amherst, MA, USA.Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. M. Claypool, R. Eg, and K. Raaen. 2017. Modeling User Performance for Moving Target Selection with a Delayed Mouse. In Proceedings of the 23rd International Conference on MultiMedia Modeling (MMM). Reykjavik, Iceland.Google ScholarGoogle Scholar
  9. M. Claypool and D. Finkel. 2014. The Effects of Latency on Player Performance in Cloud-based Games. In Proceedings of the 13th ACM Network and System Support for Games (NetGames). Nagoya, Japan.Google ScholarGoogle Scholar
  10. M. Dick, O. Wellnitz, and L. Wolf. 2005. Analysis of Factors Affecting Players’ Performance and Perception in Multiplayer Games. In Proceedings of ACM NetGames. Hawthorn, NY, USA.Google ScholarGoogle Scholar
  11. T. Fritsch, H. Ritter, and J. Schiller. 2005. The Effect of Latency and Network Limitations on MMORPGs: a Field Study of Everquest 2. In Proceedings of ACM NetGames. Hawthorne, NY, USA.Google ScholarGoogle Scholar
  12. O. Hossfeld, H. Fiedler, E. Pujol, and D. Guse. 2016. Insensitivity to Network Delay: Minecraft Gaming Experience of Casual Gamers. In Proceedings of the International Teletraffic Congress (ITC). IEEE, Würzburg, Germany, 31--33.Google ScholarGoogle Scholar
  13. Z. Ivkovic, I. Stavness, C. Gutwin, and s. Sutcliffe. 2015. Quantifying and Mitigating the Negative Effects of Local Latencies on Aiming in 3D Shooter Games. In Proceedings of the ACM CHI. Seoul, Korea.Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. I. Lee, S. Kim, and B. Lee. 2019. Geometrically Compensating Effect of End-to-End Latency in Moving-Target Selection Games. In Proceedings of the ACM CHI.Google ScholarGoogle Scholar
  15. S. Liu, A. Kuwahara, J. Sherman, J. Scovell, and M. Claypool. 2021. Lower is Better? The Effects of Local Latencies on Competitive First Person Shooter Game Players. In Proceedings of ACM CHI. Virtual Conference.Google ScholarGoogle Scholar
  16. M. Long and C. Gutwin. 2018. Characterizing and Modeling the Effects of Local Latency on Game Performance and Experience. In Proceedings of the ACM CHI Play. Melbourne, VC, Australia.Google ScholarGoogle Scholar
  17. M. Long and C. Gutwin. 2019. Effects of Local Latency on Game Pointing Devices and Game Pointing Tasks. In Proceedings of the ACM CHI. Glasgow, Scotland.Google ScholarGoogle Scholar
  18. R. Netravali, A. Sivaraman, S. Das, A. Goyal, K. Winstein, J. Mickens, and H. Balakrishnan. 2015. Mahimahi: Accurate Record-and-replay for HTTP. In USENIX Annual Technical Conference (ATC). Santa Clara, CA, USA.Google ScholarGoogle Scholar
  19. V. Pavlik. 1999 - 2001. Linux Input Drivers v1.0. Online: https://www.kernel.org/doc/Documentation/input/input.txt.Google ScholarGoogle Scholar
  20. A. Pavlovych and C. Gutwin. 2012. Assessing Target Acquisition and Tracking Performance for Complex Moving Targets in the Presence of Latency and Jitter. In Proceedings of Graphics Interface. Toronto, ON, Canada.Google ScholarGoogle Scholar
  21. A. Pavlovych and W. Stuerzlinger. 2011. Target Following Performance in the Presence of Latency, Jitter, and Signal Dropouts. In Proceedings of Graphics Interface. St. John’s, NL, Canada.Google ScholarGoogle Scholar
  22. P. Quax, P. Monsieurs, W. Lamotte, D. De Vleeschauwer, and N. Degrande. 2004. Objective and Subjective Evaluation of the Influence of Small Amounts of Delay and Jitter on a Recent First Person Shooter Game. In Proceedings of ACM NetGames. Portland, OG, USA.Google ScholarGoogle Scholar
  23. K. Raaen and I. Kjellmo. 2015. Measuring Latency in Virtual Reality Systems. In Proceedings of International Conference on Entertainment Computing (ICEC).Google ScholarGoogle Scholar
  24. K. Raaen and A. Petlund. 2015. How Much Delay Is There Really in Current Games? Proceedings of ACM Multimedia Systems (March 2015).Google ScholarGoogle ScholarDigital LibraryDigital Library
  25. B. Ruiz. 2020. The Most Accurate Way to Schedule a Function in a Web Browser. Online: https://tinyurl.com/53xyex6s. (Accessed June 5, 2021).Google ScholarGoogle Scholar
  26. S. Sabet, S. Schmidt, S. Zadtootaghaj, B. Naderi, C. Griwodz, and S. Moller. 2020. A Latency Compensation Technique Based on Game Characteristics to Mitigate the Influence of Delay on Cloud Gaming Quality Of Experience. In Proceedings of ACM Multimedia Systems Conference (MMSys). Istanbul, Turkey.Google ScholarGoogle Scholar
  27. A. Schmid and R. Wimmer. 2021. Yet Another Latency Measuring Device. In Proceedings of the ACM Esports and High Performance HCI Workshop (EHPHCI). Virtual Conference.Google ScholarGoogle Scholar
  28. N. Sheldon, E. Girard, S. Borg, M. Claypool, and E. Agu. 2003. The Effect of Latency on User Performance in Warcraft III. In Proceedings of ACM Network and System Support for Games Workshop (NetGames). Redwood City, CA, USA.Google ScholarGoogle Scholar
  29. D. Stuckel and C. Gutwin. 2008. The Effects of Local Lag on Tightly-Coupled Interaction in Distributed Groupware. In Proceedings of theACM Conference on Computer Supported Cooperative Work. San Diego, CA, USA.Google ScholarGoogle Scholar
  30. J. Sun and M. Claypool. 2019. Evaluating Streaming and Latency Compensation in a Cloud-based Game. In In Proceedings of the 15th IARIA Advanced International Conference on Telecommunications (AICT). Nice, France.Google ScholarGoogle Scholar
  31. Chen Tao. [n.d.]. Clumsy. Online: https://jagt.github.io/clumsy/.Google ScholarGoogle Scholar
  32. The Linux Foundation. [n.d.]. netem. Online: https://wiki.linuxfoundation.org/networking/netem.Google ScholarGoogle Scholar
  33. R. Wimmer, A. Schmid, and F. Bockes. 2019. On the Latency of USB-Connected Input Devices. In Proceedings of the ACM CHI.Google ScholarGoogle Scholar

Index Terms

  1. EvLag: A Tool for Monitoring and Lagging Linux Input Devices

    Recommendations

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in
    • Published in

      cover image ACM Conferences
      MMSys '21: Proceedings of the 12th ACM Multimedia Systems Conference
      June 2021
      254 pages
      ISBN:9781450384346
      DOI:10.1145/3458305

      Copyright © 2021 ACM

      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 22 September 2021

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • research-article

      Acceptance Rates

      MMSys '21 Paper Acceptance Rate18of55submissions,33%Overall Acceptance Rate176of530submissions,33%

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader