Peripheral Time Counter for High-Resolution HPC Timing
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
High Performance Computing (HPC) clusters face performance penalties due to the use of system-managed time counters and clocks, which are not sufficiently resolution for real-time applications, leading to inefficiencies in time-based functions such as alarms and notifications.
Innovation Solution
A method and device for remote time management in HPC systems, utilizing a peripheral with a time counting mechanism that creates entries in a monitoring queue, comparing current and expiry instants, and storing data in virtual memory, allowing for efficient time-based functionalities without kernel intervention, implemented in a network card with a cyclic event monitoring queue manager.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If system-managed time counters and clocks are used for time-based functions, then time management functionality is provided, but performance penalties occur and resolution is insufficient for real-time applications
Solution Approach 1:
The patent extracts the time counter functionality from the operating system kernel and relocates it to a peripheral device. This allows the time-based functions to be executed in hardware without requiring kernel intervention, thereby eliminating performance penalties while maintaining high resolution timing capabilities. The peripheral maintains its own independent time counter that can be accessed directly by applications through memory-mapped I/O.
Solution Approach 2:
The patent introduces a peripheral device as an intermediary between the operating system and applications requiring time-based functions. This peripheral acts as a mediator that provides high-resolution timing services without burdening the kernel, using mechanisms like memory-mapped I/O and event queues to interface with the system while maintaining independence from the OS time management infrastructure.
2Ease of operation
If kernel-managed timers are used for alarms and notifications, then time-based functions are available, but excessive performance penalties occur due to system call overhead
Solution Approach 1:
The patent enables applications to access time-based functions directly through the peripheral device without requiring kernel services. The peripheral autonomously manages its own time counter and can be programmed directly by applications using simple memory writes, eliminating the need for system calls and kernel intervention. This self-service approach provides both ease of operation and high execution efficiency.
Solution Approach 2:
The patent removes the dependency on kernel-managed timers by extracting the time counter functionality to a peripheral device. Applications can now set up alarms and notifications by writing directly to the peripheral's memory-mapped registers, completely bypassing the kernel timer subsystem and eliminating associated performance penalties.
3Measurement precision
If operating system time counters are used, then time management is provided, but the resolution is not high enough for real-time applications
Solution Approach 1:
The patent introduces a peripheral device as an intermediary that provides high-resolution timing independent of the operating system. This peripheral contains its own time counter with higher resolution than OS timers and interfaces with applications through memory-mapped I/O, providing precise timing without complicating the OS architecture.
Solution Approach 2:
The patent segments the time management functionality into two independent parts: the operating system's time management for general purposes, and a peripheral-based time counter for high-resolution real-time requirements. This segmentation allows each component to operate independently with optimized characteristics for its specific purpose without increasing overall system complexity.
Data Source
Figure 1
Figure 2~3
Figure 4
AI summary
The method involves receiving a time calculation command, and creating an entry in response to reception of the time calculation command, where the entry includes data relative to time and references of events (300). A current moment and a moment of expiry linked to data relative to a time reference is compared, and the data relative to the time reference is stored in real-time memory space. A part corresponding to a part of virtual memory space is stored in the real-time memory space. Independent claims are also included for the following: (1) a computer program comprising instructions for performing off-set time calculation method (2) a device for calculation of off-set time.