Zum Hauptinhalt springen
Unix & Linux Server(中文) 应用商店 | 微信 Linux 版功能大更新!(18.09.2026 um 09:46 Uhr)
Sichere ProgrammierungEradicating Slow TTFB: Streaming SSR in Next.js ⚡(18.09.2026 um 09:43 Uhr)
Sichere ProgrammierungBuilding Kubernetes operators with OCaml(18.09.2026 um 09:51 Uhr)
Sichere ProgrammierungRequire a Job Receipt. Apply Nothing the Schema Cannot Parse.(18.09.2026 um 09:57 Uhr)
Sichere ProgrammierungThe Lab Host Is Not Prod: A Fail-Closed Promotion Checklist(18.09.2026 um 10:00 Uhr)
Sichere ProgrammierungPNG is lossless, palette reduction is not(18.09.2026 um 10:04 Uhr)
Unix & Linux Server(中文) 应用商店 | 微信 Linux 版功能大更新!(18.09.2026 um 09:46 Uhr)
Sichere ProgrammierungEradicating Slow TTFB: Streaming SSR in Next.js ⚡(18.09.2026 um 09:43 Uhr)
Sichere ProgrammierungBuilding Kubernetes operators with OCaml(18.09.2026 um 09:51 Uhr)
Sichere ProgrammierungRequire a Job Receipt. Apply Nothing the Schema Cannot Parse.(18.09.2026 um 09:57 Uhr)
Sichere ProgrammierungThe Lab Host Is Not Prod: A Fail-Closed Promotion Checklist(18.09.2026 um 10:00 Uhr)
Sichere ProgrammierungPNG is lossless, palette reduction is not(18.09.2026 um 10:04 Uhr)
Intelligence View
⚡ tsecurity.de Intelligence

Energy saving is everybody's business

With the wide acceptance of laptop and even smaller devices more and more people have been exposed to devices limited by energy consumption. Still, programmers don't pay much attention to this aspect.

This statement is not entirely accurate: there has been a big push towards energy conservation in the kernel world (at least in the Linux kernel). With the tickless kernels we have the infrastructure to sleep for long times (long is a relative term here). Other internal changes avoid unnecessary wakeups. It is now realy up to the userlevel world to do its part.

The situation is pretty dire here. There are some projects (e.g., PowerTOP) which highlight the problems. Still, not much happens.

I've been somewhat guilty myself. nscd (part of glibc) was waking up every 5 seconds to clean up its cache, even if often was to be done. This program structure has several reasons. Good ones, but not ultimate reason. So I finally bit the bullet and changed the program structure significantly to better enable wakeup. The result is that now nscd at all times determines when the next cache cleanup is due and sleeps until then. Cache cleanups might be many hours out, so the code improved from one wakeups every 5 seconds to one wakeup every couple of hours.

nscd is a very small drop in the bucket, though. Just look at your machine and examine the running processes and those which are regularly started. PowerTOP cannot realy help here (Arjan said something will be coming soon though).

There is a tool which can help, though: systemtap. Simply create a small script which traps syscalls the violators will use and disply process information. The syscalls to use include: open, stat, access, poll, epoll, select, nanosleep, futex. For the latter five it is a matter of small timeout values which is the problem.

I'll post a script to do this soon (just not now). But the guilty parties probably already know who they are. Just don't do this quasi busy waiting!

  • If a program has to react to a file change or removal or creation, use inotify
  • for internal cleanups, choose reasonable values and then compute the timeout so that you don't wake up when nothing has to be done.

If you want to see how not to do it, look at something like the flash player (the proprietary one). If you inadvertently have started it it'll remain active (even if no flash page is displayed) and it is basically busy waiting on something.

Let's show the proprietary software world we can do better.

Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Energy saving is everybody's business

Thematisch verwandte Begriffe: Energy, saving, everybodys, business · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-61591 | djust provides Phoenix LiveView-style reactive server-side rendering for…
Advisory →
TTS Reader • tsecurity.de Voice
tsecurity.de Icon
tsecurity.de App
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag
Themen-Radar & Intelligence Matrix
Echtzeit-Taxonomie nach Angriffsvektoren & Plattformen
Community Radar & Live Chat
Sentinel Bot online • Live-Stream
Dein Cluster: Security Explorer
Match:
lädt…
Verbindung zum Community-Stream wird aufgebaut...
Aktivitäten deiner Analysten
lädt…
Neues Thema oder Eilmeldung einreichen

Reiche interessante Links, Zero-Days oder Debatten ein. Die Community entscheidet per Upvote über die Veröffentlichung.

Heiß diskutierte Einreichungen
🔖 Gespeicherte Artikel
📂 Keine gespeicherten Artikel vorhanden.
News ⏱️ 3 Min vor 10 Min
Artikeldaten werden geladen...

↗ Original-Quelle