You are here

wearing level

8 posts / 0 new
Last post
dinosoep
Offline
Last seen: 14 years 2 months ago
Joined: 2009-12-14 15:12
wearing level

Every cell in your usb stick can be overwrited a limited time, luckely we have a lot of cells and it can be overwrited a lot.
I use my usb stick verry much and love portable apps but one thing pulled my attention: running portable firefox,... keeps it flashing over and over.
its because it downloads its webpages in the cache but isn't it a better programming habit to store everyting in the temporary folder and at the end when closing perform a check and write al changed data to the memorystick.
I think its better but does this fit in the portable idea?
are there anny problems with this?
what do you think?

J Neutron
Offline
Last seen: 9 months 3 weeks ago
Joined: 2008-06-10 19:26
Privacy and Security

If you copy everything to the host's computer hard drive (assuming you have the rights to do so) and run everything from there, then clean up afterwards, you are risking a lot of privacy and security.

The process could crash and leave sensitive data on the host computer.
The process could be terminated incorrectly (pull the USB drive) and leave data.
The deletion of the data might not be complete and could permit recovery of sensitive data.
The deletion could complete but someone follows and un-deletes the data and takes it.
The updating of the USB data might not work correctly and could corrupt the data on the USB stick.

And it goes on and on.

You should probably follow the recommendations about disabling the cache and other things that are listed on the FirefoxPortable pages on this site. Those recommendations will minimize the writing cycles. You should also evaluate all of the geegaws and doodads you are running (themes, extensions, addons, etc) and eliminate any that you don't absolutely need, since they probably affect the read/write cycles, too.

Lastly, exactly how many write cycles are your particular drives rated for? And how long does that really mean? For instance, if the drive can tolerate all the stuff you throw at it for 4-5 years, do you really think you'll still have the drive for that long without losing it or replacing it with a bigger, faster, better drive?

neutron1132 (at) usa (dot) com

ottosykora
Offline
Last seen: 1 day 21 hours ago
Joined: 2007-10-11 17:48
caching? on portable

The portable FF should not use cache in fact, it was always disabled on my one after installation. The problem using cache is that as you say it has to write it somewhere, and doing that to the flash takes looong time and makes the ff slow, and fills the stick with probably not needed data. If cache is off, then it writes only its history file, this is not so big and can be switched off as well if you want.

Otto Sykora
Basel, Switzerland

dinosoep
Offline
Last seen: 14 years 2 months ago
Joined: 2009-12-14 15:12
then I will just disable as

then I will just disable as much as I can.
Just couldn't believe that that much of writing was very good and if there was any other option instead of just disabling it.

Jimbo
Offline
Last seen: 5 years 1 month ago
Joined: 2007-12-17 05:43
misleading argument anyway

Modern flash chips are good for 100,000 erase cycles (some for over a million)

The USB spec rates USB2 type A connectors (normal USB connectors) as being good for 1,500 insert / remove cycles.

Doing the maths, that means that unless you re-write to a given cell an average of 60 times every single time you use the drive, then the connector will break before the flash wears out.

I've never seen a flash drive wear out its cells, but I have two here on my desk with broken connectors.

TheShadowOne
Offline
Last seen: 10 years 11 months ago
Joined: 2010-01-05 00:36
Alternative

Buy a 2.5" Hard Disk drive and use that instead?

I use portable chrome, doesnt seem to be much read write in that. maybe you would like to try chrome instead?

Ive noticed that chrome will only store history/bookmarks/Cookies and last session.
I cant see any files that would be considered as "cache" on my portable drive.

RMB Fixed
Offline
Last seen: 15 years 1 month ago
Joined: 2006-10-24 10:30
I don't get it ..

People are concerned someone might get your "personal information"
from the hosts temp-dir (perfectly reasonable concern btw) ??
But yet, despite you distrusting the host,
you insert your flash-drive in said host ???

I think that if the user considers the host safe enough to even use, it is also safe enough to use it's temp-dir .. If some evildoer can access the temp-dir afterwards he's likely in a position to do things much worse, like dumping selected file-types, the entire content of your drive etc etc ...

Wear-leveling ??
A nice fix, created to allow the use of cheap inferior MLC-NAND in areas where it objectively has no place.
I have 2 drives with the same controller, one has MLC-NAND, the other SLC-NAND and it's about 5 times faster at starting FF .. It also cost me 5 times more, so ...

Edit :
Please point me to the manufacturer who guarantees 100.000 erase-cycles
for their MLC without using their wear-levelling algorithm ?
The amount of reserved NAND some SSD-manufacturers allocate indicates that
cells going bad IS a real concern .

Kangarooo
Kangarooo's picture
Offline
Last seen: 15 years 1 month ago
Joined: 2010-01-15 03:31
NTFS or FAT32 wears more?

http://www.uwe-sieber.de/usbstick_e.html
"But actually NTFS isn't suitable for flash medias because as journalling file system it has some overhead that wears out flash memory. But Windows XP optimizes and bundles write accesses to pen drives only when they are NTFS formatted, so I see NTFS as the right choice."
http://ask-leo.com/can_a_usb_thumbdrive_wear_out.html
"Let me put it this way: I strongly recommend that you backup the contents of that drive - also sooner rather than later." Once a week would be fine with portable apps backup.
http://ask-leo.com/should_i_defragment_my_usb_flash_drive.html
"..Flash devices (or any "solid state" devices) don't gain a performance benefit from being defragmented.
But in reality things get worse. Much, much worse.
You should never defragment a flash drive.
Writing to flash memory causes it to degrade ever so slightly. (Reading does not.) The more you write to a flash device the shorter its lifespan will be."
Do not defragment never!!!!
http://ask-leo.com/how_do_i_fix_bad_sectors_on_a_flash_drive.html
"Unfortunately tools like chkdsk, scandisk and the like are unreliable when it comes to scanning flash drives for what on a hard disk would be called a "surface error". Flash drives aren't hard drives, and don't live, or die, by the same rules."
Wearing out makes bad sectors. Hence: buy a new one. Use programms with less writing.

Log in or register to post comments