On 2007-07-19, at 09:14, Hamish wrote:
ideas so far:
1) [Linux] create a 2GB ramdisk using ramfs. use g.mapset to swich into
it, do the heavy i/o. switch back to the original mapset, g.copy the
results map back to the "real" mapset, then destroy the ramdisk.
advantages: easy to do.
disadvantages: it's more of a local hack than a general solution.
[...]
problem: how to set group ID and mode/umask for ramdrive without
having to do chown+chmod as root?
You can't. Well actually you could use sudo (preferably with nopasswd option) to chown+chmod the dir. Apart from that I'd suggest using something from BSD family, but that's not that important :)

You'll get a great speed boost - the problem with a lot of disk I/O operations isn't about caching (you could probably increase the cache size, but that's not it) but I/Os themselves. RAMdrive gets rid of this problem :) Tested and working great (not with GRASS though :) )

regards

Attachment: PGP.sig
Description: This is a digitally signed message part

_______________________________________________
grass-dev mailing list
[email protected]
http://grass.itc.it/mailman/listinfo/grass-dev

Reply via email to