From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 114669,591ad700381e277b X-Google-Attributes: gid114669,public X-Google-Thread: 1164f8,591ad700381e277b X-Google-Attributes: gid1164f8,public X-Google-Thread: 102b75,591ad700381e277b X-Google-Attributes: gid102b75,public X-Google-ArrivalTime: 2001-05-26 13:30:16 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!nycmny1-snh1.gtei.net!news.gtei.net!newsfeed.mathworks.com!nntp.flash.net!news1.fra.nextra.com!news2.oke.nextra.no!nextra.com!hydro.com!not-for-mail From: Terje Mathisen Newsgroups: comp.arch,comp.sys.super,comp.sys.dec Subject: Re: Historical Question on Alpha 21064 Date: Sat, 26 May 2001 22:29:50 +0200 Organization: Hydro Message-ID: <3B10123E.90B75A6D@hda.hydro.com> References: <9ejbp0$iom$1@ausnews.austin.ibm.com> <3B0D56B1.A91BE4A1@sgi.com> <9ejpfu$l02$1@ausnews.austin.ibm.com> <9eo3r5$mu9$1@mach.thp.univie.ac.at> NNTP-Posting-Host: 136.164.13.22 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U) X-Accept-Language: en Xref: archiver1.google.com comp.arch:10734 comp.sys.super:1631 comp.sys.dec:4133 Jonathan Thornburg wrote: > > In article <9ejpfu$l02$1@ausnews.austin.ibm.com>, > McCalpin wrote: > >Partial writes are ugly for many reasons: > > > >1. They may require lots of partial writes if (as is most > > reasonable) the merge function in the memory can only > > write contiguous fields. > > For example, a 128 Byte store buffer that has every > > other byte written either needs the memory controller > > merge function to support byte masks (yechh!) or it > > needs to make 64 partial writes (double yechh!). > > Hmm. A naive programmer's view would say > * write 64 individual non-contiguous bytes > * write-through cache --> writes go to main memory > * expect 64 write transactions to memory > which is just about what happens. OTOH, if you have byte-enable lines anyway, then it is very useful if you also have a way to expose them to programmers, particularly for stuff like transparency masks, where a masked write totally avoids the (very costly) read from the frame buffer. Yeah, I know that this is kids stuff for modern graphics chipsets, but no matter how you set it up, you always get to the point where you have to do some operations manually. :-( Terje -- - Using self-discipline, see http://www.eiffel.com/discipline "almost all programming can be viewed as an exercise in caching"