Thursday, May 1, 2025

"Pigeon-problem" in memory control.

Computers have two types of memory: read-only ROM and random-access memory, RAM. The last one is known, as work memory, where the system loads programs. Every memory unit has a certain address. Those memory units are like boxes. 

Sometimes, the computer's operations are compared with the pigeon. The pigeon is the data package and the packet is the router. The pigeon problem is how that pigeon finds the right box where it drops that data. 

That flies around the slope where there are lots of boxes. Each of those holes, caves, or boxes, whatever you want to call them has a certain address. The pigeon doesn't know which of the boxes is empty that it can leave its package which is the operation that the computer should run. 

Finding the free memory block or memory address happens randomly. That's why that thing is called random access memory, RAM. We can say that when a pigeon drops the packet into a certain memory unit, it pushes a button and tells that the operation is in that memory address. The pigeon's problem is that there are always reserved boxes. 

The operating system reserves a certain number of those boxes for its own use. The operating system can put the list of addresses that it reserves. And then the computer program knows that those addresses are reserved. That means the fixed solution that is suitable in the cases, where the system runs only one program in time. 

This kind of solution is slow and even dangerous if the computer or its program requires polymorphic memory. Another name for polymorphic memory is the morphing neural network. In the flexible memory handling method. There the system drives multiple operations at the same time. Those algorithms or programs require a certain number of memory addresses. When those groups of networked memory addresses made their duty, they asked for a new mission. If there is no other new mission those memory blocks or boxes can offer assistance to other network groups. 

The morphing memory network base is in those memory addresses. The system interconnects those memory addresses into new subentities. In that kind of morphing system there the memory address can have different roles causing the problem to pigeon. The reserved memory addresses are not fixed. And that means. The system should always update those lists. 

But the answer to the pigeon's problem can be the interactive memory. In that case, the box itself raises a flag or the mark that it's free. When a pigeon comes to give a message or new task it sees immediately which of the boxes is free. So it must not knock on the door and disturb another operation. The problem with fixed memory addresses is that they leave lots of free space in the system when they finish their job. The system can use that free space for another mission that it runs. So the system requires a more dynamic solution than just fixed memory address groups. 

The problem with the large language model, LLM-type solutions is that there are billions of data packages. They try to find the place where they put their data. There is a possibility that two pigeons try to put data in the same box. So there are some details that the pigeons can choose right and empty box. The pigeon might have a skirt that has a certain color like yellow. The yellow pigeon travels to the yellow box. 

The pigeon can also have a flag that it shows to other pigeons. The flag, or screen can show information about which number of the box the pigeon selects. And that tells others that the memory box is full. 

The pigeon can fly and systematically search if there is an empty point or base. That kind of thing means that sooner or later the pigeon finds the free address. There is the possibility of increasing memory. That increases the number of memory addresses. And that increases the possibility that the pigeon finds a free memory address. 

The pigeon or the computer program can always ask the free space from the operating system. That means the program comes to the terminal and then it waits for the operating system to tell where are the free boxes. The problem is that this way of operating is slow. The system can also use a method. That is sometimes called "hovering algorithms". In that model, the algorithm or pigeon that leaves the box tells other algorithms or pigeons which box is free. 

The thing that can help this mission is that pigeons have a certain color skirt. The pigeon with the yellow skirt goes to yellow boxes that are sorted in one entirety. When it leaves the package or operand in the box. It leaves a flag in that place. When another yellow-skirt pigeon comes to that box it can simply pull the flag off and then drop it to the controller that takes the operand. 

But in modern computing, there can be billions of units in those boxes. The system can drive even billions of algorithms at the same time. The new types of systems require that the computer algorithms can tell straight to another algorithm. That is place is free without traveling through the operating system. This makes the system more flexible. 

So the pigeon has a very big problem. If it disturbs the operation that runs in a certain address, that thing can cause a fatal disturbance in the operations. The dynamic solution requires that the memory controller can resort to memory in a new way if there is free space. 

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Researchers found interesting things in brains.

Researchers found new interesting details in human brains. First, our brains transmit light. And that light gives an interesting idea: could...