System-Wide Daemon for Process Activity Data Access

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current power management systems require root-level access for user space tracing of processor wakeups, which is not suitable for multi-user workstations and incurs power and latency costs, and can lead to conflicts when multiple applications enable and disable tracing functionality.

Innovation Solution

A system-wide power management daemon provides an API to allow multiple user space applications to access process activity data without requiring root privileges, enabling power management policies and reducing power consumption by scheduling tasks during idle times and alerting users to unnecessary wakeups.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If user space applications enable kernel and user space logging to monitor processor wakeups, then process activity data can be accessed for power management, but root-level access privileges are required which is not suitable for multi-user workstations

Engineering Contradiction:
Improveaccess to process activity dataVSAvoidaccess privilege requirements
Core Design Contradiction:
Ease of operationVSDevice complexity

Solution Approach 1:

A system-wide daemon is introduced as an intermediary component that runs with root privileges and provides controlled access to process activity data through a standardized API. The daemon acts as a mediator between the kernel logging facilities and user space applications, allowing non-root users to access wakeup data without requiring them to have root access privileges.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Productivity

If multiple user space applications enable and disable tracing functionality, then power management monitoring can be performed, but conflicts occur between instances preventing correct operation

Engineering Contradiction:
Improvepower management monitoring capabilityVSAvoidtracing functionality stability
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The system-wide daemon serves as a centralized intermediary that manages the enabling and disabling of tracing functionality. Instead of multiple applications directly controlling logging, they all interact through the daemon's API, which serializes access and ensures that tracing is enabled/disabled in a coordinated manner, preventing conflicts between instances.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The daemon automatically manages the tracing state based on API requests from multiple applications. It tracks which applications need the data and enables tracing only when needed, disabling it when no applications are using the service, thereby eliminating conflicts while maintaining continuous availability to authorized users.

Inventive Principle:
Principle #25Self-service

3Loss of energy

If user space tracing is enabled to monitor process wakeups, then power consumption can be reduced by identifying frequent wakeups, but measurable power and latency costs are incurred

Engineering Contradiction:
Improvepower consumption reductionVSAvoidtracing functionality power cost
Core Design Contradiction:
Loss of energyVSUse of energy by moving object

Solution Approach 1:

The daemon implements periodic sampling of process activity data from kernel logs rather than continuous monitoring. It collects wakeup information at regular intervals and provides this data to applications through the API, reducing the power and latency costs associated with continuous tracing while still enabling effective power management analysis.

Inventive Principle:
Principle #19Periodic action

Data Source

PatentUS8307230B2Methods for managing process activity data using a system-wide daemon
Publication Date: 2012.11.06 RED HAT INC
  • US8307230B2 patent drawing
  • US8307230B2 patent drawing
  • US8307230B2 patent drawing

AI summary

Techniques for managing process activity statistics using a system-wide daemon are described herein. A power management daemon retrieves process activity status data from a system monitoring file stored within a data processing system, in response to a request received from a session client via an application programming interface (API). The power management daemon is a single system-wide component within the data processing system to provide the process activity status data to a plurality of session clients. The retrieved process activity status data is returned to the client via the API, where the system monitoring file requires a predetermined accessing privilege for accessing. Thus, through the power management daemon, the session client does not have to satisfy the predetermined accessing privilege in order to access the process activity status data stored in the system monitoring file.