Re: Is it always possible to write a COBOL program using only 1 sentence per paragraph?
- From: "charles hottel" <jghottel@xxxxxxxxx>
- Date: Thu, 21 Jul 2005 00:13:57 -0400
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.
.
- Follow-Ups:
- References:
- Is it always possible to write a COBOL program using only 1 sentence per paragraph?
- From: Oliver Wong
- Re: Is it always possible to write a COBOL program using only 1 sentence per paragraph?
- From: Oliver Wong
- Re: Is it always possible to write a COBOL program using only 1 sentence per paragraph?
- From: docdwarf
- Re: Is it always possible to write a COBOL program using only 1 sentence per paragraph?
- From: Chuck Stevens
- Re: Is it always possible to write a COBOL program using only 1 sentence per paragraph?
- From: docdwarf
- Re: Is it always possible to write a COBOL program using only 1 sentence per paragraph?
- From: Oliver Wong
- Re: Is it always possible to write a COBOL program using only 1 sentence per paragraph?
- From: Pete Dashwood
- Re: Is it always possible to write a COBOL program using only 1 sentence per paragraph?
- From: Howard Brazee
- Re: Is it always possible to write a COBOL program using only 1 sentence per paragraph?
- From: Pete Dashwood
- Re: Is it always possible to write a COBOL program using only 1 sentence per paragraph?
- From: Michael Mattias
- Re: Is it always possible to write a COBOL program using only 1 sentence per paragraph?
- From: Pete Dashwood
- Re: Is it always possible to write a COBOL program using only 1 sentence per paragraph?
- From: Howard Brazee
- Re: Is it always possible to write a COBOL program using only 1 sentence per paragraph?
- From: Pete Dashwood
- Re: Is it always possible to write a COBOL program using only 1 sentence per paragraph?
- From: Clark Morris
- Re: Is it always possible to write a COBOL program using only 1 sentence per paragraph?
- From: Pete Dashwood
- Is it always possible to write a COBOL program using only 1 sentence per paragraph?
- Prev by Date: Re: Is it always possible to write a COBOL program using only 1 sentence per paragraph?
- Next by Date: Re: Is it always possible to write a COBOL program using only 1 sentence per paragraph?
- Previous by thread: Re: Is it always possible to write a COBOL program using only 1 sentence per paragraph?
- Next by thread: Re: Is it always possible to write a COBOL program using only 1 sentence per paragraph?
- Index(es):
Relevant Pages
|