From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Thu, 17 Sep 2015 17:37:55 +0200 Subject: [U-Boot] [PATCH] arm: socfpga: Fix cache configuration In-Reply-To: <1442503829-28882-1-git-send-email-sr@denx.de> References: <1442503829-28882-1-git-send-email-sr@denx.de> Message-ID: <201509171737.55414.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thursday, September 17, 2015 at 05:30:29 PM, Stefan Roese wrote: > By not defining CONFIG_SYS_ARM_CACHE_WRITEALLOC, the WRITEBACK cache > policy is selected. This leads to much better performance on the SoCFPGA. > A quick network test shows this: > > Without this patch: > => tftp 100000 big-40mb > Speed: 1000, full duplex > Using dwmac.ff702000 device > TFTP from server 192.168.1.54; our IP address is 192.168.1.252 > Filename 'big-40mb'. > Load address: 0x100000 > Loading: ################################################################# > ################################################################# > ################################################################# > ################################################################# > ########################## > 2.5 MiB/s > > With this patch: > => tftp 100000 big-40mb > Speed: 1000, full duplex > Using dwmac.ff702000 device > TFTP from server 192.168.1.54; our IP address is 192.168.1.252 > Filename 'big-40mb'. > Load address: 0x100000 > Loading: ################################################################# > ################################################################# > ################################################################# > ################################################################# > ########################## > 7.6 MiB/s > > A performance improvement of factor ~3. > > Signed-off-by: Stefan Roese > Cc: Dinh Nguyen > Cc: Chin Liang See > Cc: Pavel Machek > Cc: Marek Vasut OUCH! This actually came from the original Altera sources, darn :-( Acked-by: Marek Vasut Best regards, Marek Vasut