{"action":"created","issue":{"url":"https://api.github.com/repos/borgbackup/borg/issues/896","repository_url":"https://api.github.com/repos/borgbackup/borg","labels_url":"https://api.github.com/repos/borgbackup/borg/issues/896/labels{/name}","comments_url":"https://api.github.com/repos/borgbackup/borg/issues/896/comments","events_url":"https://api.github.com/repos/borgbackup/borg/issues/896/events","html_url":"https://github.com/borgbackup/borg/issues/896","id":147968620,"number":896,"title":"borgbackup writes local chunk cache every 5 minutes, causing burst writes of more than 1 GiB each time","user":{"login":"martin21","id":114577,"avatar_url":"https://avatars.githubusercontent.com/u/114577?v=3","gravatar_id":"","url":"https://api.github.com/users/martin21","html_url":"https://github.com/martin21","followers_url":"https://api.github.com/users/martin21/followers","following_url":"https://api.github.com/users/martin21/following{/other_user}","gists_url":"https://api.github.com/users/martin21/gists{/gist_id}","starred_url":"https://api.github.com/users/martin21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martin21/subscriptions","organizations_url":"https://api.github.com/users/martin21/orgs","repos_url":"https://api.github.com/users/martin21/repos","events_url":"https://api.github.com/users/martin21/events{/privacy}","received_events_url":"https://api.github.com/users/martin21/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-13T07:19:25Z","updated_at":"2016-04-13T09:32:03Z","closed_at":"2016-04-13T09:32:03Z","body":"I just saw this again, vmstat 1 output:\r\n\r\nprocs -----------memory---------- ---swap-- -----io---- -system-- ------cpu-----\r\n 1  3 2438352 130788    132 10609920  136   20 10316 126072 6832 28580 13 24 50 13  0\r\n 1  3 2438400 154100    132 10558816    0   48   428 472396 3306 18648  4 14 35 47  0\r\n 0  3 2438400 168484    132 10560680    0    0   452 452384 2268 2732  2  3 39 56  0\r\n 0  2 2438400 183004    132 10561820    0    0   280 403788 2639 4671  5  5 38 53  0\r\n 0  2 2438400 196108    132 10564468    0    0  1448 193200 2537 4000  6  7 43 45  0\r\n 2  1 2438400 187444    132 10574308    0    0 12156 11252 4628 12536 14  7 65 15  0\r\n\r\nthe cache is:\r\n\r\nmerkaba:~> du -sh .cache/borg \r\n2,6G    .cache/borg\r\n\r\nIf I add the values of vmstat block out I get already 1,6 GiB of data written. Thats more than half of the cache. If it does that every 5 minutes its quite an amount of writes. Does borgbackup fully rewrite the cache every 5 minutes or does it just write changes to the cache?\r\n\r\n(That said good SSDs can take a lot of writes, but still, this seems excessive to me.)"},"comment":{"url":"https://api.github.com/repos/borgbackup/borg/issues/comments/209334794","html_url":"https://github.com/borgbackup/borg/issues/896#issuecomment-209334794","issue_url":"https://api.github.com/repos/borgbackup/borg/issues/896","id":209334794,"user":{"login":"martin21","id":114577,"avatar_url":"https://avatars.githubusercontent.com/u/114577?v=3","gravatar_id":"","url":"https://api.github.com/users/martin21","html_url":"https://github.com/martin21","followers_url":"https://api.github.com/users/martin21/followers","following_url":"https://api.github.com/users/martin21/following{/other_user}","gists_url":"https://api.github.com/users/martin21/gists{/gist_id}","starred_url":"https://api.github.com/users/martin21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martin21/subscriptions","organizations_url":"https://api.github.com/users/martin21/orgs","repos_url":"https://api.github.com/users/martin21/repos","events_url":"https://api.github.com/users/martin21/events{/privacy}","received_events_url":"https://api.github.com/users/martin21/received_events","type":"User","site_admin":false},"created_at":"2016-04-13T09:32:03Z","updated_at":"2016-04-13T09:32:03Z","body":"Thanks, I adapted my script. I briefly looked for something like this, but overlooked it in the manpage. Its documented. So… closing."}}