# Re: ext4 data=writeback performs worse than data=ordered now

- From: Wu Fengguang \<hidden\>
- Date: 2011-12-14 14:03:05 
- List: linux-ext4
- Page: https://ratatoskr.run/linux-ext4/2011/12/59465
- Thread: https://ratatoskr.run/linux-ext4/2011/12/59465/t.md

```text
On Wed, Dec 14, 2011 at 10:00:25PM +0800, Wu Fengguang wrote:
> > The worst case happens for the USB key, where both old/new kernels
> > see ~10% worse performance for data=writeback.
> 
> >                     ext4                   ext4:wb
> > ------------------------  ------------------------
> >                     6.20       -10.6%         5.54  fat/UKEY-thresh=100M/ext4-1dd-1-3.2.0-rc3-pause6+
> 
> Some more comparison numbers for the above worst case.
> 
> I don't see obvious differences from the balance_dirty_pages graphs,

Ah there seem to be many more blocks in write_begin(), indicated by
the more negative pause times in the attached second graph.

Thanks,
Fengguang

```

## Attachments

- [balance\_dirty\_pages-pause.png](https://ratatoskr.run/linux-ext4/2011/12/59465/attachment/0) (image/png, 38991 bytes)
- [balance\_dirty\_pages-pause.png](https://ratatoskr.run/linux-ext4/2011/12/59465/attachment/1) (image/png, 53241 bytes)
