mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-25 03:37:45 +03:00
Run arc_evict thread at higher priority
Run arc_evict thread at higher priority, nice=0, to give it more CPU time which can improve performance for workload with high ARC evict activities. On mixed read/write and sequential read workloads, I've seen between 10-40% better performance. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: George Melikov <mail@gmelikov.ru> Reviewed-by: Alexander Motin <mav@FreeBSD.org> Signed-off-by: Tony Nguyen <tony.nguyen@delphix.com> Closes #12397
This commit is contained in:
+2
-2
@@ -7950,9 +7950,9 @@ arc_init(void)
|
||||
}
|
||||
|
||||
arc_evict_zthr = zthr_create("arc_evict",
|
||||
arc_evict_cb_check, arc_evict_cb, NULL);
|
||||
arc_evict_cb_check, arc_evict_cb, NULL, defclsyspri);
|
||||
arc_reap_zthr = zthr_create_timer("arc_reap",
|
||||
arc_reap_cb_check, arc_reap_cb, NULL, SEC2NSEC(1));
|
||||
arc_reap_cb_check, arc_reap_cb, NULL, SEC2NSEC(1), minclsyspri);
|
||||
|
||||
arc_warm = B_FALSE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user