[Tilesathome] t at h with 512M RAM
Marton Kadar
marton.kadar at mail.com
Fri Feb 22 17:06:22 GMT 2008
I use Ubuntu also on a laptop with 512M memory.
I wrote a pair of little scripts. (tahon.sh and tahoff.sh)
When I walk away from the machine, I log off from the
Gnome desktop, then Ctrl-Alt-F1, log on in the text console,
and start tahon.sh. It turns off X and some unimportant
services and swapping, and then it starts the t at h client.
When I come back, I start tahoff.sh, and it activates the
swap space, and starts gdm again, and I can log on and do
regular stuff.
When I get back, I sometimes see some messages about
a few OOM-killed inkscapes, but on other days I don't.
I'll never catch up with jth or milenko 8-) but it still is
great fun to participate in t at h and render some ridiculously
simple seashore tiles!
marcingo
----8< ----8< --- tahon.sh ---- >8---- >8----
#!/bin/bash
sudo /etc/init.d/gdm stop
sudo /etc/init.d/gpsd stop
sudo swapoff -a
sudo cpufreq-set -g performance
sudo /etc/init.d/tiles-gen-client start
----8< ----8< --- end of tahon.sh ---- >8---- >8----
----8< ----8< --- tahoff.sh ---- >8---- >8----
#!/bin/bash
sudo /etc/init.d/tiles-gen-client stop
sudo cpufreq-set -g conservative
sudo swapon -a
sudo /etc/init.d/gpsd start
sudo /etc/init.d/gdm start
----8< ----8< --- end of tahoff.sh ---- >8---- >8----
> ----- Original Message -----
> From: "Martijn van Oosterhout" <kleptog at gmail.com>
> To: "Francesco Pelullo" <niubii69 at gmail.com>
> Subject: Re: [Tilesathome] Proposed new features
> Date: Fri, 22 Feb 2008 17:21:32 +0100
>
>
> On Fri, Feb 22, 2008 at 8:32 AM, Francesco Pelullo <niubii69 at gmail.com> wrote:
> > My proposed feature is this: is possible to modify Poynton for download
> > only tileset that don't require to swap?
> > For example, putting a variable in config files in which anyone could
> > say what's the maximum amount of resources to make available.
>
> Well, you could use ulimit. But the server also has a complexity
> figure. There were plans to use this to let people skip tiles too
> large for them. It never got implemented though...
>
> Have a nice day,
> --
> Martijn van Oosterhout <kleptog at gmail.com> http://svana.org/kleptog/
>
> _______________________________________________
> Tilesathome mailing list
> Tilesathome at openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/tilesathome
>
--
Want an e-mail address like mine?
Get a free e-mail account today at www.mail.com!
More information about the Tilesathome
mailing list