CentOS 10's dnf is painfully slow (original) (raw)

These are the crucial parts:

19:02:31 socket(AF_INET, SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK, IPPROTO_IP) = 3
19:02:31 setsockopt(3, SOL_IP, IP_RECVERR, [1], 4) = 0
19:02:31 connect(3, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("192.168.122.1")}, 16) = 0
19:02:31 poll([{fd=3, events=POLLOUT}], 1, 0) = 1 ([{fd=3, revents=POLLOUT}])
19:02:31 sendmmsg(3, [{msg_hdr={msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\26\177\1\0\0\1\0\0\0\0\0\0\4cs10\0\0\1\0\1", iov_len=22}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, msg_len=22}, {msg_hdr={msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\301~\1\0\0\1\0\0\0\0\0\0\4cs10\0\0\34\0\1", iov_len=22}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, msg_len=22}], 2, MSG_NOSIGNAL) = 2
19:02:31 poll([{fd=3, events=POLLIN}], 1, 5000) = 1 ([{fd=3, revents=POLLIN}])
19:02:31 ioctl(3, FIONREAD, [38])       = 0
19:02:31 recvfrom(3, "\26\177\205\200\0\1\0\1\0\0\0\0\4cs10\0\0\1\0\1\300\f\0\1\0\1\0\0\0\0"..., 2048, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("192.168.122.1")}, [28 => 16]) = 38
19:02:31 poll([{fd=3, events=POLLIN}], 1, 4999) = 0 (Timeout)
19:02:36 poll([{fd=3, events=POLLOUT}], 1, 0) = 1 ([{fd=3, revents=POLLOUT}])
19:02:36 sendto(3, "\26\177\1\0\0\1\0\0\0\0\0\0\4cs10\0\0\1\0\1", 22, MSG_NOSIGNAL, NULL, 0) = 22
19:02:36 poll([{fd=3, events=POLLIN}], 1, 5000) = 1 ([{fd=3, revents=POLLIN}])
19:02:36 ioctl(3, FIONREAD, [38])       = 0
19:02:36 recvfrom(3, "\26\177\205\200\0\1\0\1\0\0\0\0\4cs10\0\0\1\0\1\300\f\0\1\0\1\0\0\0\0"..., 2048, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("192.168.122.1")}, [28 => 16]) = 38
19:02:36 poll([{fd=3, events=POLLOUT}], 1, 4999) = 1 ([{fd=3, revents=POLLOUT}])
19:02:36 sendto(3, "\301~\1\0\0\1\0\0\0\0\0\0\4cs10\0\0\34\0\1", 22, MSG_NOSIGNAL, NULL, 0) = 22
19:02:36 poll([{fd=3, events=POLLIN}], 1, 4999) = 0 (Timeout)
19:02:41 close(3)                       = 0
19:02:41 socket(AF_INET, SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK, IPPROTO_IP) = 3
19:02:41 setsockopt(3, SOL_IP, IP_RECVERR, [1], 4) = 0
19:02:41 connect(3, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("192.168.122.1")}, 16) = 0
19:02:41 poll([{fd=3, events=POLLOUT}], 1, 0) = 1 ([{fd=3, revents=POLLOUT}])
19:02:41 sendto(3, "\26\177\1\0\0\1\0\0\0\0\0\0\4cs10\0\0\1\0\1", 22, MSG_NOSIGNAL, NULL, 0) = 22
19:02:41 poll([{fd=3, events=POLLIN}], 1, 5000) = 1 ([{fd=3, revents=POLLIN}])
19:02:41 ioctl(3, FIONREAD, [38])       = 0
19:02:41 recvfrom(3, "\26\177\205\200\0\1\0\1\0\0\0\0\4cs10\0\0\1\0\1\300\f\0\1\0\1\0\0\0\0"..., 2048, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("192.168.122.1")}, [28 => 16]) = 38
19:02:41 close(3)                       = 0
19:02:41 socket(AF_INET, SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK, IPPROTO_IP) = 3
19:02:41 setsockopt(3, SOL_IP, IP_RECVERR, [1], 4) = 0
19:02:41 connect(3, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("192.168.122.1")}, 16) = 0
19:02:41 poll([{fd=3, events=POLLOUT}], 1, 4999) = 1 ([{fd=3, revents=POLLOUT}])
19:02:41 sendto(3, "\301~\1\0\0\1\0\0\0\0\0\0\4cs10\0\0\34\0\1", 22, MSG_NOSIGNAL, NULL, 0) = 22
19:02:41 poll([{fd=3, events=POLLIN}], 1, 4999) = ? ERESTART_RESTARTBLOCK (Interrupted by signal)
19:02:45 --- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} ---
19:02:45 restart_syscall(<... resuming interrupted poll ...>) = 0
19:02:46 close(3)                       = 0
19:02:46 getuid()                       = 0
19:02:46 geteuid()                      = 0
19:02:46 getgid()                       = 0
19:02:46 getegid()                      = 0
19:02:46 openat(AT_FDCWD, "/usr/lib64/sasl2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3
19:02:46 fstat(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
19:02:46 getdents64(3, 0x562eeb5aaa20 /* 17 entries */, 32768) = 632
19:02:46 openat(AT_FDCWD, "/usr/lib64/sasl2/libanonymous.la", O_RDONLY) = -1 ENOENT (No such file or directory)
19:02:46 openat(AT_FDCWD, "/usr/lib64/sasl2/libanonymous.so", O_RDONLY|O_CLOEXEC) = 4
19:02:46 read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
19:02:46 fstat(4, {st_mode=S_IFREG|0755, st_size=20128, ...}) = 0
19:02:46 mmap(NULL, 20688, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7f9d46b72000