summaryrefslogtreecommitdiff
path: root/doc/todo/get_round_robin.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-09-29 12:55:42 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-09-29 12:55:42 -0400
commit0dfc1d4e6eb37aadaba47a210539b2438fba97f5 (patch)
treee0beee12909c581f06829060a93a72d6686ca730 /doc/todo/get_round_robin.mdwn
parentbd2a9fb40ef0bbe812e8ea375a5caabd6e628ef2 (diff)
remove old closed bugs and todo items to speed up wiki updates and reduce size
Remove closed bugs and todos that were last edited or commented before 2017. Command line used: for f in $(grep -l '|done\]\]' -- *.mdwn); do d="$(echo "$f" | sed 's/.mdwn$//')"; if [ -z "$(git log --since=01-01-2017 --pretty=oneline -- "$f")" -a -z "$(git log --since=01-01-2017 --pretty=oneline -- "$d")" ]; then git rm -- "./$f" ; git rm -rf "./$d"; fi; done for f in $(grep -l '\[\[done\]\]' -- *.mdwn); do d="$(echo "$f" | sed 's/.mdwn$//')"; if [ -z "$(git log --since=01-01-2017 --pretty=oneline -- "$f")" -a -z "$(git log --since=01-01-2017 --pretty=oneline -- "$d")" ]; then git rm -- "./$f" ; git rm -rf "./$d"; fi; done
Diffstat (limited to 'doc/todo/get_round_robin.mdwn')
-rw-r--r--doc/todo/get_round_robin.mdwn31
1 files changed, 0 insertions, 31 deletions
diff --git a/doc/todo/get_round_robin.mdwn b/doc/todo/get_round_robin.mdwn
deleted file mode 100644
index 25c3a8644..000000000
--- a/doc/todo/get_round_robin.mdwn
+++ /dev/null
@@ -1,31 +0,0 @@
-`git annex get` always gets files from the remote with the lowest cost.
-
-When two remotes have the same cost, it breaks the tie somehow,
-and consistently prefers one of them over the other.
-
-It would be nice if it instead round-robined amoung remotes with
-the same cost that have the file. In particular, with -J2, and 2 remotes
-A and B having each file, one thread could download from A and the other
-from B. That might be much faster than the current behavior of two threads
-downloading everything from A.
-
-Maybe a way to implement it is to keep a list of recently used remotes,
-and when starting a new get from a set of remotes that have the same cost,
-prefer the remote that is futher down the recently used list (or not on it
-at all). (Or, since git-annex has a remote list already, it could rotate
-the remotes of the same cost whenever starting a download from one.)
-
-While this would be a nice improvement to -J2 from network remotes,
-it might not really be desirable when not run in parallel. In particular,
-if A and B are on different spinning disks, then an access pattern of
-A,B,A,B might keep the disks idle enough that they spin down in-between
-access.
-
-> done for `git annex get -JN` where two remotes have the same cost.
->
-> Also for `git annex sync --content -JN` when downloading and two remotes
-> have the same cost.
->
-> Can't think of any other places that apply, except perhaps the assistant,
-> but it does its own much different queuing of transfers. [[done]]
-> --[[Joey]]