Welcome, Guest. Please login or register.

Author Topic: Memory Management in AmigaOS4.0 Explained  (Read 5067 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline NorwayTopic starter

  • Jr. Member
  • **
  • Join Date: May 2004
  • Posts: 66
    • Show only replies by Norway
Memory Management in AmigaOS4.0 Explained
« on: December 14, 2005, 01:51:23 AM »
This new article on the offical AmigaOS 4 website, explains the classic memory alloction system and how the new slab allocation (object cache) system in impoves memory allocation.

"Back in the old days of the original AmigaOS, the system used to allocate areas of unused memory to new tasks was pretty simple. The size and position of blocks of free memory were kept in a list, and when memory was needed the system would traverse this list until it found a block that was sufficiently large. This block was then split, one part returned by the allocator for use, while the other part (whatever part of the block wasn't needed) was left in the free list. This method served its purpose well enough at the time, but with the increased demands of modern computing - and of course our desire to bring this new version of the Operating System to the cutting edge - AmigaOS4.0 has introduced a better way of doing things."

Read the rest here.
 

Offline Matt_H

Re: Memory Management in AmigaOS4.0 Explained
« Reply #1 on: December 14, 2005, 03:35:41 AM »
It's a little technically dense for me, but it seems appropriate for the primary target audience of the website - OEM customers.

Nice to see an update.
 

Offline dylansmrjo

  • Newbie
  • *
  • Join Date: Nov 2005
  • Posts: 49
    • Show only replies by dylansmrjo
Re: Memory Management in AmigaOS4.0 Explained
« Reply #2 on: December 14, 2005, 04:28:48 AM »
However, it's perfect for the geeks, though basically nothing but a pre-taste. A 10-page article would have been better  ;-)
[color=FF9900]---Copyright is no right---[/color][/b][/i]
 

Offline dammy

  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 2828
    • Show only replies by dammy
Re: Memory Management in AmigaOS4.0 Explained
« Reply #3 on: December 14, 2005, 04:59:13 AM »
Ah, better?  Doesn't look like Tigger is too impressed.

Dammy
Dammy

https://www.facebook.com/pages/Arix-OS/414578091930728
Unless otherwise noted, I speak only for myself.
 

Offline dylansmrjo

  • Newbie
  • *
  • Join Date: Nov 2005
  • Posts: 49
    • Show only replies by dylansmrjo
Re: Memory Management in AmigaOS4.0 Explained
« Reply #4 on: December 14, 2005, 07:40:41 AM »
Well, it seems he's writing about the solution itself.

I was writing about the length of the article. Whether or not the approach is good is another topic. I merely came with a statement, that a longer article would be better.

EDIT: Better here is in the meaning: Better because it would reveal more of the approach taken. I'd like to get much more detailed information.
[color=FF9900]---Copyright is no right---[/color][/b][/i]
 

Offline uncharted

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 1520
    • Show only replies by uncharted
Re: Memory Management in AmigaOS4.0 Explained
« Reply #5 on: December 14, 2005, 10:30:22 AM »
Quote
Ah, better? Doesn't look like Tigger is too impressed.


Kenny and Joanna too.  There's a shock.

Perhaps they should rename it GroundhogBunny - same shyte over and over and over and over and over....
 

Offline Legerdemain

  • Sr. Member
  • ****
  • Join Date: Apr 2002
  • Posts: 443
    • Show only replies by Legerdemain
Re: Memory Management in AmigaOS4.0 Explained
« Reply #6 on: December 14, 2005, 11:37:16 AM »
Quote
Back in the old days of the original AmigaOS, the system used to allocate areas of unused memory to new tasks was pretty simple.


This isn't even good english. The sentence doesn't make sense? "was pretty simple"? WHAT was pretty simple?

Shouldn't it be something like:

"the WAY THE / SOLUTION TO HOW THE / WHATEVER THE LIKE system used to allocate areas of unused memory to new tasks was pretty simple.

I'm no professional in english, apparently, but that just looked plain ugly.
Amiga 1200, Mirage Tower, PC-Key 1200, Blizzard 1260/50, SCSI Kit, 256MB RAM, 40GB HD, Mediator SX, Soundblaster 128, Voodoo 3 and Realtek 8139.
 

Offline Agafaster

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 1175
    • Show only replies by Agafaster
Re: Memory Management in AmigaOS4.0 Explained
« Reply #7 on: December 14, 2005, 12:17:04 PM »
looks alright to me.

'used to' as in 'utilised to' as opposed to
'used to' as in 'what it did before'.

ie:

the system used was pretty simple.
\\"New Bruce here will be teaching Machiavelli, Bentham, Locke, Hobbes, Sutcliffe, Bradman, Lindwall, Miller, Hassett and Benaud.\\"
\\"Those are all cricketers, Bruce !\\"
A1XE G3/800MHz Radeon 7000 512MB
A1200 030/25MHz 8MB
 

Offline Agafaster

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 1175
    • Show only replies by Agafaster
Re: Memory Management in AmigaOS4.0 Explained
« Reply #8 on: December 14, 2005, 12:17:17 PM »
D'oh ! Dratted IE5 being as slow as molasses caused me to DP...

...double post that is !
\\"New Bruce here will be teaching Machiavelli, Bentham, Locke, Hobbes, Sutcliffe, Bradman, Lindwall, Miller, Hassett and Benaud.\\"
\\"Those are all cricketers, Bruce !\\"
A1XE G3/800MHz Radeon 7000 512MB
A1200 030/25MHz 8MB
 

Offline uncharted

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 1520
    • Show only replies by uncharted
Re: Memory Management in AmigaOS4.0 Explained
« Reply #9 on: December 14, 2005, 01:01:02 PM »
Quote
I'm no professional in english, apparently,


Apparently not.
 

Offline Plaz

Re: Memory Management in AmigaOS4.0 Explained
« Reply #10 on: December 14, 2005, 02:26:13 PM »
For the technoids who would like that 10+ page explanation, read here.... Slab Allocator - Sun Systems

Quote
This isn't even good english. The sentence doesn't make sense? "was pretty simple"? WHAT was pretty simple?

It may seem a bit of a "run-on", but legal. Dissecting you find that "the system" was pretty simple. I can see how it could be a tough read though.


Plaz
 

Offline Floid

  • Hero Member
  • *****
  • Join Date: Feb 2003
  • Posts: 918
    • Show only replies by Floid
Re: Memory Management in AmigaOS4.0 Explained
« Reply #11 on: December 14, 2005, 03:30:25 PM »
So what on earth is the magical MorphOS mechanism that beats out slab allocation?
 

Offline EntilZha

  • Full Member
  • ***
  • Join Date: Feb 2002
  • Posts: 131
    • Show only replies by EntilZha
    • http://www.hyperion-entertainment.com
Re: Memory Management in AmigaOS4.0 Explained
« Reply #12 on: December 14, 2005, 03:32:24 PM »
@ dylansmrjo

See the links at the bottom of the third page. They describe the system in much more details.
- Thomas
Avatar by Karlos
 

Offline Kronos

  • Resident blue troll
  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 4017
    • Show only replies by Kronos
    • http://www.SteamDraw.de
Re: Memory Management in AmigaOS4.0 Explained
« Reply #13 on: December 14, 2005, 03:45:41 PM »
@Floid

Dunno, but what has that to do with the topic at hand ? (hint sofar noone had even hinted MorphOS).

@uncharted

Tigger and Joanna do work in the embeeded market (and as far as I know both also use PPCs), so it might be that their constant negative attitude towards OS4 in embeeded markets is just based on better knowledge than on a Hyperion-death-wish.

Those 2 bring forward (from time to time) good arguments why OS4 is ill-suited for THEIR type of products and "embeeded" in general, but I have yet to see a deteiled explaination why anybody should choose OS4 over OSes allready in those markets.

And just to make it clear, I haven't looked into the article, I don't plan to do, I'm just sick and  tired of the sameold bringing absurd conspiracy-theories whenever someone dare to even slightly question the holy-triumvirat.
1. Make an announcment.
2. Wait a while.
3. Check if it can actually be done.
4. Wait for someone else to do it.
5. Start working on it while giving out hillarious progress-reports.
6. Deny that you have ever announced it
7. Blame someone else
 

Offline Legerdemain

  • Sr. Member
  • ****
  • Join Date: Apr 2002
  • Posts: 443
    • Show only replies by Legerdemain
Re: Memory Management in AmigaOS4.0 Explained
« Reply #14 on: December 14, 2005, 04:44:14 PM »
Hm. Okay, the way it was written made me misinterpret the sentence.

"the system". So they refer to "the system used" as simple. But then I would have written it like "the system used, to allocate areas of unused memory to new tasks, was pretty simple.". Without using "," before and after "to allocate areas of unused memory to new tasks" I don't really find it an easy read.

So... "was pretty simple" is now what determines how "the system used to" should be interpreted. Since it on the first read could easly be interpreted as someting like "(once upon a time) the system did allocate memory", until reaching the end of the sentince, instead of "the system (that was) used to" I would still say that it is a rather vague sentence. I think at least SOME of my past english teachers would agree with me...  :lol:
Amiga 1200, Mirage Tower, PC-Key 1200, Blizzard 1260/50, SCSI Kit, 256MB RAM, 40GB HD, Mediator SX, Soundblaster 128, Voodoo 3 and Realtek 8139.