Two temporary download folders so I can process smallish downloads in memory
Posted: August 11th, 2010, 7:52 pm
I would like to be able to keep downloads under 2 GB (or whatever amount fits with your available memory) in memory (i.e. /dev/shm), the rars, any pars, all the raw downloaded parts, then unrar, also in memory, then finally move the unrared files to the final location.
This would allow me to have smallish downloads processed in memory only, which should be faster, but more importantly, saves disk writes.
Downloads over 2 GB would be processed in a separate location, namely somewhere on a hard drive.
There should probably be big warning messages about how a 2 GB download will take at least 4 GB to fully process & proceed with caution & be sure you have enough available memory available for this. Also, maybe some warning about how power failures & shutdowns & reboots will empty this memory-based temporary download folder with malice.
Thanks.
This would allow me to have smallish downloads processed in memory only, which should be faster, but more importantly, saves disk writes.
Downloads over 2 GB would be processed in a separate location, namely somewhere on a hard drive.
There should probably be big warning messages about how a 2 GB download will take at least 4 GB to fully process & proceed with caution & be sure you have enough available memory available for this. Also, maybe some warning about how power failures & shutdowns & reboots will empty this memory-based temporary download folder with malice.
Thanks.