ipfs pin ls is really fast when the repo size is small, but the bigger it gets the slower it is, this affects other operations, such as calling the gc after unpinning an object. My cpu usage during this process is not very high (ipfs.exe is using around 4-5% CPU).
Is this behaviour normal or it should use more resources to finish faster?
I understand, that listing a lot of files may take a long time, this is usually not a problem since listing all the pinned files without specifying a file or at least a type is not usually done, my main worry is when deleting a file from the repo and using the repo gc command since deleting just one big file can take a long time (6.6min to delete a 20gb video), that may be too long for a regular user.
The text was updated successfully, but these errors were encountered:
@kikoncuo This is a good thing to bring up. Its a known problem, though youre the first to open an issue about it, This puts it clearly on our TODO list.
It definitely should be faster, so lets try and make it so.
Any news about this bug? It continues to be really slow on 0.4.17 and is keeping some scripts of my nodes from executing properly... Would be really great to have this solved.
kikoncuo commentedApr 23, 2017
•
edited
Version information:
go-ipfs version: 0.4.8-
Repo version: 5
System version: amd64/windows
Golang version: go1.8
Type: bug
Severity: medium
Description:
ipfs pin ls is really fast when the repo size is small, but the bigger it gets the slower it is, this affects other operations, such as calling the gc after unpinning an object. My cpu usage during this process is not very high (ipfs.exe is using around 4-5% CPU).
Is this behaviour normal or it should use more resources to finish faster?
I understand, that listing a lot of files may take a long time, this is usually not a problem since listing all the pinned files without specifying a file or at least a type is not usually done, my main worry is when deleting a file from the repo and using the repo gc command since deleting just one big file can take a long time (6.6min to delete a 20gb video), that may be too long for a regular user.
The text was updated successfully, but these errors were encountered: