Replies: 8 comments 6 replies
-
Should be mentioned that I have certainly not had time to get to any performance work, since it has been a scramble to get things stable and adding more features. Once it is stable, developers tend to look at speeding things up. Feel free to give it a try, although my usual tools, like FlameGraph with dtrace probably will not work with Windows. |
Beta Was this translation helpful? Give feedback.
-
Low performance propably due the 512B physical setting for the ZFS pool. We need to wait for a 4k setting like Windows is using on ntfs. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the answers! The SSD reports 512B but the perf is lower than NTFS anyway. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I threw in some code that looks up |
Beta Was this translation helpful? Give feedback.
-
It uses the ashift now, so if you create the pool with ashift=12 it should return 4096 |
Beta Was this translation helpful? Give feedback.
-
Weird. Installed most recent built again. Cleaned disk with previous pool (already created with ashift=12) with diskpart and then created the pool again with ashift=12 with the following command (same as before):
NOW it does return 4k! Performance remains the same though. Sidenote: Most recent -13.exe install throws an error at the end and Windows Defender identifies & deletes the most recent zpool.exe as malware. |
Beta Was this translation helpful? Give feedback.
-
Ah yep - I didn't think that 4096 would fix much, but it is good to rule out at least. No idea about defender, does that here as well at random times. Especially odd when zpool.exe hasn't had any code changes in the last many releases. |
Beta Was this translation helpful? Give feedback.
-
First of all let me start by saying that I really commend this project! It works pretty well, other than a slow start due to lack of docs, and some bugs and lacking features. But it looks like it's getting there!
My issue now is that I'm seeing less than ideal disk performance with ZFS. I want to make sure it's not some misconfiguration on my side, before I put the pool into full service.
Basically, folder copies are 2-3x faster on NTFS, and CrystalDiskMark is showing lower performance on ZFS as well. I'm testing with identical drives in NTFS and ZFS.
To start with CrystalDiskMark:
D is NTFS SSD
J is ZFS SSD
L is NTFS NVME
K is ZFS NVME
Note that random access is quite a bit slower with ZFS.
Sequential is slower on NVME, but faster than theoretical speed (and equivalent to NVME) on SSD.
It's also surprising how all of the ZFS numbers are basically equivalent between SSD and NVME. It feels like CPU is the bottleneck. I'm running a Threadripper 1950x with 64GB RAM.
I also did real world tests copying some large folders, one with lots of small files, and one with 3 large video files.
In the case of small files, NTFS is 2x faster than ZFS. Interestingly, the performance of SSD is the same as NVME on this test even with NTFS.
For large files, NTFS NVME is 3x faster, and NTFS SSD is 2x faster than ZFS. Also, the progress of the transfer is very erratic on ZFS, vs flat on NTFS. At the end of each video file the transfer speed drops to 0MB/s for a few seconds, then resumes for the next file. The funny thing is that even with NTFS the speed on NVME tops out at 1.6GB/s, instead of the 3.2GB/s benchmark speed (due to sharing PCIe lanes between the source and destination drives?).
I tried tuning several things, but I can't get any improvement in performance. I played with recordsize, ashift, compression, cache.
Any improvement to be had? Is it unrealistic to expect performance to match NTFS at this stage? Or ever?
Beta Was this translation helpful? Give feedback.
All reactions