I was just wondering if there are special tricks people do that compile A LOT on centos? Do RAM disks help or something else I dont about that minimizes your compile time? I presently have and AMD x2 4800+ with 2GIG ram.
Just curious if I can reduce any more time out of my compiles.
Jerry
On Thu, 29 Nov 2007 16:36:39 -0500 Jerry Geis geisj@pagestation.com wrote:
I was just wondering if there are special tricks people do that compile A LOT on centos? Do RAM disks help or something else I dont about that minimizes your compile time? I presently have and AMD x2 4800+ with 2GIG ram.
yum install ccache
Frank Cox wrote:
On Thu, 29 Nov 2007 16:36:39 -0500 Jerry Geis geisj@pagestation.com wrote:
I was just wondering if there are special tricks people do that compile A LOT on centos? Do RAM disks help or something else I dont about that minimizes your compile time? I presently have and AMD x2 4800+ with 2GIG ram.
yum install ccache
Frank - HEY that is fantastic.... Dropped complete compile from 27 seconds to 14.
I was not aware of this...
Jerry
On Thu, 29 Nov 2007 20:26:21 -0500 Jerry Geis geisj@pagestation.com wrote:
Frank - HEY that is fantastic.... Dropped complete compile from 27 seconds to 14.
I was not aware of this...
Oddly enough, a lot of people don't seem to be aware of it. I think it's right up there with sliced bread and beer in bottles, myself. I have no idea why it doesn't seem to have the mind-share that it richly deserves.
ccache does not appear to be part of the centos base or core or whatever you wanna call it
I see that karan and dag have it in their space
Is there any downside to installing ccache?
If so, in what terms?
How about on an internet facing box?
- rh
On Thu, 29 Nov 2007 18:25:47 -0800 Robert - elists lists07@abbacomm.net wrote:
ccache does not appear to be part of the centos base or core or whatever you wanna call it
I think it's just too new and shiny. ccache is installed by default with Fedora 8.
Is there any downside to installing ccache?
None that I've noticed myself. It can eat up a fair bit of hard drive space, but you can set that for whatever you want and in the age of big hard drives that's not a terribly significant issue.
How about on an internet facing box?
I can't see how it would introduce any vulnerabilities that a c compiler doesn't introduce on its own. But I'm not a security expert either, so what I do I know....
I think it's just too new and shiny. ccache is installed by default with Fedora 8.
Wow, fedora 8?
Where have I been?
Sheesh, most of us are still dealing with considering centos 5 migrations from rock solid centos 4 "as necessary" eh?
Isn't this fedora thing getting a little bit "cat outta the bag" or has there been a consensus of how many passing fedora's will make up a new "upstream release number?"
Anyone care to share?
- rh
On Thu, 2007-11-29 at 19:01 -0800, Robert - elists wrote:
I think it's just too new and shiny. ccache is installed by default with Fedora 8.
Wow, fedora 8?
Where have I been?
Sheesh, most of us are still dealing with considering centos 5 migrations from rock solid centos 4 "as necessary" eh?
Isn't this fedora thing getting a little bit "cat outta the bag" or has there been a consensus of how many passing fedora's will make up a new "upstream release number?"
Anyone care to share?
- rh
RH has shared already.
Fedora is released on an ~6 month cycle [1]. RHEL is released on an 18/24 month cycle [2].
18/6=3 and 24/6=4
EL5 branched off from FC6 during the testing stage, so EL6 should presumably be derived from Fedora 9 or 10.
For more info google:
fedora enterprise site:redhat.com
Phil
[1] http://www.redhat.com/magazine/019may06/features/fedora_rhel_1/ [2] http://www.redhat.com/magazine/022aug06/features/fedora_rhel_4/
RH has shared already.
Fedora is released on an ~6 month cycle [1]. RHEL is released on an 18/24 month cycle [2].
18/6=3 and 24/6=4
EL5 branched off from FC6 during the testing stage, so EL6 should presumably be derived from Fedora 9 or 10.
For more info google:
fedora enterprise site:redhat.com
Phil
[1] http://www.redhat.com/magazine/019may06/features/fedora_rhel_1/ [2] http://www.redhat.com/magazine/022aug06/features/fedora_rhel_4/
Phil
I guess some of us people in the trenches need to get out a bit more into the bleeding edge documentations eh?
Of course I knew the fuzzy general basics of all this yet I suppose I needed a solid reminder...
And I thank you for that. Good lookin' out.
CentOS is so rock solid that our installs have been running since CentOS first came on the scene, was tested, and immediately provisioned and implemented.
Good thing we are essentially done scrambling (read working like intelligent chicken with head cut off) for the 2007 year and now it is just time for cleanup & getting organized to bed this year and birth a new one.
Cheers everyone, and remember, Jesus is the reason for everything.
- rh
On Fri, Nov 30, 2007 at 09:39:01AM -0800, Robert - elists alleged:
Cheers everyone, and remember, Jesus is the reason for everything.
Huh?
Please keep the preaching out of a secular maillist. Thanks.
Garrick moaned:
Please keep the preaching out of a secular maillist. Thanks.
Oh sorry Garrick.... my bad...
Did they ban Jesus or His Name at USC or other supposed institutions higher education and learning?
Should I put it in a .signature instead? Is that protocol?
- rh
On Fri, Nov 30, 2007 at 11:58:51AM -0800, Robert - elists alleged:
Garrick moaned:
Please keep the preaching out of a secular maillist. Thanks.
Oh sorry Garrick.... my bad...
Apology accepted!
Did they ban Jesus or His Name at USC or other supposed institutions higher education and learning?
Not that I'm aware of. There is a church on the USC campus. But I don't speak for USC and nor does USC speak for me, so I don't know why this would be important.
Should I put it in a .signature instead? Is that protocol?
How about we just stay on-topic? CentOS and Linux stuff, ok?
On Nov 29, 2007 10:36 PM, Jerry Geis geisj@pagestation.com wrote:
I was just wondering if there are special tricks people do that compile A LOT on centos? Do RAM disks help or something else I dont about that minimizes your compile time? I presently have and AMD x2 4800+ with 2GIG ram.
# make -j <N> to compile in //
Just curious if I can reduce any more time out of my compiles.
Jerry
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Jerry, --- Jerry Geis geisj@pagestation.com wrote:
I was just wondering if there are special tricks people do that compile A LOT on centos? Do RAM disks help or something else I dont about that minimizes your compile time? I presently have and AMD x2 4800+ with 2GIG ram.
Just curious if I can reduce any more time out of my compiles.
Watch out for background processes that steal resources: Move /etc/cron.daily/ mlocate prelink to /etc/cron.weekly
Remove /etc/cron.daily/makewhatis and let it only run weekly (its already in weekly)
Open /etc/updatedb and tune it for your system: add ntfs-3g or vfat to prunefs
If you have any mock partitions, add that to prunepath