Which checksum algorithm to use? Changed without destroying?

All your general support questions for OpenZFS on OS X.

Which checksum algorithm to use? Changed without destroying?

Postby RobRehnmark » Tue Jul 19, 2016 5:51 am

I've looked around but haven't found any good answers..

Which checksum is it advisable to use?
I'm running a 4.1GHz hexacore hackintosh with a Raidz2 of 6x 3TB Seagate Barracuda on SATA2.

Also, can I change checksum algorithm without destroying the pool?
Super grateful to the people developing OpenZFS on OS X!
RaidZ2 working well for storing my data, OS X Server share for Time Machine, FCPX, iTunes, Photos, etc. on my Hackinstosh.
RobRehnmark
 
Posts: 59
Joined: Sat Oct 17, 2015 12:23 am

Re: Which checksum algorithm to use? Changed without destroy

Postby haer22 » Tue Jul 19, 2016 10:52 am

RobRehnmark wrote:Which checksum is it advisable to use?

fletcher4 is fast and good. That is the default one. The new ones (SHA512, skein, edonr) use quite a bit more cpu. If you are thinking about dedup, skein is a good choice. But without very special reasons one should not use dedup.

RobRehnmark wrote:Also, can I change checksum algorithm without destroying the pool?

No destry and rebuild is necessary. The change will be applied to NEW data that is stored. Data already on the pool with retain its current checksum, incl the type of checksum.
haer22
 
Posts: 123
Joined: Sun Mar 23, 2014 2:13 am

Re: Which checksum algorithm to use? Changed without destroy

Postby RobRehnmark » Sat Jul 23, 2016 5:33 am

When reading that new algorithms are a lot faster than SHA256 I assumed that the latter was the default.
So I got curious about a speed increase.
Are there some benchmarks on the all the algorithms?
Super grateful to the people developing OpenZFS on OS X!
RaidZ2 working well for storing my data, OS X Server share for Time Machine, FCPX, iTunes, Photos, etc. on my Hackinstosh.
RobRehnmark
 
Posts: 59
Joined: Sat Oct 17, 2015 12:23 am


Return to General Help

Who is online

Users browsing this forum: No registered users and 26 guests

cron