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
14 crawler(s) on-line.
 122 guest(s) on-line.
 1 member(s) on-line.


 amigakit

You are an anonymous user.
Register Now!
 amigakit:  3 mins ago
 A1200:  1 hr 12 mins ago
 michalsc:  1 hr 16 mins ago
 OlafS25:  2 hrs 15 mins ago
 clint:  2 hrs 20 mins ago
 amigang:  3 hrs 30 mins ago
 Tpod:  4 hrs 10 mins ago
 pixie:  4 hrs 15 mins ago
 Birbo:  4 hrs 30 mins ago
 Hammer:  4 hrs 37 mins ago

software OS4   software OS4 : Release of onchipmem.resource AmigaOS 4.1 component for Sam460ex
   posted by m3x on 24-Feb-2013 18:47:52 (3245 reads)
ACube Systems announces the immediate release of the onchipmem.resource.
This is an OS4 component that provides access to the On Chip Memory (OCM) found on the APM460Ex SoC (used on the Sam460ex board for example).

The OCM buffer is 64KB in size, 128-bit bus width, and is much faster than main RAM, up to double the DDR2 speed, basically it has a speed similar to the 460Ex L2 cache.

Read more --->


It's main use is to store often accessed application data, or as a way to transfer more quickly a data buffer to/from video ram for example.

The archive contains documentation and example source code on how to use this resource.

The archive onchipmem_res.lha is available on OS4depot

Or on the ACube Systems web site
    

STORYID: 6691
Related Links
· More about software OS4
· News by m3x


Printer Friendly Page  Send this Story to a Friend

PosterThread
Moxee 
Re: Release of onchipmem.resource AmigaOS 4.1 component for
Posted on 25-Feb-2013 20:50:31
#1 ]
Team Member
Joined: 20-Aug-2003
Posts: 6291
From: County Yakima, WA State, USA

Good stuff here.

I had a hell of a time getting the ACube link to work until I changed the .com to .biz.

Hopefully, all the links work now.

____________
Moxee


_________________
Moxee
AmigaOne X1000
AmigaOne XE G4
I'd agree with you, but then we'd both be wrong.

 Status: Offline
Profile     Report this post  
KimmoK 
Re: Release of onchipmem.resource AmigaOS 4.1 component for
Posted on 26-Feb-2013 8:16:44
#2 ]
Elite Member
Joined: 14-Mar-2003
Posts: 5211
From: Ylikiiminki, Finland

Naughty feature... Interesting to see what good use can be found for it.


_________________
- KimmoK
// For freedom, for honor, for AMIGA
//
// Thing that I should find more time for: CC64 - 64bit Community Computer?

 Status: Offline
Profile     Report this post  
g0blin 
Re: Release of onchipmem.resource AmigaOS 4.1 component for
Posted on 26-Feb-2013 12:53:39
#3 ]
Cult Member
Joined: 31-Mar-2009
Posts: 666
From: Unknown

great job.

always nice to find out new features has been added.


_________________
GDG Entertainment

Cybersphere Page

 Status: Offline
Profile     Report this post  
ikir 
Re: Release of onchipmem.resource AmigaOS 4.1 component for
Posted on 28-Feb-2013 1:22:16
#4 ]
Elite Member
Joined: 18-Dec-2002
Posts: 5647
From: Italy

Soooo geek! Thanks ACube


_________________
ikir

 Status: Offline
Profile     Report this post  
olegil 
Re: Release of onchipmem.resource AmigaOS 4.1 component for
Posted on 28-Feb-2013 14:14:10
#5 ]
Elite Member
Joined: 22-Aug-2003
Posts: 5895
From: Work

Intriguing. In essence, an L2 cache you can "malloc"

so not affected by context switches etc. There HAS to be a way to use this for video decompression. But knowing how much can be gained would require knowing a lot about how many cache misses one has already, in essence cache line profiling. Not sure how many amiga devs do that on their code.

Edit: Does AOS4 have the ability to count cache misses with some sort of debug setting? Does the 460 core have counters for it? I know QorIQ does, at least some of the cores, but I'm not that intimate with AMCC anymore.

Last edited by olegil on 28-Feb-2013 at 02:15 PM.


_________________
This weeks pet peeve:
Using "voltage" instead of "potential", which leads to inventing new words like "amperage" instead of "current" (I, measured in A) or possible "charge" (amperehours, Ah or Coulomb, C). Sometimes I don't even know what people mean.

 Status: Offline
Profile     Report this post  
pavlor 
Re: Release of onchipmem.resource AmigaOS 4.1 component for
Posted on 1-Mar-2013 13:19:01
#6 ]
Elite Member
Joined: 10-Jul-2005
Posts: 9583
From: Unknown

Nice!

 Status: Offline
Profile     Report this post  
olegil 
Re: Release of onchipmem.resource AmigaOS 4.1 component for
Posted on 1-Mar-2013 14:15:03
#7 ]
Elite Member
Joined: 22-Aug-2003
Posts: 5895
From: Work

I've been thinking about this a LOT the last 24 hours. Many modern CPUs also have the ability to lock cache lines, this could be used to emulate the same effect on processors with more cache but no onboard generic RAM.

So this resource should also be portable to e500mc (nudge, nudge) and ppc440, possibly also PA6T.

Allthough, when used with cache line locking rather than dedicated SRAM, it'll cause an overall slowdown of all the programs who aren't using it. If you really need that extra few percents of performance, I think it could be well worth it.


_________________
This weeks pet peeve:
Using "voltage" instead of "potential", which leads to inventing new words like "amperage" instead of "current" (I, measured in A) or possible "charge" (amperehours, Ah or Coulomb, C). Sometimes I don't even know what people mean.

 Status: Offline
Profile     Report this post  
klx300r 
Re: Release of onchipmem.resource AmigaOS 4.1 component for
Posted on 1-Mar-2013 17:47:10
#8 ]
Elite Member
Joined: 4-Mar-2008
Posts: 3836
From: Toronto, Canada

guys Chris over at amigans.net has made a benchmark to test out this new feature.

If you've got a 460 check it out at amigans thread


_________________
____________________________
c64-2sids, A1000, A1200T-060@50(finally working!),A4000-CSMKIII
! My Master Miggies- Amiga 1000 & AmigaOne X1000 !
mancave-ramblings
X1000 I BELIEVE

 Status: Offline
Profile     Report this post  
Jupp3 
Re: Release of onchipmem.resource AmigaOS 4.1 component for
Posted on 2-Mar-2013 14:54:02
#9 ]
Super Member
Joined: 22-Feb-2007
Posts: 1225
From: Unknown

Quote:
I've been thinking about this a LOT the last 24 hours. Many modern CPUs also have the ability to lock cache lines, this could be used to emulate the same effect on processors with more cache but no onboard generic RAM.

Well, that way you could both:
1)Reserve really fast memory for a single instance of a single program and
2)Reduce the amount of "generic" cache available for all other programs. This could, of course, include libraries used by the program reserving the cache.

And even if you use only a few kilobytes? Well, how many such programs does it take to consume all cache?

I'd be WAY more worried about 2 than excited about any potential speedup by 1...

Also, what if a program that has reserved gets stuck / crashes, and the cache is never freed? Of course depends on how the related API's would be written.

And can't help thinking that this "Letting one program run a bit faster by giving it faster memory" isn't THAT far from "Why would anyone want to run more than one program simultaneously anyway?" used by Microsoft in the old days

 Status: Offline
Profile     Report this post  
olegil 
Re: Release of onchipmem.resource AmigaOS 4.1 component for
Posted on 2-Mar-2013 16:10:33
#10 ]
Elite Member
Joined: 22-Aug-2003
Posts: 5895
From: Work

It's not like anyone would force you to use it.

It's used a LOT in the embedded industry.

Personally I wouldn't allow more than one program from using this at a time, and unlocking it (if the program has crashed) is pretty easy as there's just one of the resource anyway. It wouldn't be 64k if using locked cache lines, but it would be enough to fit some registers in VM or often-used state variables (or even a few macroblocks of a h.264 decoder). Really anything small which would normally fit in the cache but which you REALLY don't want to risk getting switched out by a context switch.

But as I mentioned, to know if this is useful it would help to have a cache miss counter.

And as for the downside of other programs going slower, do you really care about the speed of your mail fetching while you're using an emulator or watching a movie? Wouldn't 5% more CPU power for the main task be worth a slight slowdown on background processes? There's an AWFUL lot of ground between this and throwing out the preemptive multitasker.

Last edited by olegil on 03-Mar-2013 at 08:54 AM.
Last edited by olegil on 02-Mar-2013 at 04:18 PM.


_________________
This weeks pet peeve:
Using "voltage" instead of "potential", which leads to inventing new words like "amperage" instead of "current" (I, measured in A) or possible "charge" (amperehours, Ah or Coulomb, C). Sometimes I don't even know what people mean.

 Status: Offline
Profile     Report this post  
AmiDARK 
Re: Release of onchipmem.resource AmigaOS 4.1 component for
Posted on 3-Mar-2013 15:44:47
#11 ]
Regular Member
Joined: 28-Mar-2007
Posts: 469
From: South France

Nice feature for Sam460 :)
will add support for this extra mem in the AmiDARK Engine for critical data :)

Regards,
AmiDARK

 Status: Offline
Profile     Report this post  
[ 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