LinuxQuestions.org
Visit Jeremy's Blog.
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 04-17-2013, 12:17 AM   #16
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,838

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308

Quote:
Originally Posted by DeeGee View Post
I'm a bit confused on how to use tmpfs on RAM. What would be a suitable material to refer?
tmpfs will use by default your ram. you do not need to specify it.
https://en.wikipedia.org/wiki/Tmpfs

to -j <number>:
there is no general rule, it always depends on the "other" softwares running on the host and also depends on the speed of the hardware (not only CPU, but i/o speed).
One single task will not be able to use the full power of the system, because there are i/o wait time and probably other issues. Running several tasks will allow the cpu to work continuously, without waiting for i/o or other things. One task is always the kernel, you need to take into account all the daemons and background processes (not to speak about X and the terminals...)
giving lower value (to -j) will cause idle times, giving (a bit) higher values (as the optimal) will not slow down the build process.
 
1 members found this post helpful.
Old 05-10-2013, 05:13 PM   #17
fluffybunnyuk
LQ Newbie
 
Registered: May 2013
Distribution: Hardened Cross LFS
Posts: 15

Rep: Reputation: 0
the other thing to bear in mind is sometimes more than make -j1 can ruin the compile (rare but does happen) and sometimes setting j greater than number of processors can influence the build (cache full) see gcc documentation about this. i use -j12 (8 cores) with gcc on a extremely profiledbootstrap.

If you want to squeeze every last drop out you can profile every package build (i usually run 40 or 50 automated makes till i find the one i want :-D

Good Luck!!!

Emma
 
  


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
LXer: Nvidia and ARM: It's a parallel, parallel, parallel world LXer Syndicated Linux News 0 03-21-2013 06:10 PM
[SOLVED] Slackware parallel make (make -j?) question. Daedra Slackware 4 02-19-2012 08:14 PM
Gnu make parallel problem Andrew Benton Programming 7 11-28-2010 09:56 AM
New Laptop Advice? Pentium-M, Brand/Make, Widescreen etc HaloinaHaystack Linux - Laptop and Netbook 10 10-28-2004 05:34 PM
How to make a parallel repository (e.g. with CVS) esben Linux - Software 0 01-18-2004 11:33 AM

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

All times are GMT -5. The time now is 08:54 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