LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


View Poll Results: What CPU are you using to build LFS?
Intel Celeron 4 30.77%
Intel i3 5 38.46%
Intel i5 3 23.08%
Intel i7 1 7.69%
Voters: 13. You may not vote on this poll

Reply
  Search this Thread
Old 07-24-2018, 11:23 AM   #1
Michele13
LQ Newbie
 
Registered: May 2018
Distribution: Debian Jessie 8.10 (x86_64)
Posts: 26

Rep: Reputation: 0
What CPU are you using and what is your SBU?


My CPU is a Intel Celeron N2840 with 4GB of RAM. My SBU (the time used to compile and install binutils) is

real 6m17.613s
user 4m40.960s
sys 0m33.888s

What's yours? I'm curious to know the SBU of a Intel i3-7100u or other i3 systems with low power consumption in mind. I'm thinking to buy a Intel NUC and to SSH into it to build LFS
 
Old 07-24-2018, 11:57 AM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,682
Blog Entries: 19

Rep: Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492
None of the above. Mine's an Intel Core Duo with 2 GB ram and my SBU is about 6.5 minutes.
 
Old 07-25-2018, 02:28 AM   #3
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
None... AMD FX-8350 overclocked to 4.4 GHz.

I get about 1.23 minutes per 1 SBU on "make -j9". Apparently asynchronous threading work really well for building packages.
 
Old 07-25-2018, 02:51 AM   #4
RoLoR
Member
 
Registered: Feb 2018
Posts: 60

Rep: Reputation: Disabled
Intel atom 330; 15 minutes on gcc version 5 extends to 19 minutes on gcc version 7

Also using an intel i3 but haven’t measured that yet, will edit to add time
 
Old 07-26-2018, 08:11 AM   #5
jr_bob_dobbs
Member
 
Registered: Mar 2009
Distribution: Bedrock, Devuan, Slackware, Linux From Scratch, Void
Posts: 654
Blog Entries: 136

Rep: Reputation: 189Reputation: 189
I never paid attention to what CPU I had until this thread. lol?

Screenfetch reports "Intel Core i5-4200M @ 4x 3.1GHz [59.0*C]"

I built this BLFS system back in christmas of 2017 so I forget the exact SBU, though I *think* it may have been twenty minutes.
 
Old 07-26-2018, 02:34 PM   #6
Michele13
LQ Newbie
 
Registered: May 2018
Distribution: Debian Jessie 8.10 (x86_64)
Posts: 26

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jr_bob_dobbs View Post
I never paid attention to what CPU I had until this thread. lol?

Screenfetch reports "Intel Core i5-4200M @ 4x 3.1GHz [59.0*C]"

I built this BLFS system back in christmas of 2017 so I forget the exact SBU, though I *think* it may have been twenty minutes.
That is pretty unlikely, as my 10 years old celeron built binutils in 7 minutes, your CPU can't in any way be worse then mine
 
Old 07-26-2018, 05:50 PM   #7
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,396

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
My CPU is a Intel Celeron N2840 with 4GB of RAM also, about 8 minutes
 
Old 07-27-2018, 12:53 PM   #8
Cigarman
LQ Newbie
 
Registered: Apr 2008
Posts: 29

Rep: Reputation: 1
iMac, Late 2012
Parralles VM configured 2 processors, 4g mem.

CPU: 3.4 GHz Intel Core i7

Compiling binutil, SBU=1

make: 1min 54sec
make -j9: 1min 8 secs
 
Old 07-29-2018, 06:01 AM   #9
Michele13
LQ Newbie
 
Registered: May 2018
Distribution: Debian Jessie 8.10 (x86_64)
Posts: 26

Original Poster
Rep: Reputation: 0
Lightbulb

I know this is a completely different architecture but I have measured the SBU of a Raspberry Pi Zero W and these are the results.

Cpu Info
Code:
processor       : 0
model name      : ARMv6-compatible processor rev 7 (v6l)
BogoMIPS        : 997.08
Features        : half thumb fastmult vfp edsp java tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xb76
CPU revision    : 7

Hardware        : BCM2835
Revision        : 9000c1
Serial          : 0000000024e61fdc
Free Memory
Code:
total        used        free      shared  buff/cache   available
Mem:            433         138          56          30         238         210
Swap:           499         117         382
SBU
Code:
real    58m51,823s
user    37m15,509s
sys     4m23,976s
 
Old 07-29-2018, 06:22 AM   #10
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,682
Blog Entries: 19

Rep: Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492
Wow! You must have the patience of a saint. My first LFS was built on a 32-bit machine with 512 MB and it seemed to take forever. I can't remember the SBU but it must have been about 20 minutes, which is a lot less than yours.
 
Old 07-29-2018, 08:04 AM   #11
Michele13
LQ Newbie
 
Registered: May 2018
Distribution: Debian Jessie 8.10 (x86_64)
Posts: 26

Original Poster
Rep: Reputation: 0
Just SSH into the Rpi, start a tmux session, start compiling, go for a walk and you'll be fine
Let's just hope it doesn't explode for the workload
It should take about 1 day and 12 hours to compile the temporary tools. I wonder how much would it take to compile Binutils on a Raspberry Pi 3
 
Old 07-29-2018, 08:40 PM   #12
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,384
Blog Entries: 28

Rep: Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164
Code:
$ uname -a
Linux orca 4.4.144 #2 SMP Thu Jul 26 12:45:38 CDT 2018 x86_64 Intel(R) Core(TM) i3-4160 CPU @ 3.60GHz GenuineIntel GNU/Linux
 
Old 07-30-2018, 09:38 AM   #13
Michele13
LQ Newbie
 
Registered: May 2018
Distribution: Debian Jessie 8.10 (x86_64)
Posts: 26

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by frankbell View Post
Code:
$ uname -a
Linux orca 4.4.144 #2 SMP Thu Jul 26 12:45:38 CDT 2018 x86_64 Intel(R) Core(TM) i3-4160 CPU @ 3.60GHz GenuineIntel GNU/Linux
What is your SBU?
 
Old 07-30-2018, 10:30 PM   #14
jr_bob_dobbs
Member
 
Registered: Mar 2009
Distribution: Bedrock, Devuan, Slackware, Linux From Scratch, Void
Posts: 654
Blog Entries: 136

Rep: Reputation: 189Reputation: 189
Quote:
Originally Posted by Michele13 View Post
What is your SBU?
I don't think he runs LFS.
 
Old 08-01-2018, 05:51 AM   #15
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,302
Blog Entries: 61

Rep: Reputation: Disabled
Not got round to doing LFS yet, but out of curiosity tried timing a build (no install) of binutils.
Code:
brian@slackdesk2:~/temp/binutils-2.26$ uname -a
Linux slackdesk2 4.4.144 #1 SMP Thu Jul 26 12:26:39 CDT 2018 x86_64 Intel(R) Xeon(R) CPU E5-1650 0 @ 3.20GHz GenuineIntel GNU/Linux
brian@slackdesk2:~/temp/binutils-2.26$ ./configure
brian@slackdesk2:~/temp/binutils-2.26$ time make
...
...
real    2m37.062s
user    1m49.011s
sys     0m16.538s
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get physical CPU count, cores per CPU, and CPU type on RHEL and CentOS anon091 Linux - Server 7 01-08-2015 10:57 AM
[SOLVED] High CPU load, but low CPU usage (high idle CPU) baffy Linux - Newbie 5 03-13-2013 09:24 AM
[SOLVED] time command gives error for SBU in Binutils na5m Linux From Scratch 9 08-02-2010 02:41 PM
Cpu fan stuck to the cpu, how do I get the cpu out? abefroman Linux - Hardware 16 09-04-2009 12:47 AM
my sbu alaios Linux From Scratch 7 05-12-2004 08:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 04:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration