Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Is there any speed difference with gentoo?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
snowsquirrel
n00b
n00b


Joined: 02 Jul 2002
Posts: 41
Location: Lunenburg, NS, Canada

PostPosted: Sat Jul 31, 2004 7:58 pm    Post subject: Is there any speed difference with gentoo? Reply with quote

I have used gentoo on an x86 machine before and there was a noticeable speed difference. There are many variations of x86 cpu's thus the optimizations are beneficial.

But I am guessing that most sparc distro compiles with -mcpu=ultrasparc -O2 which as what I am using with gentoo.

Comments?
Back to top
View user's profile Send private message
bung-foo
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jun 2002
Posts: 146

PostPosted: Sun Aug 01, 2004 5:21 pm    Post subject: Reply with quote

I actually use -Os rather then -O2 because I find that the sparc processors are plenty fast but the disc system in the ultra80 is old slow scsi--40mbs.

This is from the gcc manual:
-Os
Optimize for size. -Os enables all -O2 optimizations that do not typically increase code size. It also performs further optimizations designed to reduce code size.

-Os disables the following optimization flags:

-falign-functions -falign-jumps -falign-loops
-falign-labels -freorder-blocks -fprefetch-loop-arrays

Abe
Back to top
View user's profile Send private message
snowsquirrel
n00b
n00b


Joined: 02 Jul 2002
Posts: 41
Location: Lunenburg, NS, Canada

PostPosted: Sun Aug 01, 2004 5:45 pm    Post subject: Reply with quote

Interesting. For biggies like Mozilla, Qt Designer/Assistant, Eclipse, etc, that could equal much better startup times.

Thanks for insight. Can I do an export CFLAGS='-Os -pipe -march=utlrasparc' before doing an emerge, or do I actually have to change it in the make.conf?

Thanks
Back to top
View user's profile Send private message
bung-foo
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jun 2002
Posts: 146

PostPosted: Sun Aug 01, 2004 6:00 pm    Post subject: Reply with quote

Not sure. I just set it in make.conf


Abe
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum