diff options
author | zardoz <zardoz@web> | 2014-07-08 13:16:10 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2014-07-08 13:16:10 +0000 |
commit | a56e4b9f4f082d7637bd57b3aa66285d3f64f58b (patch) | |
tree | e6dd8e6a195a5ab4ff812c0e4e8be71a0d1a0c78 /doc | |
parent | 6bacdc1db288a3e6e4f65e92c03d927edb1d6985 (diff) |
Diffstat (limited to 'doc')
-rw-r--r-- | doc/todo/Faster___171__git_annex_status__187___when___171__git_annex_watch__187___is_running.mdwn | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/todo/Faster___171__git_annex_status__187___when___171__git_annex_watch__187___is_running.mdwn b/doc/todo/Faster___171__git_annex_status__187___when___171__git_annex_watch__187___is_running.mdwn new file mode 100644 index 000000000..7f7a482b9 --- /dev/null +++ b/doc/todo/Faster___171__git_annex_status__187___when___171__git_annex_watch__187___is_running.mdwn @@ -0,0 +1,5 @@ +I’m just experimenting with git-annex on a repo of ~150k files in about the same number of directories (WORM-backend). Calling, e.g., «git annex status» will take several minutes while stat()-ing all the files (for changes, I presume). + +This might already be on you todo list, but I was wondering whether it is possible to increase the performance of «annex status» (or related commands) when «annex watch» is running in the background. In that case, «status» could rely on cached data built-up at some point during initialization, plus based on the data that was accumulated via inotify. (Hopefully, all this won’t even be needed anymore on btrfs at some point in the future.) + +(I’m not very knowledgable in these things, so just out of curiosity: I noticed that, even though the «status» invocation takes ages, no HDD activity occurs and all the metadata is probably already in the Linux caches from a run I conducted immediately beforehand. Why do you figure that is? Is context switching so hugely expensive?) |