Open x64-Linux-Builder opened 6 days ago
The z_wr_iss and z_wr_int kernel threads are block write issue and completion threads. They should do nothing if there is no data to write. If there is small activity on the pool, they might indeed spike every few seconds due to transactional nature of ZFS. But for them to eat significant amount of CPU there must be significant amount of data.
Thanks, that would be usual, logical behaviour indeed. I was in disbelief. I would not have reported it if I hadn't been sitting in front of it and seen it first-hand. I logged in locally on the KDE Plasma desktop and was stunned as it was a fresh, empty fs. If I had another ZFS on another host, I would have assumed I must have looked at the wrong host.
My only possible explanation is that ZFS might have scrubbed the unallocated disk blocks.
Besides some locking issues that only happen on very slow/weak CPUs like the N95 CPU.
Is that possible? I started the zed
service shortly before the spinning of the ktreads started.
System information
Describe the problem you're observing
100% CPU load from ZFS kernel theads on a fresh install of RC3.
Describe how to reproduce the problem
Seteup:
System is an Mini PC (Beelin Mini-S) using an Intel N95 CPU, 8GB RAM
System is idle, has no load.
Shortly afterwards
The 100% CPU load came and went, 100% for some minutes, than briefly gone; repeat
systemctl restart zfs-import-scan.service
was stuck after boot (to scan for the pool).Include any warning/errors/backtraces from the system logs
No Oopses or other errors or warnings found in the log.