freenas zfs read performance sucks .. why?

10,947

You may want to read this.

Essentially, in a single RAID Z group, read performance is equal to the performance of a single disk. RAID Z is great for write performance and poor for read performance. Given the slow low-end disks you're using, the numbers you've posted seem reasonable.

If you want to use RAID Z and still have reasonable read performance, you'll have to create multiple RAID Z groups (which you don't have disks for) and stripe across them.

With four disks, you may be best off creating two mirrors and striping data across them.

Share:
10,947

Related videos on Youtube

Manuel
Author by

Manuel

Hi there, I'm a Digital & Technology Evangelist! I helps customers to evolve ideas to business models and solutions and realizes them. My strength? I combine business knowledge, a growth & lean startup mindset, coaching and methodology like design thinking, business model canvas (bmc) value proposition design (vpd) with latest state of the art technologies. Technologie vise I focuse on cloud, aws serverless, progressive web applications (pwa) and augmented reality (ar/mr). Currently I'm working as a consultant at OPITZ CONSULTING. Having the OC|Lab in my background I can offer companies a lab and innovation space to realize and test new ideas!

Updated on September 18, 2022

Comments

  • Manuel
    Manuel almost 2 years

    I just set up a freenas zfs raid-z2 with 4 drives sata enterprise drives and doing some performance tests. Right now I'm pushing and pulling linux images into the storage. My notebook has a samsung 840pro ssd with 400MB/s local read write speed. Samba4 is used.

    I can write with avg 105 MB/s in an continuous stream. I'm impressed, this is is really fine thinking of a 1Gb/s lan.

    However reading is pretty slow and network io is jumping from a few kB to 30MB/s probably in avg. about 10MB/s. Adding a l2arc doesn't help.

    Any ideas, why the reading performance is so poor? is this normal?

  • Manuel
    Manuel over 10 years
    My sata drives seem to be not to bad. just run xdd on the server. I can write up to 2000MB/s random access. Reading single files I end up with 600MB/s. Multiple reads up to 1200MB/s My problem was my local virus scanner, checking incoming traffic. Deactivating it I ended up with 80MB/s incoming over samba. Reading your link raidz2 should rise performance, however adding more devices wouldn't increase performance much. Keeping in mind that most files are >1MB and my lan is limited to 2Gb/s mirroring wouldn't increase performance a lot. If I had small junks I'd agree to mirroring.
  • Manuel
    Manuel over 10 years
    Do you have any experiences with l2arc?