From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <18528.13965.55621.496788@cargo.ozlabs.ibm.com> Date: Tue, 24 Jun 2008 09:49:33 +1000 From: Paul Mackerras To: Gunnar von Boehn Subject: Re: [RFC 1/3] powerpc: __copy_tofrom_user tweaked for Cell In-Reply-To: References: <247666.12345.qm@web33104.mail.mud.yahoo.com> Cc: Mark Nelson , sanjay3000@yahoo.com, Arnd Bergmann , linuxppc-dev@ozlabs.org, Michael Ellerman , cbe-oss-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Gunnar von Boehn writes: > Interesting points. > Can you help me to understand where the negative effect of DCBZ does come > from? In my experience, dcbz slows down the hot-cache case because it adds a few cycles to the execution time of the inner loop, and on most 64-bit PowerPC implementations, it doesn't actually help even in the cold-cache case because the store queue does enough write combining that the cache doesn't end up reading the line from memory. I don't know whether the Cell PPE can do that, but I could believe that it can't. Paul.