Re: [stable v4.9.y] Backports to fix fstrim time / CPU load on raid0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Sep 22, 2017 at 10:16:06AM -0700, Eduardo Valentin wrote:
> Hello GregKH,
> 
> I have been seeing several reports of performance issue with raid0 while performing fstrim on v4.9.y.
> Currently, if one performs:
> 
> # fio --name fio_test_file --direct=1 --rw=randwrite --bs=4k --size=5G --numjobs=8 --group_reporting --directory=/mount/raid0 
> # rm -rf /media/nvme-raid0 
> # time fstrim -vvv -a 
> real	3m41.102s 
> user	0m0.000s 
> sys	0m4.964s 

Also, is this a regression from older kernels?

thanks,

greg k-h



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]