Re: Is it always possible to write a COBOL program using only 1 sentence per paragraph?



The "old" locality of reference idea was to keep your code and data close
together (on the same page) to reduce paging. On IBM mainframe systems (and
perhaps on others also) that have instruction pipelines/caches, this "old"
method can actually cause a performance hit. This is caused when there is
data in the cache that is changed causing the cache contents be invalidated
and causing a disruption of the instruction pipeline.. The "new" locality
of reference idea is to keep your data at separate from your instructions by
at least the size of the cache. One way to do this is to make your programs
reentrant.

There is a discussion of the at:

http://groups-beta.google.com/group/bit.listserv.ibm-main/browse_thread/thread/3262c21bc944371f/3daee1483bfbc55e?q=cache&;


Top post - no more below.

"Pete Dashwood" <dashwood@xxxxxxxxxxxxxx> wrote in message
news:3k86utFl4gssU1@xxxxxxxxxxxxxxxxx
>
> "Clark Morris" <cfmtech@xxxxxxxx> wrote in message
> news:e1atd11fi2cshuqsgg11l78qp1n840102p@xxxxxxxxxx
>> On Tue, 19 Jul 2005 11:02:50 +1200, "Pete Dashwood"
>> <dashwood@xxxxxxxxxxxxxx> wrote:
>>

<snip>

>
> In modern systems 'locality of reference' is almost irrelevant, especially
> when multitasking is proceeding anyway.


.



Relevant Pages

  • Re: c# object caching and reference counting
    ... I need to cache various resource objects such as images for example, ... (wich could be considered documents for ease of discusion) ... I realy dont want to have to keep a track of seperate reference count as ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Load Testing Errors
    ... Another thing to check when you get null reference errors in an ASP.NET ... application, but ONLY under load, is whether the objects on which you're ... if (someObjectKey is in the cache) { ... lower volumes, then either your cache expires very frequently, or there is ...
    (microsoft.public.dotnet.framework.performance)
  • Re: Load Testing Errors
    ... Another thing to check when you get null reference errors in an ASP.NET ... application, but ONLY under load, is whether the objects on which you're ... if (someObjectKey is in the cache) { ... lower volumes, then either your cache expires very frequently, or there is ...
    (microsoft.public.dotnet.general)
  • Re: Load Testing Errors
    ... Another thing to check when you get null reference errors in an ASP.NET ... application, but ONLY under load, is whether the objects on which you're ... if (someObjectKey is in the cache) { ... lower volumes, then either your cache expires very frequently, or there is ...
    (microsoft.public.dotnet.security)
  • c# object caching and reference counting
    ... I need to cache various resource objects such as images for example, ... (wich could be considered documents for ease of discusion) ... I realy dont want to have to keep a track of seperate reference count as ...
    (microsoft.public.dotnet.languages.csharp)