Welcome, Guest. Please login or register.

Author Topic: WarpOS, PPC and ChipRAM  (Read 1058 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline KarlosTopic starter

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16867
  • Country: gb
  • Thanked: 4 times
    • Show all replies
WarpOS, PPC and ChipRAM
« on: May 31, 2005, 10:44:38 AM »
Hi,

Can anybody confirm what the default cache setup is supposed to for the 603/604 with respect to the chip ram area?

I discovered recently (quite by accident whilst talking to Patrik about screwy performance results) that on my system it seems to be cached (copyback too), rather than non-cacheable. For writes, this slowed it down a *lot*. Allocating chip memory with AllocVecPPC() using MEMF_WRITETRHOUGH or MEMF_CACHEOFF corrected this.

This seems odd to me as I cannot think of any reason why the chip ram should be copyback enabled.

Is my installation screwy?
int p; // A
 

Offline KarlosTopic starter

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16867
  • Country: gb
  • Thanked: 4 times
    • Show all replies
Re: WarpOS, PPC and ChipRAM
« Reply #1 on: May 31, 2005, 11:13:19 AM »
I'm using warpup 5.1 as found on aminet. I'll need to check after work to get the exact powerpc.library version. I think it's v16, but I am not completely sure.
int p; // A
 

Offline KarlosTopic starter

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16867
  • Country: gb
  • Thanked: 4 times
    • Show all replies
Re: WarpOS, PPC and ChipRAM
« Reply #2 on: May 31, 2005, 11:34:10 AM »
Quote

Framiga wrote:

btw . . . it eats about 2 MB of fastram.


Trust me, that is not a problem ;-)
int p; // A
 

Offline KarlosTopic starter

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16867
  • Country: gb
  • Thanked: 4 times
    • Show all replies
Re: WarpOS, PPC and ChipRAM
« Reply #3 on: May 31, 2005, 12:26:56 PM »
The library uses 2MB you mean?

It probably allocates some memory for book keeping and what not. I also know that the PPC MMU tables can use up quite a lot of ram, but I think these are already allocated even before you start WarpOS (at least on BPPC)
int p; // A