/srv/irclogs.ubuntu.com/2013/01/25/#ubuntuone.txt

=== slank is now known as slank_away
mandelmorning!09:22
gatoxgood morning!11:16
freannrakHello, I'm having trouble with ubuntu one's sync. The problem is that it doesn't respect my upload limit. I've set it to 10 kilobits per second, but under system monitor I can clearly see that it's uploading at full speed.13:24
ryefreannrak: hi13:26
freannrakrye: hey13:26
ryefreannrak: this is bug https://bugs.launchpad.net/ubuntuone-storage-protocol/+bug/720707 and we have recently had some progress on that, let me dig it up13:27
ubot5Launchpad bug 720707 in Ubuntu One storage protocol "Bandwidth limit is not correctly enforced: Transmission delays are inserted between data chunk writes (of arbitrary sizes)" [High,Confirmed]13:27
ryedobey: has Stuart provided enough information re: https://code.launchpad.net/~stub/ubuntuone-storage-protocol/devel/+merge/143261 ?13:28
* rye stares at the workarounds in the bug report13:28
ryefreannrak: do you feel adventurous enough to test the fix?13:31
freannrakrye, thanks. I'm going to try wondershaper as a workaround.13:31
freannrakor do you have something better in mind?13:32
freannrakI have about 30-40 minutes to spare.13:32
ryefreannrak: http://paste.ubuntu.com/1569778/13:33
ryefreannrak: after this restart ubuntuone (in case patch applies cleanly) and test the upload limits13:34
freannrakpatch applied, how do I fully restart ubuntu one?13:37
freannrakjust kill it from htop?13:38
freannrakbrb13:44
freannrakhmm, still uploading at full speed.13:47
* rye reboots to test13:54
ryefreannrak: what speed have you set in upload settings and what's your ubuntu version?14:06
* rye sees max 30KiB/s when set 20 Kilobits per second14:06
ryei guess we have a bug report for that14:06
freannrakrye, 10 kilobits per second, I also tried with 1 afterwards, but no dice. 12.04 LTS14:07
ryefreannrak: hm, i am now in 12.04 LTS too... Silly question - have you clicked "Apply these settings"?14:08
freannrakrye, I'm pretty sure I did. Will try again just to make sure.14:08
freannrakrye, yep. still going at full speed ~120KiB/s.14:09
ryefreannrak: could you please try shutting it down with u1sdtool --quit and starting again?14:10
freannrakrye, I did that after changing the settings in the GUI and clicking apply.14:10
ryefreannrak: ok, it may mean that the patch has not applied or the compiled version for some reason is used instead of .py14:11
ryefreannrak: may I ask you to remove /usr/lib/python2.7/dist-packages/ubuntuone-storage-protocol/ubuntuone/storageprotocol/client.pyc ?14:11
freannrakdone14:11
ryefreannrak: now please try restarting with upload limit already set14:12
ryefreannrak: hm, now I can't make it work too14:13
freannrakrestarting as in full system reboot?14:14
ryefreannrak: no, u1sdtool --quit; (check that no ubuntuone-syncdaemon processes are running then), u1sdtool --connect14:14
ryefreannrak: what's the size of the file that is being uploaded (or there are multiple of these)?14:15
freannrakbunch of mp3 albums14:15
freannrakstill going at full speed14:16
ryefreannrak: could you please pastebin ~/.config/ubuntuone/syncdaemon.conf ?14:17
freannrakrye, http://pastebin.com/KD4D7dU614:19
ryefreannrak: may I ask you to set it to 10 "Kilobits" in the config?14:19
freannraksec14:20
freannrakrye, stop being so polite :P14:20
ryefreannrak: built-in string messages, cannot override14:21
freannrakrye, http://pastebin.com/9n8H7wq114:22
ryefreannrak: and still uploads at full speed?14:22
ryeok, need to test with multiple files14:22
freannrakrye, will test again, sec.14:22
ryeoh14:22
ryeinteresting14:23
ryefreannrak: it starts uploading at full link speed, then gradually decreases.14:23
ryeok, definitely does not work properly14:26
freannrakhmm, it's hovering around 70-95 for 2 minutes now.14:26
ryedobey: re: throttling patch - does not appear to work reliably (at least of 12.04 LTS, my raring is broken(14:26
rye)14:26
freannrakrye, oh well. I'm out of time atm, need to get some actual work done. I subscribed to the bug and am hoping for a fix. In the meantime I'll just have to manually sync at night when everyone is sleeping.14:33
freannrakrye, thanks for trying to help.14:33
ryefreannrak: i had some success with "trickle" - it shaped writes pretty reliably14:33
freannrakrye, thanks. I'll check it out.14:34
=== slank_away is now known as slank
dobeyrye: what isn't working reliably?15:10
ryedobey: well, i tried adjusting speed in sd with stuart's patch and it does not work quite well when one is changing parameters in runtime. At some point it just forgets about the limits and runs with full uplink speed, setting up sd to test this15:12
dobeyhrmm, that sounds odd15:13
=== salgado is now known as salgado-lunch
=== salgado-lunch is now known as salgado
=== gatox is now known as gatox_lunch
=== gatox_lunch is now known as gatox

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!