2008/10/2 David Lynch <[EMAIL PROTECTED]>

> One of the things I've noticed running _unstable on my machine is that
> the faster rendering has resulted in optimizing and uploading tiles
> being a bottleneck. Stable seems to only run into a situation of the
> current render finishing before the previous upload is done when the
> rendering is of a blank or very sparse tileset, but eliminating
> striped rendering seems to have sped things up enough that optimizing
> a tileset where most of the images are non-empty takes longer than the
> render of even a somewhat complex tileset.
>
> I know that there's work ongoing to try to improve the speed of the
> optimization of tiles, but as a more temporary measure, I've modified
> the script on my local machine to use separate niceness values for
> rendering and optimizing, and running the optimizing at a higher
> priority than the rendering (nice -n5 for optimizing, nice -n10 for
> rendering) seems to have sped things up substantially. I can commit
> this to SVN if the group is interested, but I wanted to check with
> everyone first, especially the server folks, to make sure that the
> possible increase in upload frequency wouldn't be a problem.
>

Does your patch allow the different niceness levels to be
configured separately? I'm asking as for folks running [EMAIL PROTECTED] on 
machines doing
other work they might not want the optimizing to run at such a low niceness
level as it could potentially affect other services...

The ability for the [EMAIL PROTECTED] client to use only background resources 
needs to be
a higher priority than quick throughput... The fact that it couldn't be
trusted to not affect other services is why I had to remove it from the
machines I was running it on, thought admittedly, the issue there wasn't CPU
usage but memory usage where even with 4+GB of RAM the combination of other
services using RAM and the occasional very complex tile causing massive
memory usage caused the machine and all services running on it to grind to a
near halt for a while... If I get time to look at it again, I'll probably
look at finding a way to limit RAM usage, but, this is just an example in
this context of issues that can cause [EMAIL PROTECTED] to interfere with the 
running of
other system services that could also be triggered by certain parts of
[EMAIL PROTECTED] at higher priorities which is my only concern here...

d
_______________________________________________
Tilesathome mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/tilesathome

Reply via email to