diff options
author | Willy Tarreau <w@1wt.eu> | 2017-08-28 20:44:51 +0200 |
---|---|---|
committer | Jacek Anaszewski <jacek.anaszewski@gmail.com> | 2017-10-06 21:31:03 +0200 |
commit | 7df4f9a9f0667ee60b1d96c30734c8aa504d5f07 (patch) | |
tree | 6e6157b8bc0d371451ead0db9b9727ba3ac6fc9a /drivers/leds/leds-pca955x.c | |
parent | 9e66317d3c92ddaab330c125dfe9d06eee268aff (diff) | |
download | talos-op-linux-7df4f9a9f0667ee60b1d96c30734c8aa504d5f07.tar.gz talos-op-linux-7df4f9a9f0667ee60b1d96c30734c8aa504d5f07.zip |
leds: ledtrig-activity: Add a system activity LED trigger
The "activity" trigger was inspired by the heartbeat one, but aims at
providing instant indication of the immediate CPU usage. Under idle
condition, it flashes 10ms every second. At 100% usage, it flashes
90ms every 100ms. The blinking frequency increases from 1 to 10 Hz
until either the load is high enough to saturate one CPU core or 50%
load is reached on a single-core system. Then past this point only the
duty cycle increases from 10 to 90%.
This results in a very visible activity reporting allowing one to
immediately tell whether a machine is under load or not, making it
quite suitable to be used in clusters.
Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Diffstat (limited to 'drivers/leds/leds-pca955x.c')
0 files changed, 0 insertions, 0 deletions