> >
> > One thing I did notice is that fallocate() seems slow (5-6 GB/s) compared to
> other file systems for a 3TiB fallocate() [ext4 performs the same operation in
> under a second on my system)]. Is this typical/expected for F2FS? Could it be
> because I have the IO_TRACE and/or _SECURITY set in .config?
> 
> Which fallocate did you test among expand, punch_hole, or something else?
> Let me check that especially.
> Actually, I have not tested its speed considerably, but more focused on
> functionality and stability.

I just issued a 

fallocate -l 3TiB /mnt/f2fs/tst

right after the mkfs.f2fs call. I am not sure what fallocate() path that 
excites in the FS. I also (for fun) timed the removal of that file via the rm 
command and it is also very slow. iostat implies the drive is being read at 
about 4MB/s while this removal is being performed.  

$ sudo time rm /mnt/f2fs/tst
0.00user 307.62system 6:01.75elapsed 85%CPU (0avgtext+0avgdata 1852maxresident)k
2978552inputs+6332168outputs (1major+80minor)pagefaults 0swaps

> 
> If you're trying to measure FS performance, please turn off:
> - most of Lock Debugging configs (e.g., mutex, spinlock and rw-lock)
> - CONFIG_F2FS_CHECK_FS
> - CONFIG_F2FS_IO_TRACE

OK. I will try some more testing with those config options...

Stephen

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

Reply via email to