On Monday 12 June 2006 10:44, jtd wrote:
On Sunday 11 June 2006 08:24 am, Dileep M. Kumar wrote:
On 6/10/06, Mukund Deshmukh betacomp_ngp@sancharnet.in wrote:
Cheap USB drive will last 100,000 cycles only.
Just to know. how does a normal flash memory and 'flash' hard drives differ in their make.
A flash drive has an ide interface and software to translate the c/h/s to address:offset. Internally it is plain old flash with some ram as cache. Some wear levelling algorithm is also built in - which can play havoc if u loose power at the wrong time.
Did some research ... turns out
flash disks dont last ... (limited writes) .... the leveling algo distributes the writes among a large group of mem cells.
I found out using hdparm -i that the timed reads were significantly faster on the hdd compared with the hdd ... Maybe the spin delay might be eliminated in case of flash.
Solution slax toram http://www.slax.org/
How about using tmpfs or ramfs ... to create a fast access folder. improvement possible during compiles ... copy the files to a ramfs/shmfs dir and do the build there.
i've made a little incomplete script ... see attach
[S,s]teven