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


Reply
  Search this Thread
Old 02-28-2018, 10:41 PM   #1
whjeon
Member
 
Registered: Feb 2018
Location: Seoul,South Korea
Distribution: Debian
Posts: 88

Rep: Reputation: Disabled
Is there any integrated page to compare SBUs for each CPUs?


I will buy a new CPU and want to find out how much the new CPU will improve compile speed.

So I'm looking for any DBs for SBUs of each CPUs.
Is there any?

Or should I make one to use?
 
Old 02-28-2018, 11:05 PM   #2
Mill J
Senior Member
 
Registered: Feb 2017
Location: @127.0.0.1
Distribution: Mint, Void, MX, Haiku, PMOS, Plasma Mobile, and many others
Posts: 1,258
Blog Entries: 2

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
I've never heard of something like that. It sounds like a great project.
The only problem I see is that there is such a great variance between different distros, For example if you dual booted a bloated distro and a finely tuned minimal distro, you're going to get two different SBU.

To overcome this you'd have to implement some average features of some sort.
 
Old 03-01-2018, 12:47 AM   #3
whjeon
Member
 
Registered: Feb 2018
Location: Seoul,South Korea
Distribution: Debian
Posts: 88

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Mill J View Post
I've never heard of something like that. It sounds like a great project.
The only problem I see is that there is such a great variance between different distros, For example if you dual booted a bloated distro and a finely tuned minimal distro, you're going to get two different SBU.

To overcome this you'd have to implement some average features of some sort.
If you also think this is a good idea, then how can I open more broad conversations?
 
Old 03-01-2018, 07:48 AM   #4
Mill J
Senior Member
 
Registered: Feb 2017
Location: @127.0.0.1
Distribution: Mint, Void, MX, Haiku, PMOS, Plasma Mobile, and many others
Posts: 1,258
Blog Entries: 2

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
Quote:
Originally Posted by whjeon View Post
If you also think this is a good idea, then how can I open more broad conversations?
Well I think this is the right place, there's quite a few LFS users (including me ) on LQ. My guess it'll take some time before everybody sees this thread.

Good Luck!
 
Old 03-01-2018, 09:12 AM   #5
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by whjeon View Post
I will buy a new CPU and want to find out how much the new CPU will improve compile speed.

So I'm looking for any DBs for SBUs of each CPUs.
Is there any?

Or should I make one to use?
I've done this in the google search bar, say something like
Code:
M3-6Y30 vs 2760qm
gets this
http://cpu.userbenchmark.com/Compare...M/m38171vsm949
and intel has a comparision on their page for their cpu's
https://www.intel.com/content/www/us...sors/core.html

but for compile time that is too selective and a lot of variables that no one could know about to make such a deceive comparison.
 
Old 03-01-2018, 09:23 AM   #6
anak_bawang
Member
 
Registered: Jun 2015
Location: Bandung Indonesia
Distribution: Debian, LFS/BLFS
Posts: 138

Rep: Reputation: 23
Quote:
Originally Posted by whjeon View Post
So I'm looking for any DBs for SBUs of each CPUs.
Is there any?
Probably there is not any.

Quote:
Originally Posted by whjeon View Post
Or should I make one to use?
I don't think it is a good idea. So many processor type.
Probably using same CPU, but different host would cause different result.

Quote:
Originally Posted by whjeon View Post
I will buy a new CPU and want to find out how much the new CPU will improve compile speed.
You should use same host distro (with same packages installed) for each CPU to make it sound fair.

Maybe all LFS user could post their SBU time (with their built environment information; CPU Type, Host, etc).
And then we need volunteer to collect all informations to create the database.
 
Old 03-01-2018, 10:59 AM   #7
plasmonics
Member
 
Registered: Jan 2009
Distribution: Fedora, Gentoo, LFS
Posts: 224

Rep: Reputation: 69
There are too many hardware configurations for this to be practical. It depends on the MB, socket type, CPU type, memory speed, DDR4 vs DDR3, overclocking, spin drive vs SSD vs M2, the background daemons, etc.

Even the SBU as defined in the book is somewhat elastic. They define 1 SBU as the time taken to compile binutils as per chapter 5 - Pass 1. In chapter 6, binutils is supposed to take 6 SBU. For me, it took 3.2 SBU.

On my desktop, 1 SBU has a wall clock time of 22s. This is an i7-7700k with 3000 GHz DDR4 with XMP on and a Mushkin SSD.

On my laptop, the wall clock is so long it is not even worth recording.
 
Old 03-11-2018, 10:08 PM   #8
whjeon
Member
 
Registered: Feb 2018
Location: Seoul,South Korea
Distribution: Debian
Posts: 88

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by plasmonics View Post
There are too many hardware configurations for this to be practical. It depends on the MB, socket type, CPU type, memory speed, DDR4 vs DDR3, overclocking, spin drive vs SSD vs M2, the background daemons, etc.

Even the SBU as defined in the book is somewhat elastic. They define 1 SBU as the time taken to compile binutils as per chapter 5 - Pass 1. In chapter 6, binutils is supposed to take 6 SBU. For me, it took 3.2 SBU.

On my desktop, 1 SBU has a wall clock time of 22s. This is an i7-7700k with 3000 GHz DDR4 with XMP on and a Mushkin SSD.

On my laptop, the wall clock is so long it is not even worth recording.
Dear, My Mentor

I also experienced what you said, such as different from what SBU expected.
But I mean it could act like a rough indicator to build LFS to NEWBIE.
Just an indicator, not something precisely correct with every package building process.

For example, if I'm first trying to build LFS, and don't even know how much it will take, I'll be exhausted.
(Can't expect anything and just walk for first SBU package, which is now Binutils - 1 pass, and record the time.
How about it turns out too long for him to go through, someone expected "OK, I hope it'll take 10~20 minutes, than I'll go through.
But turns out it took 39min. He will so much disappointed and reboot to some fancy GUI installer.)

How about just simple Database.

[Needed information] CPU model / Host distribution / Ram type and speed / root on SSD or HDD or others
[Expected information] MB / Daemons / Overclocked or not
[More Information] User input.
 
Old 03-12-2018, 06:44 AM   #9
plasmonics
Member
 
Registered: Jan 2009
Distribution: Fedora, Gentoo, LFS
Posts: 224

Rep: Reputation: 69
Quote:
Originally Posted by whjeon View Post
For example, if I'm first trying to build LFS, and don't even know how much it will take, I'll be exhausted.
(Can't expect anything and just walk for first SBU package, which is now Binutils - 1 pass, and record the time.
How about it turns out too long for him to go through, someone expected "OK, I hope it'll take 10~20 minutes, than I'll go through.
But turns out it took 39min. He will so much disappointed and reboot to some fancy GUI installer.)
Well, you can always calculate the wall clock time for 1 SBU and then add up the total SBU for all the chapters to get a final estimate. But this is just a best case scenario.

For me, this would still not be an accurate guide for how long it took me to build LFS. My LFS build did not boot first time. I spent more time than the sum of all SBUs in the book to troubleshoot the problem.

I you read this forum, you will see a lot of OPs troubleshooting errors which take up more time than a sum of SBUs would represent.
 
Old 03-12-2018, 10:26 AM   #10
whjeon
Member
 
Registered: Feb 2018
Location: Seoul,South Korea
Distribution: Debian
Posts: 88

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by plasmonics View Post
Well, you can always calculate the wall clock time for 1 SBU and then add up the total SBU for all the chapters to get a final estimate. But this is just a best case scenario.

For me, this would still not be an accurate guide for how long it took me to build LFS. My LFS build did not boot first time. I spent more time than the sum of all SBUs in the book to troubleshoot the problem.

I you read this forum, you will see a lot of OPs troubleshooting errors which take up more time than a sum of SBUs would represent.
OK I got it.
So I'll abandon that idea !
Thanks for your suggestion!
 
  


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
Sun Quad Fast Ethernet (Sbus) and DHCP zerg4141 Linux - Networking 9 03-28-2016 10:49 PM
[SOLVED] How to compare GPUs & CPUs on modern tablets business_kid Linux - Mobile 7 03-17-2015 05:33 AM
[SOLVED] How to compare a list of files in two directories: compare content and print size Batistuta_g_2000 Linux - Newbie 9 03-24-2013 07:05 AM
[SOLVED] No VGA port on motherboards supporting cpus with integrated graphics Skyer Linux - Hardware 2 08-11-2011 08:29 AM
Which is the Best in LVM, Integrated Mirror or Integrated Stripping? RMLinux Linux - Newbie 3 12-04-2008 01:00 AM

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

All times are GMT -5. The time now is 05:49 AM.

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