Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
110 user(s) are online (61 user(s) are browsing Forums)

Members: 1
Guests: 109

imagodespira, more...

Headlines

 
  Register To Post  

(1) 2 »
Maximum memory X1000
Home away from home
Home away from home


See User information
The X1000 manual says
Quote:

5 DIMMS
...
5.2 Size
Is it theoretically possible to populate each memory controller with 8GB for a total of 16GB,
however the practical memory size limit will depend on software.
...

With the new extmem feature) it is (will be) possible to go beyond the 2GB memory barrier (at least hidden in the background used by programs, without showing the whole memory in Workbench).

Is that correct?

What if one *would* populate the memory controllers with the max of 16GB?
Would that be usable with extmem or is the system limited to 4GB max due to it's (32bit?) architecture?

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top
Re: Maximum memory X1000
Quite a regular
Quite a regular


See User information
@Raziel

As I understand it:

ExtMem gives the programmer the possibility to access memory above the 2 GB "barrier", but no further than 4 GB for the reason you stated (32-bit addressing).

In fact, it's slightly less than 4 GB because of permanent allocations for some hardware register addresses.




cheers
tony
Go to top
Re: Maximum memory X1000
Home away from home
Home away from home


See User information
@tonyw

Thank you very much

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top
Re: Maximum memory X1000
Home away from home
Home away from home


See User information
@tonyw

I was under the impression that you could use more than 4GB by mapping/unmapping different areas into 32-bit address space. However, I haven't looked at the extmem feature in any detail.

Hans

http://hdrlab.org.nz/ - Amiga OS 4 projects, programming articles and more.
https://keasigmadelta.com/ - more of my work
Go to top
Re: Maximum memory X1000
Quite a regular
Quite a regular


See User information
@Hans

You might be right - I haven't reread it for a while either. But remapping doesn't sound like a game to be played in user-land.

cheers
tony
Go to top
Re: Maximum memory X1000
Home away from home
Home away from home


See User information
@tonyw

Quote:

You might be right - I haven't reread it for a while either. But remapping doesn't sound like a game to be played in user-land.


The remapping is not handled by the 'user' but via the API (though there are some very advanced option that mortal devs should likely never touch in this regard) .

Currently the ExtMem allows mapping all 2Gb of memory into the available memory space. This mean you can access that mysterios last 500Mb of memory that was never accessable which is again in that regard. When running SketchBlock without ExtMem I crash out due to lack of memory at an apperently reportedlow of 500 / 600 Mb (as reported in WB titlebar) with ExtMen I can get down to 0.

A futre iteration of ExecSG should allow all instaled memeory to be accessed.


Go to top
Re: Maximum memory X1000
Home away from home
Home away from home


See User information
@broadblues

Thank you for that info.
So 16GB max should theoretically be possible (in the furture, maybe)?

edit:

And how is that handled?
By ExecSG? So once ExtMem is in place i (as a user) wouldn't have to worry about e.g. running out of memory while compiling?

Or does every program has to be recompiled to make use of ExtMem?

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top
Re: Maximum memory X1000
Home away from home
Home away from home


See User information
@Raziel

Every program that wants to use extended memory needs to add specific support for it.


Go to top
Re: Maximum memory X1000
Home away from home
Home away from home


See User information
@broadblues

Ok, thank you

...i Lost track of the development.
Is ExtMem already usable or will it be added with a future ExecSG?

Where should one look to find code examples or examples on how to add ExtMem to their programs?

I really hope its a matter of adding a few lines of code to the program and not the need of replacing every single memory read/write I/O...that would make ported programs no target for ExtMem.

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top
Re: Maximum memory X1000
Home away from home
Home away from home


See User information
@Raziel

Quote:

...i Lost track of the development.
Is ExtMem already usable or will it be added with a future ExecSG?


It's available in the FE Update 1 release. One caveate with the usage on the X1K is that under certain circums5tances the cfeide.device and ExtMem will both map memeory to the same space.

So if you don't use the cfe card reader then comment it out of the kickstart, if you do then perhaps create an alternate kicklayout for use with ExtMem enabled software.

Current SketchBlock pro is the only thord party app I'm aware of.

ram-handler (ie ram disk:) is the main system component using it. (may need enabling with command line options to kickstart/ram-handler.kmod)

Quote:

Where should one look to find code examples or examples on how to add ExtMem to their programs?


Your question is clearly rhetorical as you will have read the autodocs (ASOT_EXTMEM) and wiki in particular, but I'll commit the faux pas of answering it anyway....

https://wiki.amigaos.net/wiki/Exec_Extended_Memory

Quote:


I really hope its a matter of adding a few lines of code to the program and not the need of replacing every single memory read/write I/O...that would make ported programs no target for ExtMem.



It's an amiga specific API, you will need to write code to manage paging in and out the sections of memory you are currently working with.

Go to top
Re: Maximum memory X1000
Not too shy to talk
Not too shy to talk


See User information
@broadblues

Quote:
Every program that wants to use extended memory needs to add specific support for it.


This is why it was obvious that almost no apps would be written supporting this feature (reserved for motivated and skilled developers) and also because almost all apps don't need large amounts of memory.
I am glad to see that helped with SketchBlock but this feature should be entirely managed by the OS. Maybe one day ...

@Raziel

I recently looked for memory sticks for my X1000 but I didn't find 4 GB ones. So I thought that we could have 2 GB in each of the 4 slots, that is to say 8 GB max.
Anyway, that's not necessary to buy 16 GB betting they will be addressed by OS4 soon.

Go to top
Re: Maximum memory X1000
Just can't stay away
Just can't stay away


See User information
@corto

Quote:
This is why it was obvious that almost no apps would be written supporting this feature
Don't forget, after all, that the RAM Disk (ram-handler) does support it, so at least everybody can benefit from it by being able to shove more temporary files in there.

Best regards,

Niels

Go to top
Re: Maximum memory X1000
Just can't stay away
Just can't stay away


See User information
@nbache

Quote:
Don't forget, after all, that the RAM Disk (ram-handler) does support it, so at least everybody can benefit from it

Yes, as soon as Hyperion bring out an OS update. The ExtMem-enabled RAM Disk is still only available in beta releases.

The Rear Window blog

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
Go to top
Re: Maximum memory X1000
Just can't stay away
Just can't stay away


See User information
@trixie

Ouch, sorry. It's becoming harder and harder to remember what hasn't shipped yet ...

Best regards,

Niels

Go to top
Re: Maximum memory X1000
Home away from home
Home away from home


See User information
@corto

Quote:

...this feature should be entirely managed by the OS. Maybe one day ...

Exactly what i meant.
There shouldn't be the need to recompile every program to make use of bank switching.
It should be handled by ExecSG, or any other program, in the background, on the fly.

If I haven't misunderstood Andy, this is a future plan
Quote:

A futre iteration of ExecSG should allow all instaled memeory to be accessed.


So let's hope for the best...

Quote:

I recently looked for memory sticks for my X1000 but I didn't find 4 GB ones. So I thought that we could have 2 GB in each of the 4 slots, that is to say 8 GB max.

If you are still interested, I ordered some new sticks (2Gb for now) which fit the needs described in X1000's manual and will check if they work.
If they do, I'll check higher capacity ones too...

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top
Re: Maximum memory X1000
Home away from home
Home away from home


See User information
Off topic:

@Hans

Is the updated gfx driver (the one that broke the 256mb barrier) displaying all of the usable graphics memory (in workbench) or is the display in workbench still limited to 256 Mb and the usage of full video memory is done in the background?

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top
Re: Maximum memory X1000
Home away from home
Home away from home


See User information
@Raziel and @corto

Quote:


Quote:

...this feature should be entirely managed by the OS. Maybe one day ...

Exactly what i meant.
There shouldn't be the need to recompile every program to make use of bank switching.
It should be handled by ExecSG, or any other program, in the background, on the fly.



No! There no way it could work efficiently like this, if it even could work inefficiently! You have to write specific code, that means if your are applying to aport, you need to actually do a port rather than a recompile. It will best suit applications that have some kind of paging system (gfx app, video apps perhaps, maybe even VIMs temp files could be put in ExtMem instead (though I'm not sure there would be benefit from this).

Quote:

If I haven't misunderstood Andy, this is a future plan


You have misunderstood, all I said was at some future point all the memory willbe available to ExtMem (hopefully).

Go to top
Re: Maximum memory X1000
Home away from home
Home away from home


See User information
@Raziel

T answer your question to Hans. No The memorty shown in workbench tite bar would still reflect the memory visible to the standard system (p96 / gfx lib etc).

But ... there is an x-dockapp to display gfx memory usage, and that shows but the main gfx memory usage and the extended video memory usage.

Resized Image

Go to top
Re: Maximum memory X1000
Just popping in
Just popping in


See User information
@Raziel

Quote:
There shouldn't be the need to recompile every program to make use of bank switching.
It should be handled by ExecSG, or any other program, in the background, on the fly.


Do you mean that all of the existing OS4 software should dynamically be mapped above the 2GB barrier by the OS?

I'm not very technical, but doesn't this mean that those OS4 programs out of the currently used banks
would suddenly freeze or not able to multitask alongside other programs without warning?

If so then I personally would not like to be implemented this way, seems inconvenient to me.

Unless Exec would also constantly switch banks to allow for multitasking but I think that would have quite a performance penalty.

I rather have the normal programs reside in the 2GB barrier and have ExtMem support hardwired in certain programs e.g. web browsers having tabs in different banks or video editors.

Of course I wouldn't mind if this dynamic way of storing programs in different banks is optional for the user.

Go to top
Re: Maximum memory X1000
Home away from home
Home away from home


See User information
@Helloworld

No, of course not.

What i meant was, to have the ability in ExecSG (or whatever patch or kernel program would take care off) checking for any RAM beyond the 2 GB border (on bootup or even in CFE/UBoot) and only if that case is met (since probably most of the X1000 userrs will use their originally 2 GB) chime in and dynamically use bank switching on all programs (that need it due to their high ram consumption) to use all of the available memory. (Or if the 2 GB Ram gets filled otherwise, e.g. filling up RamDisk)

I would also sacrifice the same amount of memory (that goes beyond the 2 GB border) on a HDD/USB Stick for hash tables or whatever would be needed to keep track of programs writing beyond that border. (write address, size of RAM adressed, task number, etc.)

But, this discussion is moot, as Andy already explained that this is not possible.

...and i have absolutely no idea what i'm talking about, i'm just throwing out brain farts...


People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top

  Register To Post
(1) 2 »

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project