This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ARM1176JZ-S, cache confg: effective cache size calculation

Note: This was originally posted on 22nd February 2009 at http://forums.arm.com

Hello,

1) I am using ARM1176JZ-S core with WinCE Platform. The cache memory is configured as follows

    DCache: 128 sets, 4 ways, 32 line size, 16384 size
    ICache: 128 sets, 4 ways, 32 line size, 16384 size

    Now I want to know the effective data cache size, I mean the total data from the main memory 
    could be cached and accessed without cache trashing within a function.

2) Is the cache set size(128 sets) and cache block/segment(of other processors) size are same?

Kindly reply this mail, thanks in advance

Regards,
Deven
Parents
  • Note: This was originally posted on 5th March 2009 at http://forums.arm.com

    Hello,

    I had profiled the below code. But I could not see cache advantage of repeated access.

    This code is placed in a WinCE appication thread and profiled.

    [snipped]

    Could you explain where is the error.


    Thanks,
    Deven


    Hi Deven,

    Please don't assume that I'm an expert in this area but my incling is that under WinCE
    you'll hardly get trustworthy results for your tests because apart from your 'profiled thread'
    there will be lots and lots of other threads, also actively using caches, and thus interfering
    with your results.

    Correct me if I'm wrong. (I know close to nothing about WinCE and your methods of profiling).
Reply
  • Note: This was originally posted on 5th March 2009 at http://forums.arm.com

    Hello,

    I had profiled the below code. But I could not see cache advantage of repeated access.

    This code is placed in a WinCE appication thread and profiled.

    [snipped]

    Could you explain where is the error.


    Thanks,
    Deven


    Hi Deven,

    Please don't assume that I'm an expert in this area but my incling is that under WinCE
    you'll hardly get trustworthy results for your tests because apart from your 'profiled thread'
    there will be lots and lots of other threads, also actively using caches, and thus interfering
    with your results.

    Correct me if I'm wrong. (I know close to nothing about WinCE and your methods of profiling).
Children
No data