09 July 2024, 21:17 | #161 |
Registered User
Join Date: Oct 2020
Location: Bicester
Posts: 2,066
|
I can run it on the stock A4000 040 tomorrow evening if that helps.
|
09 July 2024, 22:06 | #162 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,712
|
It does. It would be very interesting if the shift normalisation is dramatically faster than the delta lookup since my expectation was that the lookup should be hitting the datacache at least every 15 out of 16 lookups. If that's not the case, I have some headscratching to do.
|
09 July 2024, 22:12 | #163 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,712
|
The more I see of the 68060, the more I wish I'd gotten one back in the day.
|
10 July 2024, 11:37 | #164 | |
Registered User
Join Date: Jun 2015
Location: Germany
Posts: 1,938
|
Quote:
|
|
10 July 2024, 11:43 | #165 | |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,712
|
Quote:
The way I'm doing stuff, I have all cache aligned data structures. We use move16 to transfer from sample data into a fetch buffer that we then operate on. The fetch and accumulation buffers are adjacent and cache aligned and so should be hot as soon as you've processed the first few samples. The only quasi random lookups are for converting the 8 bit samples to some volume scaled 16-bot one. This is what the delta encoding aims to improve. Almost all of the delta values are small enough to fit into a pair of cache lines. Only the first sample of 16 has to do a proper lookup. The move16 operations are intended to avoid trashing the cache. The source data should not enter the cache and the destination location will be cached. We can even pre hint that if needed. I am curious to see how these all perform on a faster 68040 implementation with local fast memory. The 3640 is useful for a worst case analysis since it has a relatively slow interface into memory. Last edited by Karlos; 10 July 2024 at 11:54. |
|
10 July 2024, 17:50 | #166 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,712
|
At the risk of seeming obsessed,I think I am going to add a "generic" version to this code that does not use any 040/060 specific operations (i.e. doesn't use the fetch buffer) and just reads the frame data directly from the sample source. We might get away with using the same mixer on 030, albeit with fewer input channels.
For that to be affordable, I'd probably want to have shift-only normalisation too. |
10 July 2024, 21:20 | #167 |
Registered User
Join Date: Oct 2020
Location: Bicester
Posts: 2,066
|
as requested.
|
10 July 2024, 21:22 | #168 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,712
|
|
10 July 2024, 21:28 | #169 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,712
|
A quick glance suggests it's only slightly faster, for what could be a pretty significant reduction in quality.
|
10 July 2024, 21:49 | #170 |
Registered User
Join Date: Oct 2020
Location: Bicester
Posts: 2,066
|
|
10 July 2024, 22:11 | #171 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,712
|
I expect it to perform better, but I don't know how the trends will be affected. If everything is working as expected, all the code and important lookup data will be running from the CPU cache and the only memory access will be for the source sound data and for writing back to chip. The thought does occur, what if your test is dominated entirely by just fetching the source data? That should scale totally linearly with channel count.
|
11 July 2024, 09:08 | #172 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,712
|
The 3640 results are a bit perplexing to me. I should do a null version that doesn't do any mixing or normalisation, but does fetch the source data and does push silence to chip. That'll give a baseline for all the data movement. If it's not very different then we can say it's memory interface issues
|
11 July 2024, 10:40 | #173 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,315
|
Maybe you should start a new thread for the 68040 testing issue. I guess most 040 user don't know or follow this thread. If my A1200 with Apollo 1240/40 would have network access I had already run the test.
|
11 July 2024, 10:57 | #174 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,712
|
I didn't want to spam the forums with TKG specific threads
|
11 July 2024, 12:01 | #175 |
Registered User
Join Date: Jan 2005
Location: Umeå
Age: 44
Posts: 954
|
|
11 July 2024, 12:37 | #176 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,712
|
|
11 July 2024, 16:10 | #177 |
Registered User
Join Date: Jan 2005
Location: Umeå
Age: 44
Posts: 954
|
|
11 July 2024, 17:19 | #178 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,712
|
You guys are really going to make me power up my 1200 BlizzPPC040 tower, aren't you?
If the blue smoke comes out, I'm holding you all responsibile... Who am I kidding, I didn't even put the HD back in when I imaged it a couple of years back |
11 July 2024, 17:50 | #179 |
Registered User
Join Date: Jan 2005
Location: Umeå
Age: 44
Posts: 954
|
|
11 July 2024, 17:54 | #180 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,712
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Slow A4000 after overhaul | Screechstar | support.Hardware | 57 | 11 July 2023 23:02 |
Amiga Font Editor overhaul | buggs | Coders. Releases | 19 | 09 March 2021 17:39 |
Escom A1200 overhaul | Ox. | Amiga scene | 8 | 26 August 2014 08:54 |
Will Bridge Practice series needs an overhaul | mk1 | HOL data problems | 1 | 02 April 2009 21:55 |
|
|