Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    ZFS and CPU usage

    Scheduled Pinned Locked Moved General pfSense Questions
    1 Posts 1 Posters 541 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      trumee
      last edited by trumee

      I have a Supermicro C3558 motherboard which is 4 threads @2.2GHz. The system has a two consumer SSD's. I installed Pfsense on one of the SSDs and the load average was "0.81, 0.69, 0.54" with CPU hovering about 11%.

      I wiped this setup and reinstalled the same config on ZFS with mirrored SSDs. The load average moved upto "1.04, 0.96,0.92" with CPU hovering around 20%.

      ZFS is using double to CPU with the same configuration. Is this expected?

      Packages I have installed are SNORT, PfblockerNG and Status_Traffic_Totals.


      I also did a test without any packages, with ZFS load average was "0.65, 0.62, 0.52" and CPU was about 11%. Disk bandwidth is like,

      zpool iostat 5
                     capacity     operations    bandwidth
      pool        alloc   free   read  write   read  write
      ----------  -----  -----  -----  -----  -----  -----
      zroot        511M   117G      0     41  23.3K   193K
      zroot        511M   117G      0     38      0   174K
      zroot        511M   117G      0     38      0   173K
      zroot        511M   117G      0     41      0   190K
      zroot        511M   117G      0     39      0   176K
      zroot        511M   117G      0     39      0   180K
      zroot        511M   117G      0     39      0   178K
      zroot        511M   117G      0     40      0   182K
      zroot        511M   117G      0     38      0   175K
      zroot        511M   117G      0     39      0   179K
      zroot        511M   117G      0     50      0   220K
      zroot        511M   117G      0     39      0   180K
      
      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.