You are not logged in.
That's a big project, it takes about 30 mins compile by "make -j4" on Ubuntu.
Compare to Ubuntu, Arch take more 20 mins compile time!
The only different thing is Arch installed in SSD (project code too), Ubuntu in traditional disk.
Due to the project can't compile with 64bit system, Arch and Ubuntu all is 32bit OS.
The Arch already installed PAE kernel from AUR.
Anyone can help? Thanks in advance and sorry for my bad English.
Offline
Are you compiling using the same processor? Are you doing anything else at the same time apart from compiling on this computer?
On Arch, are you compiling using 'make -j4' or are you using makepkg and a PKGBUILD?
Offline
Moved to Pacman and Package Upgrade Issues
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
And what build flags are you using (specifically optimizations):
Online
Are you compiling using the same processor? Are you doing anything else at the same time apart from compiling on this computer?
On Arch, are you compiling using 'make -j4' or are you using makepkg and a PKGBUILD?
I'm quit sure using 'make -j4' both on Ubuntu and Arch, and of course the same computer.
I'm not using makepkg because we don't support yet currently .
I've tried several times to compare build time, not occasionally.
The project's build system is CMake, I don't think cmake is the problem.
Offline
Try the vanilla kernel without PAE and see if it is faster, then optimize the PAE PKGBUILD.
Offline
I would speculate that the -j4 isn't taking effect.
How does "-j1" compare to "-j4", especially in your Arch?
Offline
Try the vanilla kernel without PAE and see if it is faster, then optimize the PAE PKGBUILD.
Without PAE, it take about 10 mins less than PAE kernel. But still a bit slow.
Anyway, how to optimize the PAE PKGBUILD?
I tried to change makepkg.conf FLAGS -march=i686 to -march=native, but nothing change.
Offline
You should have a look at the Ubuntu patches applied at the kernel, maybe some of them are responsible for boosting PAE. You should also try the same scenario with another distribution (Fedora for example) to see, if Arch is especially slow or Ubuntu fast. Also compare the patches applied to the compiler.
Offline
You should have a look at the Ubuntu patches applied at the kernel, maybe some of them are responsible for boosting PAE. You should also try the same scenario with another distribution (Fedora for example) to see, if Arch is especially slow or Ubuntu fast. Also compare the patches applied to the compiler.
Thanks, I'll try tomorrow
Offline