This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFC: LRA for x86/x86-64 [0/9]
Richard Guenther <richard.guenther@gmail.com> writes:
>
> I think both measurements run into swap (low CPU utilization), from the LRA
> numbers I'd say that LRA uses less memory but the timings are somewhat
> useless with the swapping.
On Linux I would normally recommend to use
/usr/bin/time -f 'real=%e user=%U system=%S share=%P%% maxrss=%M ins=%I
outs=%O mfaults=%R waits=%w'
instead of plain time. It gives you much more information
(especially maxrss and waits), so it's more reliable to tell if you
have a memory problem or not.
-Andi
--
ak@linux.intel.com -- Speaking for myself only