[1.1.9.28] slow ssh/scp/rsync when screen is off
Don't know if anyone experienced this before but when using ssh/scp or rsync while the screen is turned off, it is very unresponsive and slow. Transfer rates of rsync/scp are like ~.5 to 1 MByte/s versus 7-8 MByte/s while awake. pkcon even refused to do anything at all until i manually turned on the screen. I would expect the device to go into some sort of deep sleep while the screen is turned of but shouldn't it wake/speed up when there is some work to be done?
I would recommend to use USB networking - Jolla should not enter deep sleep when connected to a power source (USB cable) and the connection should be faster and more stable than over WiFi. :)
MartinK ( 2015-09-12 01:43:23 +0200 )editI noticed this on 1.1.7 when trying to lazily do my backups (mmc cloning) over wifi - the "su" command didnt seem to finish at all before i tapped the screen active. Then i ended up doing the backup over wifi while the phone was plugged into usb for charge only because i was too lazy to change the networking ...
urjaman ( 2015-09-12 11:58:39 +0200 )editUSB is not an option. The idea is to have it automatically backup as soon as it is in my home wifi. You can d this using systemd. It will run a script as soon as the device makes connection to a distinct wifi network. Please let me know if there is a command to wake the device, so i can do the backup safe and fast and put the device to sleep again after successful backup. "Race to idle" has proven to be a lot more efficient than a slow transfer that consumes less power.
Shoppinguin ( 2015-09-12 14:26:35 +0200 )editYes, this is the case with 1.1.9, but I don't see a difference to the way it was before. Every now and then, when the screen was blank, SSH would go to sleep and I needed to double-tap to continue working. It was most annoying when this behaviour prevented the SSH session to even start.
ossi1967 ( 2015-09-12 14:32:13 +0200 )edit