[Bug 222929] ZFS ARC stats have wrong count

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Nov 15 01:17:33 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222929

--- Comment #3 from naito.yuichiro at gmail.com ---
I changed my script as follows.
File.stat() loops 5 times,
and print `zfs-stats -a` message
at first and in end of each loop.


```
puts "#{Time.now} start"
puts `zfs-stats -a`

5.times do |c|
  Dir.glob("ports-head/**/*").each do |file|
    File.stat(file)
  end
  puts "#{Time.now} loop count : #{c}"
  puts `zfs-stats -a`
end
```

The result is shown in attached 'zfs-stat.log' file.
Attached `top.log` shows `top` header of before and after running this script.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-fs mailing list