{"action":"closed","issue":{"url":"https://api.github.com/repos/zfsonlinux/zfs/issues/7781","repository_url":"https://api.github.com/repos/zfsonlinux/zfs","labels_url":"https://api.github.com/repos/zfsonlinux/zfs/issues/7781/labels{/name}","comments_url":"https://api.github.com/repos/zfsonlinux/zfs/issues/7781/comments","events_url":"https://api.github.com/repos/zfsonlinux/zfs/issues/7781/events","html_url":"https://github.com/zfsonlinux/zfs/issues/7781","id":349653128,"node_id":"MDU6SXNzdWUzNDk2NTMxMjg=","number":7781,"title":"Crippling system performance while copying to zfs.  dbuf_evict at 100%","user":{"login":"jflanigan","id":2902895,"node_id":"MDQ6VXNlcjI5MDI4OTU=","avatar_url":"https://avatars2.githubusercontent.com/u/2902895?v=4","gravatar_id":"","url":"https://api.github.com/users/jflanigan","html_url":"https://github.com/jflanigan","followers_url":"https://api.github.com/users/jflanigan/followers","following_url":"https://api.github.com/users/jflanigan/following{/other_user}","gists_url":"https://api.github.com/users/jflanigan/gists{/gist_id}","starred_url":"https://api.github.com/users/jflanigan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jflanigan/subscriptions","organizations_url":"https://api.github.com/users/jflanigan/orgs","repos_url":"https://api.github.com/users/jflanigan/repos","events_url":"https://api.github.com/users/jflanigan/events{/privacy}","received_events_url":"https://api.github.com/users/jflanigan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-10T20:49:44Z","updated_at":"2018-08-10T21:03:08Z","closed_at":"2018-08-10T21:03:08Z","author_association":"NONE","body":"<!--\r\nThank you for reporting an issue.\r\n\r\n*IMPORTANT* - Please search our issue tracker *before* making a new issue.\r\nIf you cannot find a similar issue, then create a new issue.\r\nhttps://github.com/zfsonlinux/zfs/issues \r\n\r\n*IMPORTANT* - This issue tracker is for *bugs* and *issues* only.\r\nPlease search the wiki and the mailing list archives before asking \r\nquestions on the mailing list.\r\nhttps://github.com/zfsonlinux/zfs/wiki/Mailing-Lists\r\n\r\nPlease fill in as much of the template as possible.\r\n-->\r\n\r\n### System information\r\n<!--  add version after \"|\" character -->\r\nType | Version/Name\r\n --- | --- \r\nDistribution Name\t| Archlinux\r\nDistribution Version\t| August 10, 2018\r\nLinux Kernel\t| 4.17.13\r\nArchitecture\t| x86_64\r\nZFS Version\t| 0.7.9\r\nSPL Version\t| 0.7.9\r\n<!-- \r\nCommands to find ZFS/SPL versions:\r\nmodinfo zfs | grep -iw version\r\nmodinfo spl | grep -iw version \r\n-->\r\n\r\n### Describe the problem you're observing\r\nSystem becomes unusable while coping of 3TB of data from ext4 to zfs.  dbug_evict kernel thread is at 100%.  This is a fresh minimal install, and no other processes are running.  Cannot log in or run commands.  I reproduced this on a mirror zpool, as well as a raidz zpool with 4 disks.  dedup is enabled, and lz4 compression.  System has 256GB of memory (14GB used), 40 cores, 100GB of swap (780k used).\r\n\r\n### Describe how to reproduce the problem\r\nInstall arch linux base and zfs.\r\ncp -r directory_with_3TB_of_stuff_on_ext4  zfs_directory\r\n\r\nSystem grinds to a halt after copying about 1.3TB.\r\n\r\n### Include any warning/errors/backtraces from the system logs\r\n\r\nhtop (sorry, the only thing currently running)\r\n\r\n```  \r\n  1  [|                                  1.9%]    11 [                                   0.0%]   21 [                                   0.0%]    31 [                                   0.0%]\r\n  2  [                                   0.0%]    12 [                                   0.0%]   22 [                                   0.0%]    32 [                                   0.0%]\r\n  3  [                                   0.0%]    13 [                                   0.0%]   23 [                                   0.0%]    33 [|||||||||||||||||||||||||||||||||||0.0%]\r\n  4  [                                   0.0%]    14 [                                   0.0%]   24 [                                   0.0%]    34 [                                   0.0%]\r\n  5  [                                   0.0%]    15 [||                                 1.9%]   25 [                                   0.0%]    35 [                                   0.0%]\r\n  6  [                                   0.0%]    16 [                                   0.0%]   26 [                                   0.0%]    36 [                                   0.0%]\r\n  7  [                                   0.0%]    17 [|||||||||||||||||||||||||||||||||||0.0%]   27 [|||||||||||||||||||||||||||||||||||2.0%]    37 [                                   0.0%]\r\n  8  [                                   0.0%]    18 [                                   0.0%]   28 [                                   0.0%]    38 [                                   0.0%]\r\n  9  [                                   0.0%]    19 [                                   0.0%]   29 [                                   0.0%]    39 [|||||||||||||||||||||||||||||||||||0.0%]\r\n  10 [|||||||||||||||||||||||||||||||||100.0%]    20 [                                   0.0%]   30 [                                   0.0%]    40 [                                   0.0%]\r\n  Mem[|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||14.5G/252G]   Tasks: 148, 1 thr, 776 kthr; 9 running\r\n  Swp[|                                                                           780K/100.0G]   Load average: 132.11 131.70 129.45 \r\n                                                                                                 Uptime: 1 day, 15:10:59\r\n\r\n  PID USER      PRI  NI  VIRT   RES   SHR S CPU% MEM%   TIME+  Command                                                                                                                            \r\n  570 root       39  19     0     0     0 R 101.  0.0 14h34:34 dbuf_evict\r\n 2570 root       20   0 27160  4352  2304 R  3.3  0.0  4:29.14 htop\r\n  114 root       -2   0     0     0     0 S  0.7  0.0  0:20.60 rcuc/14\r\n   19 root       RT   0     0     0     0 S  0.0  0.0  0:00.32 watchdog/1                                                                                                                         \r\n 2672 root       20   0     0     0     0 I  0.0  0.0  0:02.94 kworker/u129:0\r\n   40 root       RT   0     0     0     0 S  0.0  0.0  0:00.32 watchdog/4\r\n 2679 root       20   0     0     0     0 I  0.0  0.0  0:00.01 kworker/u134:0\r\n 2811 systemd-r  20   0   99M  5912  4788 S  0.0  0.0  0:26.01 /usr/lib/systemd/systemd-resolved\r\n  202 root       -2   0     0     0     0 S  0.0  0.0  0:22.31 rcuc/26\r\n 2675 root       20   0     0     0     0 I  0.0  0.0  0:00.01 kworker/u132:2\r\n 2767 systemd-n  20   0 86564  4912  4076 S  0.0  0.0  0:28.09 /usr/lib/systemd/systemd-networkd\r\n  309 root       20   0     0     0     0 I  0.0  0.0  0:25.85 kworker/20:1\r\n34352 root       20   0 18180  2464  1392 S  0.0  0.0  0:03.35 SCREEN \r\n  187 root       -2   0     0     0     0 S  0.0  0.0  0:21.71 rcuc/24\r\n  203 root       20   0     0     0     0 S  0.0  0.0  0:07.12 ksoftirqd/26\r\n 2639 root       20   0     0     0     0 I  0.0  0.0  0:00.07 kworker/u132:3\r\n 2667 root       20   0     0     0     0 I  0.0  0.0  0:00.06 kworker/u134:2\r\n   21 root       -2   0     0     0     0 S  0.0  0.0  0:23.92 rcuc/1\r\n 2657 root       20   0     0     0     0 I  0.0  0.0  0:00.03 kworker/u134:1\r\n 2654 root       20   0     0     0     0 I  0.0  0.0  0:00.02 kworker/u130:2\r\n   10 root       -2   0     0     0     0 I  0.0  0.0  2:06.45 rcu_preempt\r\n  541 root        0 -20     0     0     0 S  0.0  0.0  0:03.38 spl_delay_taskq\r\n    9 root       20   0     0     0     0 S  0.0  0.0  0:14.64 ksoftirqd/0\r\n29957 root       20   0     0     0     0 I  0.0  0.0  0:00.18 kworker/u130:0\r\n  306 root       20   0     0     0     0 I  0.0  0.0  0:20.75 kworker/5:1\r\n    1 root       20   0  164M  6524  4352 S  0.0  0.0  0:11.86 /sbin/init\r\n   22 root       20   0     0     0     0 S  0.0  0.0  0:15.60 ksoftirqd/1\r\n  185 root       RT   0     0     0     0 S  0.0  0.0  0:00.34 watchdog/24\r\n  568 root       20   0     0     0     0 S  0.0  0.0  2:06.37 arc_reclaim\r\n  473 root       20   0     0     0     0 I  0.0  0.0  0:30.39 kworker/0:2   \r\n 2649 root       20   0     0     0     0 I  0.0  0.0  0:11.83 kworker/u129:2\r\n 2674 root       20   0  164M  4516  2340 D  0.0  0.0  0:00.71 (journald)\r\n   13 root       -2   0     0     0     0 S  0.0  0.0  0:21.71 rcuc/0 \r\n   36 root       20   0     0     0     0 S  0.0  0.0  0:15.46 ksoftirqd/3\r\n  250 root       RT   0     0     0     0 S  0.0  0.0  0:00.30 watchdog/33\r\n  164 root       RT   0     0     0     0 S  0.0  0.0  0:00.33 watchdog/21\r\n  312 root       20   0     0     0     0 I  0.0  0.0  0:19.55 kworker/24:1\r\nF1Help  F2Setup F3SearchF4FilterF5Tree  F6SortByF7Nice -F8Nice +F9Kill  F10Quit                                                                                                                   \r\n```\r\n"}}
{"actor":{"display_login":"kpande"}}