Chapter 397: Super Capacity and Speed

readx;

For programmers, the file system is a software problem, and a good file system can bring great performance optimization to the whole system. The file system of pen ~ fun ~ pavilion www.biquge.infowindows was originally the FAT series, such as FAT16, FAT32, and later there was an upgraded NTFS, while the Linux file system is ext format, their systems have their own advantages and disadvantages, but the basic principle is not much different.

The data in the file system is saved on the hard disk.

If you want to design a file system, it must be inseparable from the physical hardware structure of the storage device, the hard disk.

In the early days of computers, there was no hard disk structure, and the computer was programmed with punched paper, and the program was programmed on the punched paper, and then inserted into the reading device, from which the computer read the program into the memory, and then handed over to the CPU to execute.

Later, disk tapes appeared, which was a huge leap forward for computer storage devices. The data that can be stored on a single tape, even in gigabytes, and the data is extremely reliable, can be stored for at least 20 years, and immediately became the primary storage device for UNIX series host data backup.

Tape has survived as a storage device for a long time, and many different formats have emerged, such as QIC, DLT, SLR, etc.

In 1953, the IBM 701 computer used a new type of memory, the magnetic drum, which used the magnetic material coated on the surface of the aluminum drum to store data. Since the drum rotation speed is high, the access speed is fast, and it is used as an internal memory

The advent of the magnetic drum laid an important technical foundation for the disk.

Before the advent of disks, there was another transitional storage device, and that was the magnetic core. This is the idea of using magnetic materials to make memories proposed by American physicist Wang An in 1950. Forrest then turned this idea into reality. Core storage from the 50s, 60s, and early 70s of the 20th century. It has always been the standard way for computers to master memory.

Early seventies. Floppy disks also appeared in everyone's eyes as convenient storage devices, which was actually the product of IBM Storage Devices' research and development of new tape devices after fruitlessness, due to its convenience, floppy disks and floppy drives. It became standard on microcomputers until now. Floppy disks are also still widely used.

In fact, as early as 1956, the world's first mechanical hard disk memory was invented by IBM. Its model number is IBM 350RAMAC. The total capacity of this system is only 5MB. A total of 50 disks with a diameter of 24 inches were used, and their volume was the size of two refrigerators, which is really a behemoth.

That's right, it's IBM, and this company is indeed a very great company, which has had a very far-reaching impact on the development of computers. Suffice it to say that without IBM. It will probably be a long time before computers get to where they are today.

Compared to the tape, drum, and core technology that was already popular at the time, this huge hard drive was like a toy, a bulky primitive dinosaur, but the technology it used was a leap forward.

In the history of computers, all devices basically follow a principle from large to small, first scientists make a prototype of the device, prove its feasibility, and then continue to optimize the prototype, miniaturization, and finally enter the practical stage.

The structure of the mechanical hard disk is roughly composed of a disk and a magnetic head, the disk is constantly rotating, if the magnetic head does not move, it can draw an invisible track on the disk surface, and the information on the disk is stored along such a track, and the technology of the magnetic head to read the above is the magnetoresistive and giant magnetoresistive technology, and the improvement of its sensitivity directly causes the increase in the storage capacity of the mechanical hard disk.

If Lin Hong wants to realize a storage device, he naturally can't create a disk structure in his brain that tells him to rotate, nor can he make a super-sensitive head that can be addressed at any time.

However, it doesn't matter, in addition to mechanical hard drives, there is also a type of hard drive, which is an SSD. This is a kind of hard disk composed of a control unit and a storage unit, simply put, a hard disk made of a solid-state electronic memory chip array. This kind of hard drive, in fact, has appeared in the late eighties, but for various reasons, it has remained in the laboratory and has not been popularized and commercialized.

SSDs are divided into two types, one is to use flash chips as storage media, which can save data without a power supply. The other is based on DRAM, which must have a dedicated power supply to protect data security. These two technologies, to put it bluntly, are the further upgrade of the previous ROM storage technology and memory technology, expanding their capacity.

The characteristic of SSDs is that they have fast access speeds, which are comparable to those of memory, and their speed can be imagined. The fly in the ointment is that its manufacturing cost is also very high, much higher than that of mechanical hard disks, and its commercialization process is very slow.

Lin Hong is very interested in these new technologies, and one of his interests is to understand and study these high-end technologies that are still in the laboratory. Because these technologies represent the direction of the future, according to the speed of development of the electronics industry, these things are likely to become a reality in the next five to ten years.

Lin Hong can't make mechanical hard disks in his "eye of the sky", but he can make solid-state drives, and its manufacturing process is actually not much different from manufacturing other hardware structures, or even simpler, because these structures are basically the same, as flat as a plain, as far as the eye can see.

Lin Hong estimated that if the switch protein is used instead of the flash chip, the density of the hard disk can exceed 1TB/square inch, 1TB is 1000GB, this capacity, compared with the current hard disk storage device, is quite amazing, because the density of the hard disk that is now in the laboratory stage is also maintained at the maximum level of 100GB/ordinary inch, which is only equivalent to a few tenths.

In addition, this storage structure can be used not only as a hard disk, but also as memory.

Because its data read and write speed is very fast, the mechanical hard disk cannot be compared with it at all. Because the SSD does not have a head, it does not need to consume addressing time, it is directly the speed of light transmission of the signal, and the access time of those memories in the laboratory is about 8 nanoseconds, and the transmission speed in the brain is far lower than this speed, according to Lin Hong's estimate, it is only equivalent to a few percent.

Due to the particularity of the biological structure, Lin Hong does not need to use a flat structure like the traditional solid-state drive manufacturing when constructing the storage hard disk, but can use a three-dimensional way to curl up the entire hard disk to form a three-dimensional structure, so that the volume it occupies is quite small and can fully meet his needs.

If he wants to build the file system, he must first build the hardware structure.

Thanks to the timing circuitry, he is now working with on/off proteins much more efficiently than before.

Lin Hong first spent several hours creating a small storage area to use as a memory structure, and then began to write the most primitive instruction code into it, whose function is very simple, that is, to continuously generate switch proteins and initialize them in order.

To let Lin Hong take the initiative to generate a duplicate storage area without listening, the project is too big, this is not like doing CPU, the parts of the CPU are basically different, and you have to use your brain when you do it, and divide it into multiple parts to complete it one by one, so that you don't know it. The storage structure, on the other hand, is exactly the same, is a repeating process, and the number is so large that it would be fatal if it were completely "manual".

Fortunately, by this time, Lin Hong could already perform simple programming on the Sky Eye, and this process was similar to the stage of programming with punched paper tape in the most primitive computers, although there was no powerful operating system in it, but it could execute simple programs.

Lin Hong laid a foundation first, and then let it be executed automatically on this basis. It is equivalent to building a simple tool first, and then continuing to build a more precise lathe mother bed, after the mother bed is manufactured, it can be used to make a more precise lathe.

After Lin Hong set the range and size, he didn't care about it, and directly let it automatically repeat the on-off protein in it, and initialize it into a storage structure.

Next, his superbrain system entered a very critical step - installing the v0.1 version of Linx, in order to distinguish it from Linx on the computer, he named the system BLINX, B is the acronym of brain.

In order to adapt to the hardware structure of the "Sky Eye", in addition to the kernel, a lot of code in the periphery must be rewritten, and the driver must be written according to the actual situation, of course, the performance of BLINX is definitely much higher than that of LINX, which is directly determined by the hardware structure, and there is no comparison at all.

Since the development environment in the "Sky Eye" superbrain system has not yet been set up, Lin Hong can only develop BLINX under his modified Linux platform, and then use vortex technology to transfer it to the "Sky Eye".

During the Chinese New Year, the busiest thing for Chinese is to go to relatives, but neither Lin Changming nor Feng Wan has this headache. Lin Changming's relatives have never seen a shadow, and it is said that there are still them, but they have gone to Taiwan. As for Feng Wan's side, they had just returned from Beij, and they had already said that they would not pass.

So only the movement between relatives, friends and colleagues remained, which basically had nothing to do with Lin Hong. Therefore, during the first to fourth days of the Lunar New Year, he was also called a super otaku, and he spent it in his room unless he ate.

Although homely, but focused, the efficiency of doing things is very high, his Tianyan hard disk is nearing the end today, and the transformation work of Blinx is the same, just in time for the hard disk to be completed, the super brain system is installed. (To be continued)