[Tilesathome] Config question

Alan Millar am12 at bolis.com
Thu Mar 12 17:22:53 GMT 2009


> a) How to set which config-items, so that upload starts when the first
> (if more (tile, maplint, captionless) are requested) result is
> available? (ForkForUpload is set to 1 and doesn't help)

Fork for upload should do the upload in the background while the *next*
tile is rendering, but as you found, it won't start it sooner.

You may want to look at the TaH client config options for "upload
directory".  You could have two separate copies of TaH client running. 
One would download and render tiles and put them in the upload directory,
and the other would take the tile files in the upload directory and upload
them to the TaH server.  You might have to make your own little shell
script to run "tilesGen.pl upload" in a loop for the uploader.  I haven't
tried this recently myself, but I did it a year ago and it worked OK with
the older client code.  The tile file might be put into the upload
directory as soon as it is done rendering, allowing you to start uploading
it sooner.

> b) Is there a way to "throttle" the upload-consuming-bandwidth?

> Assuming you are running some flavour of linux you can look into
> wondershaper or some other QOS software.

I agree.  The Linux kernel network traffic control features work very
well; they are just a little hard to set up at first.  Wondershaper is a
script to help you set up the Linux traffic throttling.  Take a look at
it, and the Linux "tc" command.

- Alan






More information about the Tilesathome mailing list