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
11 crawler(s) on-line.
 80 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!
 kriz:  9 mins ago
 matthey:  20 mins ago
 pavlor:  22 mins ago
 amig_os:  54 mins ago
 OlafS25:  1 hr ago
 Seiya:  1 hr 14 mins ago
 amigatronics:  1 hr 48 mins ago
 zipper:  1 hr 49 mins ago
 amigakit:  2 hrs 29 mins ago
 clint:  2 hrs 41 mins ago

/  Forum Index
   /  General Technology (No Console Threads)
      /  The Myth of RAM-access
Register To Post

PosterThread
OldFart 
The Myth of RAM-access
Posted on 13-Jan-2024 10:37:27
#1 ]
Elite Member
Joined: 12-Sep-2004
Posts: 3060
From: Stad; en d'r is moar ain stad en da's Stad. Makkelk zat!

Hi,

A few days ago I was pointed to THIS series (4) of articles. When you posess a proper grasp on math (I, as a bookkeeper of sorts, merely get the gist), you may indulge in it. Have a nice read!

OldFart

_________________
More then three levels of indigestion and you're scroomed!

 Status: Offline
Profile     Report this post  
Karlos 
Re: The Myth of RAM-access
Posted on 13-Jan-2024 10:55:58
#2 ]
Elite Member
Joined: 24-Aug-2003
Posts: 4405
From: As-sassin-aaate! As-sassin-aaate! Ooh! We forgot the ammunition!

@OldFart

Where's the myth part? We all know that ram accesses tend to transfer entire cache lines, even when asking for a single byte where data cache exists and is enabled and that randomly accessing data over a wide distance (like traversing a linked list with node addresses scattered all over the show) is suboptimal. The best memory performance is achieved generally for streaming sequential operations under such circumstances.

After that you've got additional complications from memory management, paging strategies and so forth.

_________________
Doing stupid things for fun...

 Status: Offline
Profile     Report this post  
OldFart 
Re: The Myth of RAM-access
Posted on 13-Jan-2024 11:20:22
#3 ]
Elite Member
Joined: 12-Sep-2004
Posts: 3060
From: Stad; en d'r is moar ain stad en da's Stad. Makkelk zat!

@Karlos

Quote:
Where's the myth part?
The myth, as the author clearly states, is, that memoryaccess of the kind he depicts are/were considered to be O(1), whatever that means (remember I'm a bookkeeper!), however he debunks, or tries to debunk that.

From the preface:
Quote:
This article is the first of four in a series, in which I argue that thinking of a memory access as O(1) is generally a bad idea, and we should instead think of them as taking O(√N) time.


Please, don't shoot the messenger!

OldFart

_________________
More then three levels of indigestion and you're scroomed!

 Status: Offline
Profile     Report this post  
Karlos 
Re: The Myth of RAM-access
Posted on 13-Jan-2024 11:27:57
#4 ]
Elite Member
Joined: 24-Aug-2003
Posts: 4405
From: As-sassin-aaate! As-sassin-aaate! Ooh! We forgot the ammunition!

@OldFart

Not shooting, don't worry. I guess I wasn't sure why even when the article was written any engineers would still think memory accesses were simple things you just counted in basic cycles. That all went out of the window with caches.

_________________
Doing stupid things for fun...

 Status: Offline
Profile     Report this post  
OneTimer1 
Re: The Myth of RAM-access
Posted on 13-Jan-2024 19:49:20
#5 ]
Cult Member
Joined: 3-Aug-2015
Posts: 983
From: Unknown

Quote:

Karlos wrote:

Where's the myth part? We all know that ram accesses tend to transfer entire cache lines, ...


Some really don't know or they don't accept the consequences, reading data from continuous addresses is much faster than reading data from a lot of different addresses. The Amiga DMA engine would have needed caches to do the same for higher DMA transfers with the same memory chips.

 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