Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
15 crawler(s) on-line.
 82 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!
 matthey:  15 mins ago
 MEGA_RJ_MICAL:  32 mins ago
 agami:  1 hr 44 mins ago
 amigakit:  3 hrs 33 mins ago
 fordprefect:  4 hrs 7 mins ago
 redfox:  4 hrs 8 mins ago
 Karlos:  5 hrs 45 mins ago
 Rob:  5 hrs 45 mins ago
 RobertB:  6 hrs 12 mins ago
 kolla:  6 hrs 16 mins ago

Internet News   Internet News : Memory Management in AmigaOS4.0 Explained
   posted by Rogue on 13-Dec-2005 21:05:03 (17208 reads)
A new article is available on os4.hyperion-entertainment.biz outlining the new and improved memory system on AmigaOS4.0. It describes the method of "slab allocators" and "object caching" that greatly reduce external memory fragmentation while keeping internal fragmentation to a guaranteed minimum and typically provides a constant-time memory allocation.

Read all about it on os4.hyperion-entertainment.biz.
    

STORYID: 2754
Related Links
· More about Internet News
· News by Rogue


Most read story about Internet News
IBM confirms POWER5 server release details

Last news about Internet News
Tom's Hardware run a story on AMIGA
Printer Friendly Page  Send this Story to a Friend

Goto page ( 1 | 2 | 3 | 4 | 5 | 6 )

PosterThread
-Sam- 
Re: Memory Management in AmigaOS4.0 Explained
Posted on 13-Dec-2005 21:29:07
#3 ]
Elite Member
Joined: 18-Apr-2003
Posts: 3035
From: Yorkshire Dales, United Knigdom

Vert interesting. How does this compare to the system that WindowsXP uses?


_________________
Sam

 Status: Offline
Profile     Report this post  
Jamie_S 
Re: Memory Management in AmigaOS4.0 Explained
Posted on 13-Dec-2005 21:29:09
#4 ]
Cult Member
Joined: 26-Oct-2003
Posts: 794
From: Purbeck, UK

Hmmmm technical /Homer

Sounds good... can't wait for final release. Keep up the good work Hyperion...


_________________
A600 OS3.1 ACA620 | '030 A1200 OS3.5 | µA1-C 750GX OS4.1 | SAM460 OS4.1 | '040 A3000 OS2.1 | Christian Aid |

 Status: Offline
Profile     Report this post  
RuDeE 
Re: Memory Management in AmigaOS4.0 Explained
Posted on 13-Dec-2005 21:32:52
#5 ]
Regular Member
Joined: 26-Jul-2003
Posts: 154
From: Haugesund, Norway

Very interesting! Thanks guys!


_________________
God is a man with a grey beard. His name is Jay Glenn Miner.

 Status: Offline
Profile     Report this post  
SlimJim 
Re: Memory Management in AmigaOS4.0 Explained
Posted on 13-Dec-2005 21:33:19
#6 ]
Cult Member
Joined: 9-Mar-2003
Posts: 693
From: Uppsala, Sweden

Interesting and a good read. I like that the website assumes some technical knowledge of the reader instead of just doing a mindless sales pitch. Looks professional and clean.
Who is writing this stuff anyhow? I'm sure the programmers supply the hard facts, but are they typing down the final touch too? Homever it is, is doing a good job - the text (and the website in general) have got a very nice blend of no-nonsense tech-info and juicy sales arguments.

I'm certainly no expert of memory systems, but I think I got the main idea of it at least.
.
SlimJim

 Status: Offline
Profile     Report this post  
Step 
Re: Memory Management in AmigaOS4.0 Explained
Posted on 13-Dec-2005 21:38:43
#7 ]
Cult Member
Joined: 8-Jan-2003
Posts: 788
From: Stockholm, Sweden.

Nice article, it's not too long or complicated. Small spelling error in the first picture though, fraGmentation, it's a fairly large text so it shows more than if it had been in the article...


_________________
AMiGA

 Status: Offline
Profile     Report this post  
Richi 
Re: Memory Management in AmigaOS4.0 Explained
Posted on 13-Dec-2005 21:44:55
#8 ]
Regular Member
Joined: 25-Dec-2004
Posts: 158
From: Unknown

REALLY COOL!

 Status: Offline
Profile     Report this post  
Anomaly 
Re: Memory Management in AmigaOS4.0 Explained
Posted on 13-Dec-2005 22:05:13
#9 ]
Member
Joined: 9-Sep-2003
Posts: 72
From: Sydney, Australia

Does the memory fragmentation diagram on page 1 of the article remind anyone else of the robot control mini-game in Paradroid?

Very interesting article, too...

Michael.

 Status: Offline
Profile     Report this post  
EntilZha 
Re: Memory Management in AmigaOS4.0 Explained
Posted on 13-Dec-2005 22:08:43
#10 ]
OS4 Core Developer
Joined: 27-Aug-2003
Posts: 1679
From: The Jedi Academy, Yavin 4

Quote:
Who is writing this stuff anyhow?


This one was written by me, and then proof-read, clarified and largely re-written by two well-known Amiga writers, Richard Drummond and Andrew Korn


_________________
Thomas, the kernel guy

"I don't have a frigging clue. I'm norwegian" -- Ole-Egil

All opinions expressed are my own and do not necessarily represent those of Hyperion Entertainment

 Status: Offline
Profile     Report this post  
-Sam- 
Re: Memory Management in AmigaOS4.0 Explained
Posted on 13-Dec-2005 22:13:00
#11 ]
Elite Member
Joined: 18-Apr-2003
Posts: 3035
From: Yorkshire Dales, United Knigdom

Cool. CUAmiga still lives...

Very fast typo editing too! - framentation!


_________________
Sam

 Status: Offline
Profile     Report this post  
Bean 
Re: Memory Management in AmigaOS4.0 Explained
Posted on 13-Dec-2005 22:23:25
#12 ]
Super Member
Joined: 4-Apr-2003
Posts: 1225
From: U.K.

Nice article! ..and to think this is in OS4 is even better!

The object caching sounds interesting, it'll be good to get stuck into the new
autodocs.

Cheers,
Bean.


_________________
OS4.1 + SAM Flex
RIP my A1XE.. that used to have an appetite for batteries!

 Status: Offline
Profile     Report this post  
Chris_Y 
Re: Memory Management in AmigaOS4.0 Explained
Posted on 13-Dec-2005 22:27:51
#13 ]
Elite Member
Joined: 21-Jun-2003
Posts: 3203
From: Beds, UK

Nice


_________________
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar is Tabitha by Eric W Schwartz

 Status: Offline
Profile     Report this post  
borchen 
Re: Memory Management in AmigaOS4.0 Explained
Posted on 13-Dec-2005 22:41:03
#14 ]
Member
Joined: 9-Sep-2003
Posts: 61
From: overthere...

@EntilZha

How does the memory-system of OS4 compare to that of Windows/Linux/Mac OSX?

Is this the most 'modern' way of memory handling?

P.S. it is indeed great to hear that some of the ex- CU-Amiga staff is still involved in the Amiga scene; I really liked their magazine..


_________________
Quote:
You ain't seen me....right?

 Status: Offline
Profile     Report this post  
number6 
Re: Memory Management in AmigaOS4.0 Explained
Posted on 13-Dec-2005 22:49:43
#15 ]
Elite Member
Joined: 25-Mar-2005
Posts: 11588
From: In the village

@EntilZha &
Richard and Andrew

The article was excellent. So was the layout and the diagrams.
As always, the display was especially considerate when using Amiga browsers.
I am proud to associate with such -fine- work.

Best Wishes,
#6


_________________
This posting, in its entirety, represents solely the perspective of the author.
*Secrecy has served us so well*

 Status: Offline
Profile     Report this post  
ikir 
Re: Memory Management in AmigaOS4.0 Explained
Posted on 13-Dec-2005 23:14:26
#16 ]
Elite Member
Joined: 18-Dec-2002
Posts: 5647
From: Italy

A pint for Hyperion & Co.


_________________
ikir

 Status: Offline
Profile     Report this post  
miksuh 
Re: Memory Management in AmigaOS4.0 Explained
Posted on 13-Dec-2005 23:15:17
#17 ]
Cult Member
Joined: 10-Mar-2003
Posts: 731
From: Espoo, Finland

Wery interesting indeed.

 Status: Offline
Profile     Report this post  
PEB 
Re: Memory Management in AmigaOS4.0 Explained
Posted on 13-Dec-2005 23:20:17
#18 ]
Cult Member
Joined: 8-Mar-2003
Posts: 504
From: Unknown

A nicely written article. Thanks!

One thing though:
A couple of words (something like "the way") should be added to the first sentence.

Right now it is:
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.


It should read something like:
Quote:
Back in the old days of the original AmigaOS, the way the system used to allocate areas of unused memory to new tasks was pretty simple.


Edit:
Actually it is fine in its original form. The thing that was throwing me off was taking the word "system" as referring to "AmigaOS;" but "system" in this sentence means "method." So all is good. Sorry for the unwarranted criticism.

Last edited by PEB on 14-Dec-2005 at 12:37 AM.

 Status: Offline
Profile     Report this post  
Merc 
Re: Memory Management in AmigaOS4.0 Explained
Posted on 13-Dec-2005 23:21:18
#19 ]
Member
Joined: 4-Jan-2004
Posts: 75
From: Montreal, Quebec

@Anomaly:

Quote:

Does the memory fragmentation diagram on page 1 of the article remind anyone else of the robot control mini-game in Paradroid?


It didn't at the time I read the article, but now, yes! That was a really unique game, I loved the music and sfx.. That robot control part almost always ended with my droid exploding though :(

 Status: Offline
Profile     Report this post  
Chunder 
Re: Memory Management in AmigaOS4.0 Explained
Posted on 13-Dec-2005 23:30:14
#20 ]
Super Member
Joined: 10-Mar-2003
Posts: 1956
From: The City of Xebec's Demise

Interesting article - well written and illustrated... but it raises some questions (naturally!)

1) Slab architecture was onbviously developed by Sun (see the references) - do they hold a patent on its use?

2) What other systems use this architecture? It appears to have been around since 1994 (in theory at least!) - if it hasn't been used, then is there a valid reason why not?

3) Could we have an illustration/example showing how the slab allocation process would deal with the fragmentation problem from the first set of examples (i.e. so we can compare what went wrong with the previous model, and how this has been resolved by this newer method)?

4) Does the implementation of this (radically different) memory allocation process break backwards compatibility, or is there a wrapper of some sort that mediates between the two methods? (Note however that I don't really give two hoots about full backwards compatibility - the quality of modern emulation is more than satisfactory!)

5) Is there an upper limit on the amount of memory that this architecture will support?

6) The process of caching object "hot spots" sounds interesting - is this something that a developer has to specifically expose to the memory API, or is it automatically and dynamically handled during run-time?

7) Do you actually have an operational version of your code which runs on multiple CPUs (and therefore *know* that it scales up in a linear manner) or is this something taken from the second reference (as indicated in the article) and is being borne in mind for the future...?

Apologies if any of these are covered in the references - it's a bit late to be delving into depp techincal documents, but if they answer any of my questions then I'd be more than happy to spend some time digging around myself... perhaps earlier in the evening!

Many many many thanks in advance to anyone who can clear these up for me!


_________________

 Status: Offline
Profile     Report this post  
afxgroup 
Re: Memory Management in AmigaOS4.0 Explained
Posted on 13-Dec-2005 23:35:56
#21 ]
Super Member
Joined: 8-Mar-2004
Posts: 1968
From: Taranto, Italy

well done guys.. but it will use AllocVec or AllocVecNew or what??
it is a joke..

Anonymous..


_________________
http://www.amigasoft.net

 Status: Offline
Profile     Report this post  
miksuh 
Re: Memory Management in AmigaOS4.0 Explained
Posted on 13-Dec-2005 23:36:15
#22 ]
Cult Member
Joined: 10-Mar-2003
Posts: 731
From: Espoo, Finland

Quote:
2) What other systems use this architecture?


Eg. Linux

Last edited by miksuh on 13-Dec-2005 at 11:38 PM.
Last edited by miksuh on 13-Dec-2005 at 11:37 PM.

 Status: Offline
Profile     Report this post  

Goto page ( 1 | 2 | 3 | 4 | 5 | 6 )

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle