terafin Posted June 15, 2013 Report Share Posted June 15, 2013 My Laptop and NAS SSDs are constantly being woken, and both the CPUs are constantly running at 10% or so CPU.Attached is a debug log from my mac, happy to do so from my NAS too, but can't figure out how to do it.Any ideas about how to quiet them down? I love the sync client, but it's killing my battery life - and likely impacting the SSDs Quote Link to comment Share on other sites More sharing options...
terafin Posted June 15, 2013 Author Report Share Posted June 15, 2013 Odd, the file didn't attach, trying again!macbook.txt Quote Link to comment Share on other sites More sharing options...
terafin Posted June 19, 2013 Author Report Share Posted June 19, 2013 Any ideas here? Quote Link to comment Share on other sites More sharing options...
GreatMarko Posted June 19, 2013 Report Share Posted June 19, 2013 Are you using the latest version of BitTorrent Sync (1.1.15)?As of 1.1.12 there were some improvements made which should allow disks to sleep. Quote Link to comment Share on other sites More sharing options...
terafin Posted June 19, 2013 Author Report Share Posted June 19, 2013 Yup, all of them are 1.1.5 (2 macs, 1 NAS) Quote Link to comment Share on other sites More sharing options...
GreatMarko Posted June 19, 2013 Report Share Posted June 19, 2013 Ok, well, in which case, have you tried setting the advanced setting "folder_rescan_interval" (the interval at which Sync fully rescans folders) to something very high? (default is 600 seconds (10 minutes))... this may then allow your disks to sleep? Quote Link to comment Share on other sites More sharing options...
terafin Posted June 19, 2013 Author Report Share Posted June 19, 2013 I tried that, sadly from logs it doesn't look like the re-scan, it appears to be pinging back and forth to clients, as well as scanning disks:[20130519 14:46:30.193] Incoming connection from 10.0.1.201:20003[20130519 14:46:30.344] Got ping (broadcast: 1) from peer 10.0.1.201:20003 (E91B9A4E6C12E9B455F5B80B5C316501945A2161) for share 3D01228585AB14AFC849D5E36514802510695FCB[20130519 14:46:30.344] Found peer for folder /Volumes/Rydia/bin E91B9A4E6C12E9B455F5B80B5C316501945A2161 10.0.1.201:20003 direct:1[20130519 14:46:30.344] Got ping (broadcast: 1) from peer 10.0.1.201:20003 (E91B9A4E6C12E9B455F5B80B5C316501945A2161) for share BA04BECC657B2C1D909046418535FEA63FCA9C5D[20130519 14:46:30.344] Found peer for folder /Volumes/Rydia/Desktop E91B9A4E6C12E9B455F5B80B5C316501945A2161 10.0.1.201:20003 direct:1[20130519 14:46:30.344] Got ping (broadcast: 1) from peer 10.0.1.201:20003 (E91B9A4E6C12E9B455F5B80B5C316501945A2161) for share 01477C0E13B268157A0D2B76BF7A626A4D56DD51[20130519 14:46:30.344] Found peer for folder /Volumes/Rydia/Documents E91B9A4E6C12E9B455F5B80B5C316501945A2161 10.0.1.201:20003 direct:1[20130519 14:46:30.345] Got ping (broadcast: 1) from peer 10.0.1.201:20003 (E91B9A4E6C12E9B455F5B80B5C316501945A2161) for share 432FA5EF96A2187075A199B00FC256FB305A0751[20130519 14:46:30.345] Found peer for folder /Volumes/Rydia/Movies E91B9A4E6C12E9B455F5B80B5C316501945A2161 10.0.1.201:20003 direct:1[20130519 14:46:30.345] Got ping (broadcast: 1) from peer 10.0.1.201:20003 (E91B9A4E6C12E9B455F5B80B5C316501945A2161) for share 610ED024A291C88CC5D1F477D9084608AA01F685[20130519 14:46:30.345] Found peer for folder /Volumes/Rydia/Pictures E91B9A4E6C12E9B455F5B80B5C316501945A2161 10.0.1.201:20003 direct:1[20130519 14:46:30.346] Got ping (broadcast: 1) from peer 10.0.1.201:20003 (E91B9A4E6C12E9B455F5B80B5C316501945A2161) for share D155CEC3D777E90787E420A559E071420B0EB84A[20130519 14:46:30.346] Found peer for folder /Volumes/Rydia/Projects E91B9A4E6C12E9B455F5B80B5C316501945A2161 10.0.1.201:20003 direct:1[20130519 14:46:30.346] Got ping (broadcast: 1) from peer 10.0.1.201:20003 (E91B9A4E6C12E9B455F5B80B5C316501945A2161) for share BD9F3EE6BEDBCC1F942BFA683291AF27913E432C[20130519 14:46:30.346] Found peer for folder /Volumes/Rydia/Settings E91B9A4E6C12E9B455F5B80B5C316501945A2161 10.0.1.201:20003 direct:1[20130519 14:46:30.346] Got ping (broadcast: 1) from peer 10.0.1.201:20003 (E91B9A4E6C12E9B455F5B80B5C316501945A2161) for share 1C6BC39796D72A774733B3495E9B28D300044892[20130519 14:46:30.346] Found peer for folder /Volumes/Rydia/Music E91B9A4E6C12E9B455F5B80B5C316501945A2161 10.0.1.201:20003 direct:1[20130519 14:46:30.347] Got ping (broadcast: 1) from peer 10.0.1.201:20003 (E91B9A4E6C12E9B455F5B80B5C316501945A2161) for share A16D5D031C6CA1FB02E7BEB7BD6AE1BD42B84CCC[20130519 14:46:30.347] Found peer for folder /Volumes/Rydia/Applications E91B9A4E6C12E9B455F5B80B5C316501945A2161 10.0.1.201:20003 direct:1[20130519 14:46:30.347] Got ping (broadcast: 1) from peer 10.0.1.201:20003 (E91B9A4E6C12E9B455F5B80B5C316501945A2161) for share F38B66D87F5357DAA589C3C9129FDA0652222A34[20130519 14:46:30.347] Found peer for folder /Volumes/Rydia/Games E91B9A4E6C12E9B455F5B80B5C316501945A2161 10.0.1.201:20003 direct:1[20130519 14:46:30.375] Got id message from peer Yuna (E91B9A4E6C12E9B455F5B80B5C316501945A2161) 1.1.15[20130519 14:46:30.375] Got state sync request from peer E91B9A4E6C12E9B455F5B80B5C316501945A2161[20130519 14:46:30.375] Merge: processing get_root message, my hash: 7EECEBD3A99B5939214E94B8142EF185C561669A[20130519 14:46:30.427] Merge: processing get_availability message, my hash: EBE2AE01371B0DDE40FD8668D169C3EE5FBF0EAB, prev hash: EBE2AE01371B0DDE40FD8668D169C3EE5FBF0EAB[20130519 14:46:30.454] State sync finished for folder /Volumes/Rydia/Desktop[20130519 14:46:31.040] Sending broadcast ping for share 3D01228585AB14AFC849D5E36514802510695FCB Quote Link to comment Share on other sites More sharing options...
GreatMarko Posted June 19, 2013 Report Share Posted June 19, 2013 Have you tried disabling the "Search LAN" option, as this might explain all the pings!? Quote Link to comment Share on other sites More sharing options...
terafin Posted June 19, 2013 Author Report Share Posted June 19, 2013 Interesting. I have not, however... I can't seem to see it anywhere? Where is that at?As a note I'm also getting pings from peers off my LAN too.. Quote Link to comment Share on other sites More sharing options...
GreatMarko Posted June 19, 2013 Report Share Posted June 19, 2013 Interesting. I have not, however... I can't seem to see it anywhere? Where is that at?It's a per-folder setting, which for devices with a "sync.conf" file it appears in the config file as "search_lan", whereas via the GUI it's simply a tick box that can be found via [select folder] -> [right-click folder] -> Show folder preferences -> Search LAN Quote Link to comment Share on other sites More sharing options...
terafin Posted June 20, 2013 Author Report Share Posted June 20, 2013 Thanks! I tried this out on all machines, and sadly it's still doing the same pings back and forth. Any other ideas? Any logs that would be useful here? Quote Link to comment Share on other sites More sharing options...
mcgroarty Posted June 20, 2013 Report Share Posted June 20, 2013 Rescanning of large folders can crater system performance. This is why all major OSes have an API for subscribing to changes to local volumes. By receiving notifications when a watched folder changes, there is no need to scan folders more than once. Should BitTorrent Sync be using this?I don't know if a single cross-platform library exists for this, but the interface is pretty simple on each platform. Seek info on the FSEvents API on Mac, FindFirstChangeNotification on Windows, and inotify on Linux.Dropbox uses this approach. Even with 1.5 million files, Dropbox remains idle when no changes have been made. If it were crawling these folders every ten minutes it would be unusable on a laptop or a desktop with a spinning disk. Quote Link to comment Share on other sites More sharing options...
Heavensrevenge Posted June 20, 2013 Report Share Posted June 20, 2013 For me, BTSync uses 0.05% CPU usage nonstop AND it uses 2.5KB of network bandwidth every second, which is wasteful and it accumulates since I really want to run it nonstop in the background without it using up resources needlessly... Please do something about the constant 2.5Kbps usage. Quote Link to comment Share on other sites More sharing options...
GreatMarko Posted June 20, 2013 Report Share Posted June 20, 2013 For me, BTSync uses 0.05% CPU usage nonstop AND it uses 2.5KB of network bandwidth every second, which is wasteful and it accumulates since I really want to run it nonstop in the background without it using up resources needlessly... Please do something about the constant 2.5Kbps usage.If all your devices are on the same network, you can disabled the tracker, relay, and DHT options to reduce the amount of network traffic. Also, disabling the "Search LAN" option, and enabling the "rate_limit_local_peers" setting will significantly reduce the amount of network traffic Quote Link to comment Share on other sites More sharing options...
Heavensrevenge Posted June 20, 2013 Report Share Posted June 20, 2013 This is what I mean by constant usage, this is even after I just removed Sync and re-installed it fresh, and I have ZERO shared folders, and I disabled all features, even auto-updates. The top graph is CPU usage, always over 0.05% and the bottom blue graph is network usage without ANY shares or secret configured at all. And Sync will ALWAYS stay above these values and constantly use resources.Ahem, even though I'm running Sync on Win8 and not a Mac, at least you can see what I mean. Quote Link to comment Share on other sites More sharing options...
terafin Posted June 23, 2013 Author Report Share Posted June 23, 2013 Is there any info we can provide here? This is a truly fantastic product, but the CPU usage is really hurting Quote Link to comment Share on other sites More sharing options...
GreatMarko Posted June 23, 2013 Report Share Posted June 23, 2013 Is there any info we can provide here?If you believe you have an issue, you can report it directly to the developers Quote Link to comment Share on other sites More sharing options...
terafin Posted June 24, 2013 Author Report Share Posted June 24, 2013 Thanks, already done - awaiting a response. I'll post here if I hear anything! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.