Re: running testing patterns on block devices

2007-05-18 Thread Ira Abramov
Quoting Gilad Ben-Yossef, from the post of Thu, 17 May: > > The tool would be useless. The underlying flash (probably NAND technology) > storage works in erase blocks sizes, each of which can be written x (for > value of x somewhere around 100,000 writes) before it becomes unreliable. > The mor

Re: running testing patterns on block devices

2007-05-17 Thread Geoffrey S. Mendelson
On Thu, May 17, 2007 at 11:06:35AM +0300, Nadav Har'El wrote: > I have a question unrelated to the original question (and to Linux...): > How does this "wear leveling" work if a card is mostly full? E.g., my > typical situation is that I have a 512 MB card, but 450 MB of it is full > (with pictures

Re: running testing patterns on block devices

2007-05-17 Thread Gilad Ben-Yossef
Nadav Har'El wrote: On Thu, May 17, 2007, Gilad Ben-Yossef wrote about "Re: running testing patterns on block devices": The more writes, the lesser the useful life expetency. To combat this the Compact Flash hardware does something called uses a "wear leveling algorith

Re: running testing patterns on block devices

2007-05-17 Thread Nadav Har'El
On Thu, May 17, 2007, Gilad Ben-Yossef wrote about "Re: running testing patterns on block devices": > The more writes, the lesser the useful life expetency. To combat this the > Compact Flash hardware does something called uses a "wear leveling > algorithm" to vir

Re: running testing patterns on block devices

2007-05-17 Thread Gilad Ben-Yossef
Ira Abramov wrote: I have a flash card which I suspect has a defect. every time I go out and take photos with it, at least one image file comes back corrupted. to make sure it's not the cammera or something else, I thought it would be nice to have a memtest-like tool that wrote patterns and tried

running testing patterns on block devices

2007-05-17 Thread Ira Abramov
I have a flash card which I suspect has a defect. every time I go out and take photos with it, at least one image file comes back corrupted. to make sure it's not the cammera or something else, I thought it would be nice to have a memtest-like tool that wrote patterns and tried to read them again,