Wizcode was founded in 2001. We now have more than 100,000 customers worldwide.
arrow

You are here: Wizcode » Articles & guides

Articles and guides

Welcome to Wizcode articles and guides section


54321

2 votes


Flash Memory Fragmentation and PerformanceA quick Google search shows many "expert" suggestions that defragmentation of solid state drives should give no difference in performance while increasing the wear of flash cards and even possibly killing them.

 

Myth: Flash cards unlike hard drives do not have movable parts so defragmentation is useless.

 

On theory, since a flash drive does not have moving parts, its access time is independent on where the data is stored, which is why supposedly flash drives don't need defragmenting.

 

The fact is that flash memory is physically organized in blocks (or pages) of data, usually 128K or 256K large. Things get even worse from the fact that in order to change even one single byte, the entire page has to be first erased and then re-written with its contents again. In our example the time needed to change one byte of information is calculated the following way:

 

T = R + E + W

 

T is the total time, R is the time needed to read the entire flash page containing the byte we wish to change, E is the time required to erase the page and W is the time it takes for the data to be written back to the empty page. Not only we had to read 128KB in order to change a single byte but we also had to erase the entire block (which is very slow) and then write 128KB over again.

 

To complicate matters even further, it must be noted that there are additional layers between the flash card controller and the file system that cache pages being read and written to. The cache serves for improving performance. It is a simple trade-off between read/write performance and some RAM being used to cache the pages. It is most effective to read or write entire flash pages performance wise. When the operating system instructs the controller to read a particular sector on the card the cache normally retrieves the entire block and stores it internally. What this means is that information that is stored in a contiguous matter is more likely to be found in the cache than non-contiguous information.

 

Read more...


54321

1 vote


Move Pocket PC data to storage card and free RAMLast week, we discussed the best practices when it comes to relocating your software from the internal memory to a (often) much bigger storage card.

 

This week, we will look at how you can utilize Pocket Mechanic Professional to relocate some (or all) of the data that is stored in your device.

 

Before we begin, let me explain what kind of caches we are talking about:

 

  • Email / Text Messages
  • Pocket Internet Explorer

 

The longer you keep using your device, the bigger those caches will grow. Me, for example, I am an avid user of text messages and email and I have some 1400 text messages alone on my device. Then there is the cookies and temporary data you acquire while surfing on your device.

Read more...


Not rated yet.


FATHistory


The FAT filesystem was created by Bill Gates and Marc McDonald in 1977 for managing disks in Microsoft Disk BASIC. In August 1980 Tim Paterson incorporated FAT into his 86-DOS operating system for the S-100 8086 CPU boards; the filesystem was the main difference between 86-DOS and its predecessor, CP/M.

 

The name originates from the usage of a table which centralizes the information about which areas belong to files, are free or possibly unusable, and where each file is stored on the disk. To reduce the management complexity, disk space is allocated to files in contiguous groups of hardware sectors called clusters. The maximum possible number of clusters has dramatically increased over time, and the number of bits required to identify a cluster is used to name the successive major versions of the format. The FAT standard has also evolved in several ways where backward compatibility with existing software has been preserved.

 

Read more...


Saved under Technical articlesFile systemsFAT  •  0 Comment(s)  •  42 Trackback(s)
54321

2 votes


Move apps to storage card, relocate softwarePocket Mechanic Professional includes a handy feature called Relocate installed software which enables you to free up (much needed) memory on your Pocket PC and utilize your storage card as the primary location for installed applications. Normally, when you move applications to a storage card, without reinstalling the software, you end up with dead shortcuts, remnants of files and very often, applications that are not usable anymore, that is why this relocate feature was developed:

Read more...


Page 1 of 1 pages