[PATCH] mkfs: default to CRC enabled filesystems

Linda Walsh xfs at tlinx.org
Thu Mar 19 21:27:25 CDT 2015


Dave Chinner wrote:
> From: Dave Chinner <dchinner at redhat.com>
> 
> It's time to change the mkfs defaults to enable CRCs for all new
> filesystems. 
---
	"Sounds good", but what exactly is CRC'ed?

I.e. all data? Or how much data/second would I expect
to 'need' CRC'ing?

Some quick timing stuff:

> time  dd if=/dev/zero of=1G bs=1M count=1024 oflag=direct    
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 1.76947 s, 607 MB/s
1.77sec 0.00usr 0.50sys (28.38% cpu)

> dropcaches
76.34sec 0.00usr 69.22sys (90.69% cpu)

Ishtar:law/bin> time crc32 1G		## no cache
5B64C2B0
6.67sec 3.85usr 0.94sys (71.82% cpu)

> time crc32 1G				## in cache
5B64C2B0
4.00sec 3.57usr 0.42sys (100.00% cpu)
(using Xeon X5660 @ 2.80GHz)




More information about the xfs mailing list