Slow connection, problems getting WUs

Message boards : Questions and problems : Slow connection, problems getting WUs
Message board moderation

To post messages, you must log in.

AuthorMessage
Chris Granger
Avatar

Send message
Joined: 20 Nov 10
Posts: 33
Canada
Message 35807 - Posted: 20 Nov 2010, 0:36:16 UTC

I have a dreadfully slow internet connection that I'm sharing with other computers, and I've been having some difficulty downloading BOINC files since sometimes multiple projects are all competing for what little bandwidth I have available.

Is there any way to limit downloads in the Transfers tab of the BOINC Manager to one file at a time? I think this would reduce the occurrence of retries and download failures.

Thanks.
ID: 35807 · Report as offensive
Les Bayliss
Help desk expert

Send message
Joined: 25 Nov 05
Posts: 1654
Australia
Message 35808 - Posted: 20 Nov 2010, 1:10:07 UTC - in response to Message 35807.  

There are options in the Network usage part of preferences, to limit the transfer rate.

ID: 35808 · Report as offensive
Chris Granger
Avatar

Send message
Joined: 20 Nov 10
Posts: 33
Canada
Message 35810 - Posted: 20 Nov 2010, 9:19:49 UTC - in response to Message 35808.  

That only controls how fast or slow the downloads are though, correct? What I'd like is to be able to dedicate all available bandwidth to a single file at a time instead of downloading multiple files concurrently (and thus extremely slowly).

There's no hidden configuration file to do this like you can in Firefox or uTorrent or whatever?
ID: 35810 · Report as offensive
Profile Gundolf Jahn

Send message
Joined: 20 Dec 07
Posts: 1069
Germany
Message 35811 - Posted: 20 Nov 2010, 9:27:57 UTC - in response to Message 35807.  
Last modified: 20 Nov 2010, 9:29:47 UTC

You can also create a cc_config.xml file in your BOINC data directory and enter options to limit the number of simultaneous file transfers:
<max_file_xfers>N</max_file_xfers>
Maximum number of simultaneous file transfers (default 8). 
<max_file_xfers_per_project>N</max_file_xfers_per_project>
Maximum number of simultaneous file transfers per project (default 2).

Gruß,
Gundolf
[edit]You posted your second entry while I was composing mine :-)[/edit]
Computer sind nicht alles im Leben. (Kleiner Scherz)
ID: 35811 · Report as offensive
Chris Granger
Avatar

Send message
Joined: 20 Nov 10
Posts: 33
Canada
Message 35812 - Posted: 20 Nov 2010, 10:24:41 UTC - in response to Message 35811.  
Last modified: 20 Nov 2010, 10:56:14 UTC

This is exactly what I was looking for. Thanks!

Edit: I'm a total Linux newbie and while I was able to find the cc_config.xml file I need to edit, it is Read Only and I don't know what to do about that. How would I temporarily change the file permissions so that I can add that bit of markup to the file?

I'm using Ubuntu 10.04 if that matters...
ID: 35812 · Report as offensive
Profile Gundolf Jahn

Send message
Joined: 20 Dec 07
Posts: 1069
Germany
Message 35814 - Posted: 20 Nov 2010, 11:26:25 UTC - in response to Message 35812.  

That would be the chmod command.

I found it by entering "unix access rights" in a google window. ;-) (My last unix experience dates back a few years.)

If you need more info on chmod, try the unix manual pages (RTFM;-).

By the way, what BOINC version do you run? I'm asking because usually there's no cc_config.xml on a new install.

Gruß,
Gundolf
ID: 35814 · Report as offensive
SekeRob2

Send message
Joined: 6 Jul 10
Posts: 585
Italy
Message 35815 - Posted: 20 Nov 2010, 11:46:44 UTC - in response to Message 35814.  

There IS by default a cc_config.xml, at least the packages 6.10.17 and 6.10.58 from Synaptic have a fully populated version put under Ubuntu in its own dir /etc/boinc-client, isolated from the rest of the data_dir (linked file), so its less likely to mess up things.

Edit is simple by doing a sudo gedit /etc/boinc-client/cc_config.xml without having to meddle with ownerships and whatnot. If one does and not set it back, it could result in the daemon not starting up at boot time.
ID: 35815 · Report as offensive
Chris Granger
Avatar

Send message
Joined: 20 Nov 10
Posts: 33
Canada
Message 35818 - Posted: 20 Nov 2010, 12:28:04 UTC - in response to Message 35815.  

Thanks SekeRob2, that did the trick. :)

Gundolf, I did search... I don't want you to think I didn't try to figure it out myself first. I was missing the gedit portion of the command I needed. I thought I could do that sudo bit on the file and then open it to edit it. I must stress I'm a complete Linux newbie (brand new computer, first one with no Windows), learning as I go.

Thanks again.
ID: 35818 · Report as offensive
whynot

Send message
Joined: 8 May 10
Posts: 89
Ukraine
Message 35821 - Posted: 20 Nov 2010, 19:37:47 UTC

Please, consider reading "Debian Reference". It's quite big, but it's good reading anyway. And consider moving to any other distribution.

I'm counting for science,
points just make me sick.
ID: 35821 · Report as offensive

Message boards : Questions and problems : Slow connection, problems getting WUs

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.