Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kernel compile time on Ultra 60
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
DannyZeng
n00b
n00b


Joined: 10 Jun 2005
Posts: 2

PostPosted: Mon Jun 13, 2005 7:05 am    Post subject: kernel compile time on Ultra 60 Reply with quote

I just installed gentoo on a Ultra 60 with
2x 450MHz TI Ultra Sparc II CPU
1.1GB RAM
2x 9G SCSI hard drive

I found this machine takes quite some time to build a kernel.

I merged sparc-sources and used default config. Please help to check my result below.



# ls -l linux
lrwxrwxrwx 1 root root 18 Jun 13 12:00 linux -> linux-2.4.30-sparc

# cat /etc/make.conf
Code:
SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage"
MAKEOPTS="-j4"
CFLAGS="-O2 -mcpu=ultrasparc -pipe"
CXXFLAGS="-O2 -mcpu=ultrasparc -pipe"
CHOST="sparc-unknown-linux-gnu"
USE="cjk nls"


#time make clean vmlinux image modules modules_install
...
...
real 56m11.640s
user 54m18.270s
sys 2m21.960s


using
MAKEOPTS="-j3"
#time make clean vmlinux image modules modules_install
...
...
real 55m52.902s
user 54m16.710s
sys 2m4.630s
Back to top
View user's profile Send private message
Ferris
Retired Dev
Retired Dev


Joined: 13 Jan 2003
Posts: 426
Location: N. Virginia (USA)

PostPosted: Mon Jun 13, 2005 12:05 pm    Post subject: Reply with quote

I am not sure off hand if parallel make is a good idea with kernel-2.4.xx (it's fine for 2.6.xx, but on your system, 2.6.xx is unlikely to be a success). If you want to try it, though, you have to do it yourself, because to build the kernel, you use make directly; portage doesn't set anything up for you. So, you can try
Code:

make -j2 .....


As I say, I have heard that parallel make for 2.4 kernels is unlikely to work, but no harm in trying. (And for the kernel, anything more than -j2 will slow you down, I think.)

Regards,
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