aapman88 Posted January 8, 2015 Report Share Posted January 8, 2015 Hi, I have installed btsync on my raspberrypi running debain wheezy and would like to tune down the folder rescan interval. I have found in the documentation that I need to do this en the btsync.config, however I cannot find this file on my raspberry. Can someone help me find this file.And are their other settings to decrease the performance? Thanks Quote Link to comment Share on other sites More sharing options...
GreatMarko Posted January 9, 2015 Report Share Posted January 9, 2015 Try /home/pi/.config/btsync/btsync.conf You can also generate a sample config file by running sync with the "--dump-sample-config" paramter. In relation to "decreasing performance" - do you mean decreasing performance of Sync/increasing performance of your system, or increasing the performance of Sync/decreasing the performance of your system? Either way, here are some of the key advanced settings which can affect performance of Sync/your system:disk_low_priority - set to "true" will concede resources to other applications accessing storagelan_encrypt_data - setting this to "true" can increase CPU loadfolder_rescan_interval - setting this too low will increase the rate of storage access and which can in turn reduce performance of your systemrecv_buf_size/send_buf_size - the higher these values, the more memory will be consumed by Sync Also, if you're syncing folders with using encrypted keys, this can also increase the CPU usage of Sync. Quote Link to comment Share on other sites More sharing options...
aapman88 Posted January 10, 2015 Author Report Share Posted January 10, 2015 I do not have the .config/btsync folder or at least i m not able to cd into it.Not sure how to run sync with the --config or --dump-sample-config command either. I m able to stop btsync by the follwoing commandsudo service btsync stopBut the command suggested in the help folder does not do anything [./btsync ]I m a bit confused. when btsync is of i get the following response from the status commandsudo service btsync status[ ok ] BTSYNC 'debconf-default' is running. So I gues i m first need to create the new config file but i m clueless how. Quote Link to comment Share on other sites More sharing options...
aapman88 Posted January 11, 2015 Author Report Share Posted January 11, 2015 some extra information: I used this guide to install btsync: https://melgrubb.wordpress.com/2014/08/03/raspberry-pi-home-server-part-14-bittorrent-sync/ to stopsudo service btsync stopto make an config file I triedsudo service btsync start --dump-sample-configbut this gives me an error message that this command does not exist If i run the below command I guess I should also get the config....find / -name "btsync"/usr/lib/btsync/usr/share/btsync/usr/share/doc/btsync/etc/btsync/etc/default/btsync/etc/init.d/btsyncI get a lot more but they all report permission deniedI triend all folders in combination with ./btsync command to start the application however this does not workClosest is when i go to /etc/default/ and try ./btsync it returns permission denied I m quit a noob with this but I would like to learn.Can someone give me some pointers?Thanks What I in the end want to obtain is that my USB HD does not stay on all the time. 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.