{"action":"created","issue":{"url":"https://api.github.com/repos/yadayada/acd_cli/issues/97","labels_url":"https://api.github.com/repos/yadayada/acd_cli/issues/97/labels{/name}","comments_url":"https://api.github.com/repos/yadayada/acd_cli/issues/97/comments","events_url":"https://api.github.com/repos/yadayada/acd_cli/issues/97/events","html_url":"https://github.com/yadayada/acd_cli/issues/97","id":96921388,"number":97,"title":"Improving directory listing (getattr()) performance","user":{"login":"msh100","id":4477262,"avatar_url":"https://avatars.githubusercontent.com/u/4477262?v=3","gravatar_id":"","url":"https://api.github.com/users/msh100","html_url":"https://github.com/msh100","followers_url":"https://api.github.com/users/msh100/followers","following_url":"https://api.github.com/users/msh100/following{/other_user}","gists_url":"https://api.github.com/users/msh100/gists{/gist_id}","starred_url":"https://api.github.com/users/msh100/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msh100/subscriptions","organizations_url":"https://api.github.com/users/msh100/orgs","repos_url":"https://api.github.com/users/msh100/repos","events_url":"https://api.github.com/users/msh100/events{/privacy}","received_events_url":"https://api.github.com/users/msh100/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/yadayada/acd_cli/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/yadayada/acd_cli/labels/FUSE","name":"FUSE","color":"fbca04"},{"url":"https://api.github.com/repos/yadayada/acd_cli/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":19,"created_at":"2015-07-23T22:51:43Z","updated_at":"2015-10-12T22:12:44Z","closed_at":null,"body":"I have noticed directory listing and generally `getattr()` performance on `acd_cli` is quite poor.\r\n\r\n```bash\r\n$ time tree $LOCAL > /dev/null\r\nreal    0m2.093s\r\nuser    0m0.252s\r\nsys     0m0.044s\r\n$ time tree $ACD > /dev/null\r\nreal    1m10.940s\r\nuser    0m0.112s\r\nsys     0m0.152s\r\n```\r\n\r\n`$LOCAL` is a local EXT4 filesystem. Both `$LOCAL` and `$ACD` have the same files and structure.\r\n\r\nDuring the `tree` period, the `acd_cli` mount is also at 100% CPU. I understand that all the data is being stored locally (once fetched from an `acd_cli sync`) so believe the performance can be greatly improved. \r\n\r\nI understand it will never match the EXT4 performance, however shouldn't be this resource intensive/inefficient."},"comment":{"url":"https://api.github.com/repos/yadayada/acd_cli/issues/comments/147535396","html_url":"https://github.com/yadayada/acd_cli/issues/97#issuecomment-147535396","issue_url":"https://api.github.com/repos/yadayada/acd_cli/issues/97","id":147535396,"user":{"login":"Slennox","id":14031918,"avatar_url":"https://avatars.githubusercontent.com/u/14031918?v=3","gravatar_id":"","url":"https://api.github.com/users/Slennox","html_url":"https://github.com/Slennox","followers_url":"https://api.github.com/users/Slennox/followers","following_url":"https://api.github.com/users/Slennox/following{/other_user}","gists_url":"https://api.github.com/users/Slennox/gists{/gist_id}","starred_url":"https://api.github.com/users/Slennox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Slennox/subscriptions","organizations_url":"https://api.github.com/users/Slennox/orgs","repos_url":"https://api.github.com/users/Slennox/repos","events_url":"https://api.github.com/users/Slennox/events{/privacy}","received_events_url":"https://api.github.com/users/Slennox/received_events","type":"User","site_admin":false},"created_at":"2015-10-12T22:12:44Z","updated_at":"2015-10-12T22:12:44Z","body":"@shushry: I'm also looking into that. In fact, that should be the solution I'm looking for. ACD's object storage isn't designed to work well with torrent downloading. However torrent seeding should be perfectly fine (just some tweaking required with send buffers on torrent client side), The idea is just to download torrents to local disk and then upload them to ACD, BUT keep seeding them from there.\r\n"}}