LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   What CPU are you using and what is your SBU? (https://www.linuxquestions.org/questions/linux-from-scratch-13/what-cpu-are-you-using-and-what-is-your-sbu-4175634812/)

Michele13 07-24-2018 11:23 AM

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

hazel 07-24-2018 11:57 AM

None of the above. Mine's an Intel Core Duo with 2 GB ram and my SBU is about 6.5 minutes.

ReaperX7 07-25-2018 02:28 AM

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.

RoLoR 07-25-2018 02:51 AM

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

jr_bob_dobbs 07-26-2018 08:11 AM

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.

Michele13 07-26-2018 02:34 PM

Quote:

Originally Posted by jr_bob_dobbs (Post 5884042)
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 :redface:

colorpurple21859 07-26-2018 05:50 PM

My CPU is a Intel Celeron N2840 with 4GB of RAM also, about 8 minutes

Cigarman 07-27-2018 12:53 PM

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

Michele13 07-29-2018 06:01 AM

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


hazel 07-29-2018 06:22 AM

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.

Michele13 07-29-2018 08:04 AM

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 :D
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 :study:

frankbell 07-29-2018 08:40 PM

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


Michele13 07-30-2018 09:38 AM

Quote:

Originally Posted by frankbell (Post 5885377)
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?

jr_bob_dobbs 07-30-2018 10:30 PM

Quote:

Originally Posted by Michele13 (Post 5885606)
What is your SBU?

I don't think he runs LFS.

brianL 08-01-2018 05:51 AM

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



All times are GMT -5. The time now is 03:05 PM.