Double the speed of ct-ng with CONFIG_SHELL=/bin/ash
Yann E. MORIN
yann.morin.1998@anciens.enib.fr
Mon Aug 25 21:27:00 GMT 2008
Hello Martin!
Hello All!
On Monday 25 August 2008 23:01:15 Martin Guy wrote:
> > This gives an improvement in speed of about 6% here:
> > CONFIG_SHELL not set: 26'47.81"
> > CONFIG_SHELL set to /bin/ash: 25'11.60"
> Strange. What's your box?
> My measurements were on a 2x2GHz 32-bit AMD under Debian etch with 1GB
> RAM (so hard disk speed was not an issue - everything was in cache)
> using -j3 and with
Core-2 Quad @ 2.83GHz with 4GiB RAM running in 64-bit. Sorry... :-)
Debian Lenny as of this morning, and using -j10 (to hog the CPU).
> /bin/sh -> bash (so the login shell and $SHELL were /bin/bash)
> CONFIG_SHELL=/bin/ash ./ct-ng build
Same here.
The time quoted previously was to build a full toolchain:
arm-unknown-linux-uclibcgnueabi (local)
OS : linux-2.6.26.1
GMP/MPFR : gmp-4.2.2 / mpfr-2.3.1
binutils : binutils-2.18.50.0.8
C compiler: gcc-4.3.1 (C,C++,Fortran,Java)
C library : uClibc-20080801
Tools : sstrip dmalloc-5.5.2 duma-2_5_14 gdb-6.8 strace-4.5.16
As for the sole GMP build, it went about 30% faster, from 35" down to 24".
I will collect more data tomorow.
> I was seeing 50% system time and 50% user time,
I didn't pay attention too closely at user time vs. system time...
Will look more closely next time...
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +0/33 662376056 | Software Designer | \ / CAMPAIGN | ^ |
| --==< ^_^ >==-- `------------.-------: X AGAINST | /e\ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | """ conspiracy. |
`------------------------------^-------^------------------^--------------------'
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list