-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Performance degradation on large files removal #609
Comments
Do you have performance figures and software versions that you can cite? |
Here is a system info: max@s0:~$ uname -a max@s0: max@s0: max@s0: max@s0: max@s0: max@s0:~$ sudo zpool list max@s0:~$ sudo zpool status
errors: No known data errors max@s0:~$ sudo zfs list max@s0:~$ zfs get all tank/biouml-shared Regular hardrive test: real 0m0.016s ZFS: real 0m2.446s oneadmin@s0:/tank/biouml-shared/tmp$ time ls -lahs > test.time.txt real 0m8.420s max@s0:~$ zpool iostat 5 tank 6.37T 2.69T 307 194 30.2M 783K I performed these tests when system is a little responsive. It was worse before. max@s0:~$ sudo lsof | grep tank| wc -l I will provide tests again when system will be under heavy load. |
Might these files also have xattrs? There still a know issue with removing a large number of files with directory based xattrs, see issue #457 |
Is this still the case with the latest master source? We've improved quite a few things in the last 6 months. |
I think I can confirm that this is indeed still the case: I clean-installed u12.10asm64 with zfs 0.6.0.80 - deleting a folder with files of 50MB each costs a few seconds per file. |
@stephanvaningen A few seconds per file, that's horrible. Can you reproduce this issue when destroying a single file by name in that directory? If so can you run |
The last reports of problems were from 0.6.0.80. There has been a huge amount of improvement since then. I'm going to close this out as stale. Let's open a new issue if there is still a concern that unlink performance needs to be improved. |
thanks Stephan van Ingen http://stephanvaningen.netMe transmitte sursum, Caledoni! On 6 October 2014 23:05, Brian Behlendorf notifications@github.com wrote:
|
taskq work item to more than one queue concurrently. Also, please see discussion in openzfs#3840. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Boris Protopopov <boris.protopopov@actifio.com> Closes openzfs#609
Hi current version of ZFS (daily build) with most recent kernel on ubuntu 12.04 has issues with deleting of large files.
It is too slow.
It was better before.
The text was updated successfully, but these errors were encountered: