qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Debian 7.8.0 SPARC64 on qemu - anything i can do to spe


From: Dennis Luehring
Subject: Re: [Qemu-devel] Debian 7.8.0 SPARC64 on qemu - anything i can do to speedup the emulation?
Date: Tue, 18 Aug 2015 12:39:29 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]