Preview

The Herald of the Siberian State University of Telecommunications and Information Science

Advanced search

Self-configurable time source initialization for obtaining high-precision user-space timing

Abstract

In this paper, the algorithms and identification logics of a high performance user-space time source are described along with an experimental comparison of the accuracy and CPU costs of the available time sources under the Linux OS. This mechanism is presented within the unified user-space library HighPerTimer which allows identification of the most appropriate and accurate time source on PC-platforms as well as on ARM-architectures and obtaining a high-accurate down to nanosecond precision of time acquisition. This solution substitutes the accustomed way of getting time value through Linux system calls and provides much faster way for time acquisition.

About the Authors

I. .. Fedotova
Siberian State University of Telecommunications and Informatics
Russian Federation


E. .. Siemens
Anhalt University of Applied Sciences
Russian Federation


References

1. R. Takano, T. Kudoh, Y. Kodama, F. Okazaki. High-resolution timer-based packet pacing mechanism on the Linux operating system // IEICE Transactions on Communication, November 2011.

2. J. Micheel, S. Donnelly and I. Graham, Precision time stamping of network packets // Proceedings of the 1st ACM SIGCOMM Workshop on Internet Measurement, San Francisco, California, USA. November 2001.

3. D. Kachan, E.Siemens, H.Hu. Tools for the high-accuracy time measurement in computer systems, (Russian) // 6th Industrial Scientific Conference «Information Society Technologies». Moscow, 2012.

4. H. Hu. Untersuchung und prototypische Implementierung von Methoden zur hochperformanten Zeitmessung unter Linux, (German), Bachelor Thesis, Anhalt University of Applied Sciences, Koethen. November 2011. 1.3. Performance monitoring with the RDTSC instruction. URL: http://www.ccsl.carleton. ca/~jamuir/rdtscpm1.pdf. Issue: June 2011.

5. E. Corell, P. Saxholm, D. Veitch. A user friendly TSC clock // in Proc. of PAM, Adelaide. Australia, March, 2006.

6. S. Siddha, V. Pallipadi, D. Ven. Getting maximum mileage out of tickles // in Proc. of the 2007 Linux Symposium, 2007.

7. Intel IA-PC HPET (High Precision Event Timers) Specification. URL: http://www.intel.com/content/dam/www/public/us/en/documents/technical-specifications/software-developers-hpet-spec-1-0a.pdf. Issue: October 2004.

8. A. Bakharev, E.Siemens, V.Shuvalov. Methodology of high-accuracy measurements of delay in modern computer systems, (Russian) // 6th Industrial Scientific Conference «Information Society Technologies». Moscow, 2012.

9. Enabling Timekeeping Function and Prolonging Battery Life in Low Power Systems, NXP Semiconductors. URL: http://www.digikey.com/us/en/techzone/microcontrol ler/resources/articles/enabling-timekeeping-function.html. 2011.

10. Intel SpeedStep Technology for the Intel Pentium M Processor, URL: http:// download.intel.com/design/network/papers/30117401.pdf. Issue: March 2012

11. Intel 64 and IA-32 Architectures, Software Developer‘s Manual. URL: http://www.intel.com/content/dam/doc/manual/64-ia-32-architectures-software-developer-vol-1-2a-2b-3a-3b-manual.pdf. Issue: March 2012.

12. J. Ala-Paavola. Software interrupt based real time clock source code project for PIC microcontroller. URL: http://users.tkk.fi/~jalapaav/Electronics/Pic/clock/index. html. August 2007.

13. J. Dike, A user-mode port of the Linux kernel // USENIX Association Berkeley, California, USA, 2000.

14. K. Jain, R. Sekar. User-level infrastructure for system call interposition: A platform for intrustion detection and confinement // In Proceedings of the ISOC Symposium on Network and Distributed System Security, February 2000.

15. GNU Operating System Manual, «Elapsed Time». URL: http://www.gnu.org/ software/libc/manual/html_node/Elapsed-Time.html. Issue: November, 2012.

16. ARM v7-M Architecture Reference Manual, URL: http://infocenter.arm.com/help /index.jsp?topic=/com.arm.doc.dui0395b/CIHCAGHH.html. Issue: November 2010.


Review

For citations:


Fedotova I..., Siemens E... Self-configurable time source initialization for obtaining high-precision user-space timing. The Herald of the Siberian State University of Telecommunications and Information Science. 2012;(4):22-30. (In Russ.)

Views: 194


Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 License.


ISSN 1998-6920 (Print)