Re: EthStatus erzeugt hohe Prozessorlast
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 12/31/2007 04:24 PM, Sven Eichler wrote:
> Hallo
Hallo Sven
> Seit dem Wechsel von Kernel 2.6.18-5-686 zu 2.6.22-3-686 (von BPO) erzeugt
> das Programm EthStatus bei mir eine ständige CPU-Auslastung von ca. 86%.
> Das ist mit dem Kernel 2.6.18 definitiv nicht der Fall gewesen.
>
> Kann das jemand bestätigen?
Ich kann dieses Verhalten unter Ubuntu 7.10 (Kernel 2.6.22-14-generic)
bestätigen. Bei mir isst ethstatus 80% eines CPU-Cores. Die Hauptlast
wird im Userspace erzeugt.
> Gibt es Möglichkeiten den Grund für dieses Verhaltung herauszufinden?
Ich würde einen Bugreport an den Entwickler und/oder Debian schreiben.
Sicherlich kannst du das auch selbst fixen bei Open Source und
entsprechendem Know-How.
Mit oprofile kannst du das Problem eingrenzen
# apt-cache show oprofile
[...]
Description: system-wide profiler for Linux systems
OProfile is a performance profiling tool for Linux systems, capable
of profiling all running code at low overhead. It consists of a
daemon for collecting sample data, plus several post-profiling tools
for turning data into information. Using OProfile also requires
a kernel module, either contained in a separate package called
'oprofile-modules' for 2.2 and 2.4 kernels, or for 2.6 kernels,
the OProfile kernel module is part of the Linux kernel source and
must be built from the 'kernel-source' package.
.
OProfile leverages the hardware performance counters of the x86 CPU and
the PMU (Performance Monitoring Unit) of the ia64 CPU to enable profiling
of a wide variety of interesting statistics, which can also be used for
basic time-spent profiling. All code is profiled: hardware and software
interrupt handlers, kernel modules, the kernel, shared libraries, and
applications (the only exception being the OProfile interrupt handler
itself). Note that different architectures can use different hardware
mechanisms to collect data.
.
OProfile is currently in alpha status; however it has proven stable over
a large number of differing configurations. As always, there is no
warranty.
[...]
> Package: ethstatus
> Version: 0.4.3
> System: Debian Etch mit BPO
beste Grüsse
Simon
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHeRrxEMN/lNE/wrwRAibcAJ40Yi6RwJwR3Vo//VW6Ets6gDrUUQCeLQrL
jU4pMDkSF0pZukCZl/OWUfc=
=IVKj
-----END PGP SIGNATURE-----
Reply to: