Package: bash-completion Version: 1:2.8-4 Severity: normal Hi,
with the last upgrade of bash-completion completing hostnames has become slow (takes more than two seconds). My /etc/ssh/ssh_known_hosts file has quite some size (23084 lines / 12 MB), but this was not a problem with the previous implementation. I guess the problem is the while read … done < known_hosts_file loop, where the shell has to read() one byte at a time, causing a massive amount of syscalls (which have become even more costly this year). Regards, Timo -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (900, 'testing'), (900, 'stable'), (800, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 4.18.0-2-amd64 (SMP w/4 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=en_US (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) -- no debconf information