Re: nice for VMS
- From: "Richard B. Gilbert" <rgilbert88@xxxxxxxxxxx>
- Date: Sun, 12 Apr 2009 18:37:11 -0400
JF Mezei wrote:
Bob Koehler wrote:
There are a variety of states related to memory management, including
PFW, COLPG, and others I could dig up somewhere.
But virtual memory management is under the responsability of the OS. But
waiting for 8 bytes of physical memory to be loaded into a the register
is very much hardware based and would the OS be aware of this operation
taking a long enough time to warrant a switch processing to another
process ?
If your memory is aligned properly; e.g. the three low order bits of the address are 0, a load of 8 bytes should go quickly. If they are not 0, the O/S will do its best which, admittedly, is not very good. ISTR that it must move the eight bytes to properly aligned temporary storage and then load them into a register! This takes many cycles longer than a properly aligned quadword load. The compilers know how to do it right but if you use Macro and fail to align things properly, your code may run like a dog!
.
- Follow-Ups:
- Re: nice for VMS
- From: John Reagan
- Re: nice for VMS
- From: Arne Vajhøj
- Re: nice for VMS
- References:
- nice for VMS
- From: Martin Krischik
- Re: nice for VMS
- From: Bob Koehler
- Re: nice for VMS
- From: David J Dachtera
- Re: nice for VMS
- From: Fred Zwarts
- Re: nice for VMS
- From: Michael ***ey
- Re: nice for VMS
- From: David J Dachtera
- Re: nice for VMS
- From: Arne Vajhøj
- Re: nice for VMS
- From: David J Dachtera
- Re: nice for VMS
- From: Arne Vajhøj
- Re: nice for VMS
- From: JF Mezei
- Re: nice for VMS
- From: Arne Vajhøj
- Re: nice for VMS
- From: Marc Schlensog
- Re: nice for VMS
- From: JF Mezei
- Re: nice for VMS
- From: Bob Koehler
- Re: nice for VMS
- From: JF Mezei
- nice for VMS
- Prev by Date: Re: nice for VMS
- Next by Date: Re: nice for VMS
- Previous by thread: Re: nice for VMS
- Next by thread: Re: nice for VMS
- Index(es):