64-bit Programming Issues

http://www.ualberta.ca/CNS/RESEARCH/LinuxClusters/64-bit.html The -mcmodel flag selects the memory model or memory access modes for a program. Three memory models are supported by the compilers: small(text+data<2GB), medium (text<2GB, data>2GB), and large (text>2GB, data>2GB). Memory segments less than 2GB can be accessed with direct references, while larger segments require indirect or relative

Consistency vs. Coherence

http://people.engr.ncsu.edu/efg/506/s01/lectures/notes/lec14.pdf In the preceding two lectures, we have studied coherence and consistency. What’s the difference? • Coherence assures that values written by one processor are read by other processors. • However, coherence says nothing about when writes will become visible.