[Tilesathome] Use of ramdisk for temporary directories?
Matthias Julius
lists at julius-net.net
Wed Jul 4 19:48:11 BST 2007
Matthew Newton <matthew-osm at newtoncomputing.co.uk> writes:
> Hi,
>
> On Wed, Jul 04, 2007 at 12:11:55AM +0200, Dirk-L?der Kreie wrote:
>> Matthew Newton schrieb:
>> > On Tue, Jul 03, 2007 at 11:43:45PM +0200, Dirk-L?der Kreie wrote:
>> >> I'd say we try it.
>>
>> As I already mentioned, it's around 2 MB per Zip, which should be
>> processed sequentially. even if we process several in parallel (I read
>> chunks of 24 somewhere) that would be less than 50 MB still. Although I
>> would want to avoid using that kind of RAM (above 10 MB) on dev
>> unnecessarily.
>
> Yes, of course. I wasn't trying to imply that it shouldn't be used - I
> think it is a very good idea.
>
> Just to be careful that the process always clears up old files, even for
> any error cases. Running tmpreaper on the shm directory is a suitable
> hack if necessary.
I doubt the benefits would be huge. If the zip files are unpacked in
the same file system where the tiles have to go moving them should be
really cheap as this should only be changing directory entries and not
really move any data.
Matthias
More information about the Tilesathome
mailing list