[Tilesathome] Use of ramdisk for temporary directories?

Dirk-Lüder Kreie osm-list at deelkar.net
Tue Jul 3 22:43:45 BST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

OJW schrieb:
> There was suggestion on IRC to use /dev/shm as a temporary directory for 
> unzipping uploads - any comments on whether this is a good idea?
> 
> (my impression was: disk "hdd" which houses everything used in the unzip 
> process (the zip files, the temporary directory, and the final image 
> directory) has 20% the throughput compared to disk "hda" which isn't involved 
> in the unzip process at all, so disk access for the unzip operation is 
> unlikely to be a bottleneck)

I am just unsure the unzipping really happens on hdd alone, because hda
has almost twice the IO load of hdd.

But since the zips are small and processed one after the other a small
ramdisk should suffice (should currently not exceed 2 MB because of the
zip upload limits)

I'd say we try it.

- --

Dirk-Lüder "Deelkar" Kreie
Bremen - 53.0952°N 8.8652°E

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGisMRFUbODdpRVDwRAlDGAKCR6hXGMhNXXB90WyrAZB2HDDuNsACgo2jV
E94Oc6D9Efya1B02pyD0yuk=
=2FyR
-----END PGP SIGNATURE-----




More information about the Tilesathome mailing list