From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49854) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZReIp-00038r-DP for qemu-devel@nongnu.org; Tue, 18 Aug 2015 06:39:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZReIk-0002sW-6W for qemu-devel@nongnu.org; Tue, 18 Aug 2015 06:39:35 -0400 Received: from mout.gmx.net ([212.227.17.21]:55145) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZReIj-0002sK-Rp for qemu-devel@nongnu.org; Tue, 18 Aug 2015 06:39:30 -0400 References: <20150729150147.GO11361@aurel32.net> <55B99F95.8010603@gmx.net> <20150730075252.GT11361@aurel32.net> <55B9DD60.8020801@gmx.net> <20150730085500.GV11361@aurel32.net> <55BF7FF7.8080308@gmx.net> <55BFC62E.4030001@gmx.net> <55D2B3B5.80309@gmx.net> <20150818081908.GH23508@aurel32.net> From: Dennis Luehring Message-ID: <55D30B61.6050209@gmx.net> Date: Tue, 18 Aug 2015 12:39:29 +0200 MIME-Version: 1.0 In-Reply-To: <20150818081908.GH23508@aurel32.net> Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Debian 7.8.0 SPARC64 on qemu - anything i can do to speedup the emulation? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Karel Gardas , qemu-devel , Artyom Tarasenko Am 18.08.2015 um 10:19 schrieb Aurelien Jarno: > How big is the source file and the output file? I find strange that I/O > impacts so much for a compilation which should be CPU bounded. Maybe try > to add the -pipe argument to g++. NetBSD SPARC64, running from ramdisk, qemu 2.4.50 g++ src/pugixml.cpp -g -Wall -Wextra -Werror -pedantic -std=c++0x -c -MMD -MP #1: 2:52.6 #2: 2:49.2 g++ src/pugixml.cpp -g -Wall -Wextra -Werror -pedantic -std=c++0x -c -MMD -MP -pipe #3: 2:50.2 #4: 2:52.1 pugixml.cpp: 323.273 bytes pugixml.o: 1.095.832 bytes pugixml.d: 101 bytes Stop after the preprocessing stage: g++ src/pugixml.cpp -g -Wall -Wextra -Werror -pedantic -std=c++0x -c -MMD -MP -E > pugixml.prep.cpp runtime: ~5sek pugixml.cpp.prep: 788.350 bytes Stop after the stage of compilation proper: g++ src/pugixml.cpp -g -Wall -Wextra -Werror -pedantic -std=c++0x -c -MMD -MP -S runtime #1: 2:40.1 runtime #2: 2:41.0 Compile or assemble the source files, but do not link: g++ src/pugixml.cpp -g -Wall -Wextra -Werror -pedantic -std=c++0x -c -MMD -MP -c runtime: 2:52.6