OS/2, eCS & ArcaOS - Technical > Setup & Installation

Target 64Tb of memory, not one less.

(1/1)

roberto:
For the future and other follies
I have doubts, I read that the OS/2 could manage in Voice.
"In theory the 386 processor allows for 64 terabyte of virtual memory."

http://www.os2voice.org/VNL/past_issues/VNL0708H/feature_3.html


This is something that has been around my head for some time.
And it will not be that the maximum theoretical memory is always 4GB, but that it rotates in almost endless cycles, so that for example
You have 13GB = (4GBX3)+1GB available, it will show you 1GB, but that 1GB, if spent it appears as 4GB, are spent and ... re -empecing.
If this were so, it would be good to find that number that multiplies by 3 or whatever. Somehow I think I should
exist.
Another example, it can be like if you enter a building, on the ground floor you have 4gb,
 but if you go up to the first floor you have another 4gb = 8gb keep going up floors and imagine a skyscraper
  of 100 floors = 400gb


It could also be that the memory begins at the top of the building, and goes down the way,
 without the need for a floor number. Until it runs out.

If someone would tell you today, create a 64Tb memory, and you can only direct 4gb, how would you do it?

Could it be that we are only seeing the memory that is on one floor of the building?

To help understand the memory I use the freemem.exe program, the information it provides is not valid.
But it can help to understand what I say, and also the operation of the applications, how much memory they use,
When they use it, when an application is loading, when it is dead, etc ... in real time.
This program is freemem.exe very old, and I have seen it rotate many times.
And everything continues to work. By watching it rotate I mean having 100mb of memory and going through 4gb,
 and then 3.8g....

Could it be so?

What if we are putting memory limitations where they do not exist?
I mean: If you create a program and tell it to look at the memory and close it if it's insufficient,
why not let the system decide whether or not it's insufficient.
I leave you a screenshot, you can see used 2297mb, and simultaneously 2819mb free according to Vmem = 5116mb
Here I am using the memlinit in 4095, and because it won't let me put twice as much on it. Limits!!!!
All run nice.
Saludos

** Ian has removed the attachment for the ebay listing **

Doug Clark:
Roberto,

I think what you are describing is a segmented memory model - with each segment (floor in your description) being 4GB in size; memory addressed with pointer (register) to the segment  and a pointer (register) to the offset within the segment. 

To quote a Redbook
Like the 80286 processor, the 80386 processor also supports a segmented memory model, except that in the case of the 80386 the maximum segment size is 4GB. ... OS/2 version 2 implements the flat memory model by mapping the 4GB address space as a single code segment and a single data segment, each of which has a base address of zero and a size of 4GB.
End quote

So you can, theoretically, address much more than 4GB with a 32 bit processor and its 32 bit registers.  The advantage 64 bit processors have in addressing large memory is in not having to use segments and the performance hit that comes with switching segment registers, because their registers are 64 bits wide. 

But OS/2 is designed around a 32 bit flat memory model, meaning a single segment, and that single segment being a 4GB in size.

roberto:

Thanks for the more technical explanation than mine - Ref. Redbook
But it would not hurt to verify it, in case the reality could be different.


--- Quote from: Doug Clark on June 25, 2024, 07:56:00 am ---But OS/2 is designed around a 32 bit flat memory model, meaning a single segment, and that single segment being a 4GB in size.

--- End quote ---
I have verified this line, and indeed it has to be 4gb, so it has to be changed the MEMLIMIT.exe to 4095,
so that the swapper works properly. Now I leave you with a config.sys setting that allows me to access
almost all the memory it recognizes the system when checking the BIOS, usually 3gb to 3.5gb approximately
depending on the equipment.
Everything is experimental, although I have applied it to my teams.

IFS=C:\OS2\JFS.IFS /CACHE:131072 /LW:32,128,8 /AUTOCHECK:*
...
CALL=C:\OS2\CMD.EXE /Q /C C:\OS2\CACHEJFS.EXE /LW:32,128,8 /MINBUFFER:0 /MAXBUFFER:3676 >NUL
...
SWAPPATH=C:\OS2\SYSTEM 2000 2048000
...
VIRTUALADDRESSLIMIT=3072
...
BUFFERS=16

Don't forget to change the memlimit. Reboot.

PROBLEMS:
In my case, forcing the system to exhaust all memory, when 2696 arrived, the computer crashed.
With Accessible to my system: 3 054 MB There are no prior warnings, except for this one.

You will see how many mistakes repair themselves.
If you want to run Dooble, I advise you to first open the Thunderbird or another application that eats up a
few megabytes of low memory. And is better to open a new window, that open a new tab.

Saludos

roberto:
Hello
I remind you that I don't have a manual, so maybe I'll talk nonsense.
The buffers seem to be wrong, at least the value proposed by me.
Curious about this, I attach two programs, one that lists a frequency concrete,
and another that can help look for frequencies in a range, from - to.
To me, the results given by the 3cv5.cmd seem very coherent.
I remind you that in the past Buffers were two values.
One appears to be a decimal from 1 to 100, and the other hexadecimal.
From my point of view, the decimal value determines the amount of memory that is freed up.
The greater the number, the more memory.
And the hexadecimal value provides acceleration in graphs.
Based on these observations, if I set the decimal value to 100,
and focus on a frequency Compatible with this 31.25 system
I can easily calculate other hexadecimal frequencies.
 Example:
  Decimal  Hex
3125           0C35
31250          7A12
312500        4C4B4
3125000      2FAF08
31250000    1DCD650
312500000  12A05F20
3125000000 BA43B740


The one I find most interesting is 1dcd650, and you.?
The tests have to be done for several days, since although a good value is good,
it seems that some programs are interfered with others.
Saludos

Navigation

[0] Message Index

Go to full version