Bug#990740: esix package consumes 100% cpu
Package: esix
Version: 1-3
Severity: normal
X-Debbugs-Cc: scruss@gmail.com
Dear Maintainer,
Expected results:
1. Launch esix in terminal
2. Interact with ESI-X language REPL
Actual results:
1. Launch esix in terminal
2. Interact with ESI-X language REPL
3. Computer CPU usage climbs to 100% as REPL busy-waits for input.
Suggested bug fix:
Modify /usr/share/esix/esix.cfg from:
load esix.bin
run 5400
to
set cpu idle
load esix.bin
run 5400
This will cause the simh PDP-8 emulator that runs the ESI-X binary to
throttle down when it detects a busy loop. It may take 25-30 seconds for
CPU usage to calm down.
Previously reported to Ubuntu bugs as
https://bugs.launchpad.net/debian/+source/esix/+bug/1660456
but this issue is present in the upstream Debian esix.cfg file
-- System Information:
Debian Release: bullseye/sid
APT prefers hirsute-updates
APT policy: (500, 'hirsute-updates'), (500, 'hirsute-security'), (500,
'hirsute')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.11.0-22-generic (SMP w/8 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8),
LANGUAGE=en_CA:en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Reply to: