1.8's speeds...

Developer discussions.

1.8's speeds...

Postby tangles » Fri Oct 12, 2018 9:57 pm

Had high hopes that the speed of ZFS on macOS was on the up…

MacPro 2012, booted macOS 10.14 from PCIe HBA capable of r/w of ~1500MB/sec, 32GB RAM with 100% stock install of 1.80:
Code: Select all
cMacPro:~ madmin$ kextstat | grep lundman
  149    1 0                  0x498      0x498      net.lundman.kernel.dependencies.31 (12.5.0) DF83AD37-501E-3B4F-B1F0-04F3AC90FE35
  150    1 0xffffff7f835a7000 0x11f5000  0x11f5000  net.lundman.spl (1.8.0) 8961EE38-B08D-39A2-BBB6-FC4C110B3241 <149 7 5 4 3 1>
  151    1 0xffffff7f8479c000 0x2db000   0x2db000   net.lundman.zfs (1.8.0) 043E6807-1605-359A-80E8-0E0BF1C2DC3F <150 25 7 5 4 3 1>

Code: Select all
cMacPro:~ madmin$ time cp /Users/madmin/Desktop/8047312422.zip /Volumes/sammy

real   1m32.445s
user   0m0.021s
sys   0m11.346s


92 seconds to copy over 8GB to pool ~ 83MB/sec average… :cry:

The pool sammy is 5 x Samsung 1TB 3.5" 7500rpm SATA disks using the 5 of the 6 MacPro SATA connectors in a raidz1 config.

Speeds do fluctuate up to 480MB/sec which is about the maximum throughput of these disks.
Code: Select all
----------------------------------------------  -----  -----  -----  -----  -----  -----
                                                  capacity     operations     bandwidth
pool                                            alloc   free   read  write   read  write
----------------------------------------------  -----  -----  -----  -----  -----  -----
sammy                                           2.60G  4.53T      0  5.25K      0   485M
  raidz1                                        2.60G  4.53T      0  5.25K      0   485M
    media-98AFF870-0D92-7D4B-B4F1-9890A513617F      -      -      0    971      0  97.4M
    media-0E563C42-BF48-8545-8A6A-6AFA1F72C067      -      -      0  1.30K      0  97.6M
    media-C2379B31-8AE6-7845-8736-4086C16AC9C8      -      -      0  1.14K      0  98.5M
    media-769426EB-FE69-AE47-9F06-EF22D84F1992      -      -      0   1011      0  96.6M
    media-2E9CEA06-9033-1940-9A66-1088EADF0452      -      -      0    892      0  95.2M
----------------------------------------------  -----  -----  -----  -----  -----  -----


By comparison, the same file transferred from PCIe HBA to a single SATA SSD installed on the same SATA bus:

Code: Select all
cMacPro:~ madmin$ time cp /Users/madmin/Desktop/8047312422.zip /Volumes/1TB\ SSD

real   0m29.472s
user   0m0.020s
sys   0m4.133s
cMacPro:~ madmin$


gives ~256MB/sec average

Massive difference.

I can't use ZFS on macOS with these speeds… it hurts too much when the same hardware with FreeNAS/Linux is 3 times faster.
tangles
 
Posts: 195
Joined: Tue Jun 17, 2014 6:54 am

Re: 1.8's speeds...

Postby lundman » Fri Oct 12, 2018 10:52 pm

If you can figure out why, I'd love to fix it :)
User avatar
lundman
 
Posts: 1335
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan

Re: 1.8's speeds...

Postby tangles » Sat Oct 13, 2018 3:27 am

I’m wish I had the skills…

I’d put $500 aud up as abounty to have it fixed…

I tend to donate to you each year as a thank you, so I think I might up things perhaps…
tangles
 
Posts: 195
Joined: Tue Jun 17, 2014 6:54 am

Re: 1.8's speeds...

Postby lundman » Sat Oct 13, 2018 3:25 pm

I'd love to fix things even without money - but it has so far managed to hide itself well. and it can be fast, usually at the start.
User avatar
lundman
 
Posts: 1335
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan


Return to OpenZFS on OS X Development

Who is online

Users browsing this forum: No registered users and 9 guests

cron