Welcome, Guest. Please login or register.

Author Topic: WarpOS, PPC and ChipRAM  (Read 1043 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 only replies by Karlos
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 Framiga

  • Hero Member
  • *****
  • Join Date: May 2003
  • Posts: 4096
    • Show only replies by Framiga
Re: WarpOS, PPC and ChipRAM
« Reply #1 on: May 31, 2005, 11:04:35 AM »
Hi Karlos

which powerpc.library are you using?

I've noticed a very different behaviour with 16.1beta1 and the latest 16.1 (this one allocates a lot of RAM).

 

Offline KarlosTopic starter

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16867
  • Country: gb
  • Thanked: 4 times
    • Show only replies by Karlos
Re: WarpOS, PPC and ChipRAM
« Reply #2 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 Framiga

  • Hero Member
  • *****
  • Join Date: May 2003
  • Posts: 4096
    • Show only replies by Framiga
Re: WarpOS, PPC and ChipRAM
« Reply #3 on: May 31, 2005, 11:21:50 AM »
yesy you are using the latest 16.1 (WOS 5.1 Update archive).

powerpc.library 16.1 (7-Feb-2001)

Try the 16.1beta1 and look at the differences.

I've no time now to check again but IIRC, the latest 16.1 is installed as semaphor or resident . . .don't remember now. btw . . . it eats about 2 MB of fastram.



 

Offline KarlosTopic starter

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16867
  • Country: gb
  • Thanked: 4 times
    • Show only replies by Karlos
Re: WarpOS, PPC and ChipRAM
« Reply #4 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 Framiga

  • Hero Member
  • *****
  • Join Date: May 2003
  • Posts: 4096
    • Show only replies by Framiga
Re: WarpOS, PPC and ChipRAM
« Reply #5 on: May 31, 2005, 12:09:58 PM »
no, no its not a problem for me too!

The interesting thing, would be . . why? :-)

EDIT- and to understand why , its a job for you :-D
 

Offline KarlosTopic starter

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16867
  • Country: gb
  • Thanked: 4 times
    • Show only replies by Karlos
Re: WarpOS, PPC and ChipRAM
« Reply #6 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