Re: Bug#605009: serious performance regression with ext4
Hi Guillem,
Guillem Jover wrote:
> Hmm, ok so what about posix_fadvise(fd, 0, 0, POSIX_FADV_DONTNEED)
> instead, skimming over the kernel source seems to indicate it might
> end up doing more or less the same thing but in a portable way?
>
> Could someone with ext4/btrfs/xfs/etc test w/ and w/o the attached patch
> against dpkg?
ext4: yes, this brings the running time down from 34sec to 10.5sec,
just like sync_file_range with SYNC_FILE_RANGE_WRITE does.
Regards,
Jonathan
Reply to: