10 times higher disk load with btrfs
Hi devs,
while btrfs is now declared as stable ;-) i wanted to retest btrfs on our production cluster on 2 out of 54 osds. So if they crash it doesn't hurt.
While if those OSDs run XFS have spikes of 20MB/s every 4-7s. The same OSDs after formatting them with btrfs have spikes of 190MB/s every 4-7s.
Why does just another filesystem raises the disk load by a factor of 10?
I'm running dumpling.
Greets Stefan
Am 05.01.2015 um 19:36 schrieb Stefan Priebe:
Quoted 10 lines
Hi devs,
while btrfs is now declared as stable ;-) i wanted to retest btrfs on our production cluster on 2 out of 54 osds. So if they crash it doesn't hurt.
While if those OSDs run XFS have spikes of 20MB/s every 4-7s. The same OSDs after formatting them with btrfs have spikes of 190MB/s every 4-7s.
Why does just another filesystem raises the disk load by a factor of 10?
OK this seems to happen cause ceph is creating every 5s a new subvolume / snap. Is this really expected / needed?
Stefan
Quoted 4 lines
I'm running dumpling.
Greets Stefan
Quoted 8 lines · Stefan Priebe
Am 05.01.2015 um 19:36 schrieb Stefan Priebe:
Quoted 6 lines
Hi devs,
while btrfs is now declared as stable ;-) i wanted to retest btrfs on our production cluster on 2 out of 54 osds. So if they crash it doesn't hurt.
Quoted 7 lines
Quoted 4 lines
While if those OSDs run XFS have spikes of 20MB/s every 4-7s. The same OSDs after formatting them with btrfs have spikes of 190MB/s every 4-7s.
Why does just another filesystem raises the disk load by a factor of 10?
OK this seems to happen cause ceph is creating every 5s a new subvolume / snap. Is this really expected / needed?
You can disable it with
filestore btrfs snap = false
I'm curious how much this drops the load down; originally the snaps were no more expensive than a regular sync but perhaps this has changed...
sage
Hi Sage,
Am 05.01.2015 um 20:25 schrieb Sage Weil:
Quoted 17 lines · Stefan Priebe
Quoted 8 lines
Am 05.01.2015 um 19:36 schrieb Stefan Priebe:
Quoted 6 lines
Hi devs,
while btrfs is now declared as stable ;-) i wanted to retest btrfs on our production cluster on 2 out of 54 osds. So if they crash it doesn't hurt.
Quoted 7 lines
Quoted 4 lines
While if those OSDs run XFS have spikes of 20MB/s every 4-7s. The same OSDs after formatting them with btrfs have spikes of 190MB/s every 4-7s.
Why does just another filesystem raises the disk load by a factor of 10?
OK this seems to happen cause ceph is creating every 5s a new subvolume / snap. Is this really expected / needed?
Quoted 7 lines
You can disable it with
filestore btrfs snap = false
I'm curious how much this drops the load down; originally the snaps were no more expensive than a regular sync but perhaps this has changed...
- with XFS the average write is at 9Mb/s
- with btrfs (filestore_btrfs_snap=true) write is at 40Mb/s
- with btrfs (filestore_btrfs_snap=false) write is at 20Mb/s
Stefan
Quoted 27 lines · Stefan Priebe
Hi Sage,
Am 05.01.2015 um 20:25 schrieb Sage Weil:
Quoted 24 lines · Stefan Priebe
Quoted 12 lines
Am 05.01.2015 um 19:36 schrieb Stefan Priebe:
Quoted 10 lines
Hi devs,
while btrfs is now declared as stable ;-) i wanted to retest btrfs on our production cluster on 2 out of 54 osds. So if they crash it doesn't hurt.
While if those OSDs run XFS have spikes of 20MB/s every 4-7s. The same OSDs after formatting them with btrfs have spikes of 190MB/s every 4-7s.
Quoted 6 lines
Quoted 2 lines
Why does just another filesystem raises the disk load by a factor of 10?
OK this seems to happen cause ceph is creating every 5s a new subvolume /
snap. Is this really expected / needed?You can disable it with
filestore btrfs snap = false
Quoted 7 lines
Quoted 3 lines
I'm curious how much this drops the load down; originally the snaps were no more expensive than a regular sync but perhaps this has changed...
- with XFS the average write is at 9Mb/s
- with btrfs (filestore_btrfs_snap=true) write is at 40Mb/s
- with btrfs (filestore_btrfs_snap=false) write is at 20Mb/s
Is that the average and not the spikes? It looks like before the spikes were 20MB/s and 190MB/s?
Quoted 6 lines
Stefan
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Am 05.01.2015 um 21:29 schrieb Mark Nelson:
Quoted 35 lines · Stefan Priebe
Quoted 32 lines
Hi Sage,
Am 05.01.2015 um 20:25 schrieb Sage Weil:
Quoted 28 lines · Stefan Priebe
Quoted 13 lines
Am 05.01.2015 um 19:36 schrieb Stefan Priebe:
Quoted 11 lines
Hi devs,
while btrfs is now declared as stable ;-) i wanted to retest btrfs on our production cluster on 2 out of 54 osds. So if they crash it doesn't
hurt.While if those OSDs run XFS have spikes of 20MB/s every 4-7s. The same OSDs after formatting them with btrfs have spikes of 190MB/s every 4-7s.
Quoted 6 lines
Quoted 2 lines
Why does just another filesystem raises the disk load by a factor of 10?
OK this seems to happen cause ceph is creating every 5s a new subvolume /
snap. Is this really expected / needed?You can disable it with
filestore btrfs snap = false
I'm curious how much this drops the load down; originally the snaps were no more expensive than a regular sync but perhaps this has changed...
Quoted 6 lines
Quoted 3 lines
- with XFS the average write is at 9Mb/s
- with btrfs (filestore_btrfs_snap=true) write is at 40Mb/s
- with btrfs (filestore_btrfs_snap=false) write is at 20Mb/sIs that the average and not the spikes? It looks like before the spikes were 20MB/s and 190MB/s?
Yes these are average values.
Spikes:
- with XFS the spike write is at 20Mb/s
- with btrfs (filestore_btrfs_snap=true) spike write is 200Mb/s
- with btrfs (filestore_btrfs_snap=false) spike is still 185Mb/s but avg is 1/2 (20Mb/s) see above
Quoted 7 lines
Quoted 7 lines
Stefan
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi Stefan,
Do you see a difference if you force filestore journal writeahead for btrfs instead parrallel ?
filestore journal writeahead = 1
filestore journal parallel = 0
----- Mail original -----
De: "Stefan Priebe" <[email protected]>
À: "Mark Nelson" <[email protected]>, "Sage Weil" <[email protected]>
Cc: "ceph-devel" <[email protected]>
Envoyé: Lundi 5 Janvier 2015 21:33:22
Objet: Re: 10 times higher disk load with btrfs
Am 05.01.2015 um 21:29 schrieb Mark Nelson:
Quoted 35 lines · Stefan Priebe
Quoted 32 lines
Hi Sage,
Am 05.01.2015 um 20:25 schrieb Sage Weil:
Quoted 28 lines · Stefan Priebe
Quoted 13 lines
Am 05.01.2015 um 19:36 schrieb Stefan Priebe:
Quoted 11 lines
Hi devs,
while btrfs is now declared as stable ;-) i wanted to retest btrfs on our production cluster on 2 out of 54 osds. So if they crash it doesn't
hurt.While if those OSDs run XFS have spikes of 20MB/s every 4-7s. The same OSDs after formatting them with btrfs have spikes of 190MB/s every 4-7s.
Quoted 6 lines
Quoted 2 lines
Why does just another filesystem raises the disk load by a factor of 10?
OK this seems to happen cause ceph is creating every 5s a new subvolume /
snap. Is this really expected / needed?You can disable it with
filestore btrfs snap = false
I'm curious how much this drops the load down; originally the snaps were no more expensive than a regular sync but perhaps this has changed...
Quoted 6 lines
Quoted 3 lines
- with XFS the average write is at 9Mb/s
- with btrfs (filestore_btrfs_snap=true) write is at 40Mb/s
- with btrfs (filestore_btrfs_snap=false) write is at 20Mb/sIs that the average and not the spikes? It looks like before the spikes were 20MB/s and 190MB/s?
Yes these are average values.
Spikes:
- with XFS the spike write is at 20Mb/s
- with btrfs (filestore_btrfs_snap=true) spike write is 200Mb/s
- with btrfs (filestore_btrfs_snap=false) spike is still 185Mb/s but avg is 1/2 (20Mb/s) see above
Quoted 7 lines
Quoted 7 lines
Stefan
Signature · 3 lines
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Signature · 7 lines
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi,
Am 06.01.2015 um 04:44 schrieb Alexandre DERUMIER:
Quoted 6 lines
Hi Stefan,
Do you see a difference if you force filestore journal writeahead for btrfs instead parrallel ?
filestore journal writeahead = 1 filestore journal parallel = 0
i already tested filestore btrfs snap = false which automatically disabled parallel write.
Stefan
Quoted 50 lines
----- Mail original -----
De: "Stefan Priebe" <[email protected]>
À: "Mark Nelson" <[email protected]>, "Sage Weil" <[email protected]>
Cc: "ceph-devel" <[email protected]>
Envoyé: Lundi 5 Janvier 2015 21:33:22
Objet: Re: 10 times higher disk load with btrfsAm 05.01.2015 um 21:29 schrieb Mark Nelson:
Quoted 35 lines · Stefan Priebe
Quoted 32 lines
Hi Sage,
Am 05.01.2015 um 20:25 schrieb Sage Weil:
Quoted 28 lines · Stefan Priebe
Quoted 13 lines
Am 05.01.2015 um 19:36 schrieb Stefan Priebe:
Quoted 11 lines
Hi devs,
while btrfs is now declared as stable ;-) i wanted to retest btrfs on our production cluster on 2 out of 54 osds. So if they crash it doesn't
hurt.While if those OSDs run XFS have spikes of 20MB/s every 4-7s. The same OSDs after formatting them with btrfs have spikes of 190MB/s every 4-7s.
Quoted 6 lines
Quoted 2 lines
Why does just another filesystem raises the disk load by a factor of 10?
OK this seems to happen cause ceph is creating every 5s a new subvolume /
snap. Is this really expected / needed?You can disable it with
filestore btrfs snap = false
I'm curious how much this drops the load down; originally the snaps were no more expensive than a regular sync but perhaps this has changed...
Quoted 6 lines
Quoted 3 lines
- with XFS the average write is at 9Mb/s
- with btrfs (filestore_btrfs_snap=true) write is at 40Mb/s
- with btrfs (filestore_btrfs_snap=false) write is at 20Mb/sIs that the average and not the spikes? It looks like before the spikes were 20MB/s and 190MB/s?
Quoted 16 lines
Yes these are average values.
Spikes:
- with XFS the spike write is at 20Mb/s
- with btrfs (filestore_btrfs_snap=true) spike write is 200Mb/s
- with btrfs (filestore_btrfs_snap=false) spike is still 185Mb/s but avg is 1/2 (20Mb/s) see aboveQuoted 7 lines
Quoted 7 lines
Stefan
Signature · 3 lines
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html