I have high cpu usage in proxmox 4 with zfs from such processes: z_wr_iss,z_null_int,z_wr_int etc ?
Any idea why this is happening ?
Any idea why this is happening ?
If you've configured ZFS storage, there will be no format--you won't be able to choose raw/vmdk/qcow2. The system will create zvols for your VMs. For the bus choice, the wiki (http://pve.proxmox.com/wiki/Installation#Virtual_Machines_.28KVM.29) says to use virtio. In the thread I started the other day (http://forum.proxmox.com/threads/24379-Virtio-vs-SCSI-disk-for-Linux-KVM-guests), the consensus seemed to favor virtio SCSI.and as I know its best tip to use hard drive as IDE with raw format in VM-s and not other configrations like qcow2 or sata sci etc ?
If you've configured ZFS storage, there will be no format--you won't be able to choose raw/vmdk/qcow2. The system will create zvols for your VMs. For the bus choice, the wiki (http://pve.proxmox.com/wiki/Installation#Virtual_Machines_.28KVM.29) says to use virtio. In the thread I started the other day (http://forum.proxmox.com/threads/24379-Virtio-vs-SCSI-disk-for-Linux-KVM-guests), the consensus seemed to favor virtio SCSI.
Limiting ZFS memory seems to lower the load.
[COLOR=#000000][FONT=monospace]options zfs zfs_arc_min=[/FONT][/COLOR]4294967296
[COLOR=#000000][FONT=monospace]options zfs zfs_arc_max=[/FONT][/COLOR]8589934592
I've also inadvertently found that a scrub seems to trigger this.
System 1: X9SCL-F motherboard, i3-3240 CPU, 16 GB RAM, 1 running CentOS 6 VM with 4 GB/balloon to 8 GB, 1 running CentOS 6 VM with 512 MB/balloon to 1 GB, two-disk ZFS mirrored pool with no SLOG device. Scrub results in ~100% CPU usage, z_wr_iss taking most of the CPU. Scrub is running at about 1 M/sec. Web UI indicates about 13 GB of RAM used.
System 2: Dell C6100 node, 2x Xeon X5650, 48 GB RAM, 1 running CentOS 6 VM with 8 GB static, 1 running Ubuntu VM with 4 GB static, single-disk ZFS pool with no slog device. Scrub is currently running at 48 M/s. Web UI indicates 38 GB of RAM used, and total CPU load of about 7%.
My experience with FreeNAS tells me that ZFS is pretty RAM-hungry, but not to this extent.